Changeset 286643 in webkit
- Timestamp:
- Dec 7, 2021, 10:34:20 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Modules/model-element/HTMLModelElement.idl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r286642 r286643 1 2021-12-07 Antoine Quint <graouts@webkit.org> 2 3 [Model] Only expose APIs on the IDL interface when the feature is enabled 4 https://bugs.webkit.org/show_bug.cgi?id=233942 5 6 Reviewed by Dean Jackson. 7 8 * Modules/model-element/HTMLModelElement.idl: 9 1 10 2021-12-07 Antoine Quint <graouts@webkit.org> 2 11 -
trunk/Source/WebCore/Modules/model-element/HTMLModelElement.idl
r286317 r286643 35 35 undefined enterFullscreen(); 36 36 37 Promise<HTMLModelElementCamera> getCamera();38 Promise<undefined> setCamera(HTMLModelElementCamera camera);37 [Conditional=ARKIT_INLINE_PREVIEW_CAMERA_TRANSFORM] Promise<HTMLModelElementCamera> getCamera(); 38 [Conditional=ARKIT_INLINE_PREVIEW_CAMERA_TRANSFORM] Promise<undefined> setCamera(HTMLModelElementCamera camera); 39 39 40 Promise<boolean> isPlayingAnimation();41 Promise<undefined> playAnimation();42 Promise<undefined> pauseAnimation();40 [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<boolean> isPlayingAnimation(); 41 [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<undefined> playAnimation(); 42 [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<undefined> pauseAnimation(); 43 43 44 Promise<boolean> isLoopingAnimation();45 Promise<undefined> setIsLoopingAnimation(boolean looping);44 [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<boolean> isLoopingAnimation(); 45 [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<undefined> setIsLoopingAnimation(boolean looping); 46 46 47 Promise<double> animationDuration();48 Promise<double> animationCurrentTime();49 Promise<undefined> setAnimationCurrentTime(double currentTime);47 [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<double> animationDuration(); 48 [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<double> animationCurrentTime(); 49 [Conditional=ARKIT_INLINE_PREVIEW_ANIMATIONS_CONTROL] Promise<undefined> setAnimationCurrentTime(double currentTime); 50 50 51 Promise<boolean> hasAudio();52 Promise<boolean> isMuted();53 Promise<undefined> setIsMuted(boolean isMuted);51 [Conditional=ARKIT_INLINE_PREVIEW_AUDIO_CONTROL] Promise<boolean> hasAudio(); 52 [Conditional=ARKIT_INLINE_PREVIEW_AUDIO_CONTROL] Promise<boolean> isMuted(); 53 [Conditional=ARKIT_INLINE_PREVIEW_AUDIO_CONTROL] Promise<undefined> setIsMuted(boolean isMuted); 54 54 };
Note:
See TracChangeset
for help on using the changeset viewer.