Index: modules/screen_orientation/ScreenScreenOrientation.idl |
diff --git a/core/animation/AnimationEffect.idl b/modules/screen_orientation/ScreenScreenOrientation.idl |
similarity index 54% |
copy from core/animation/AnimationEffect.idl |
copy to modules/screen_orientation/ScreenScreenOrientation.idl |
index f5dc6ce2f5788ac2b080b806ce9f3afba8188b3f..2905343b8eb2fe3ae71e86e6da27057d495929a7 100644 |
--- a/core/animation/AnimationEffect.idl |
+++ b/modules/screen_orientation/ScreenScreenOrientation.idl |
@@ -3,8 +3,7 @@ |
// found in the LICENSE file. |
[ |
- RuntimeEnabled=WebAnimationsAPI, |
- NoInterfaceObject, |
- WillBeGarbageCollected |
-] interface AnimationEffect { |
+ RuntimeEnabled=ScreenOrientation |
+] partial interface Screen { |
+ [CallWith=ScriptState] readonly attribute ScreenOrientation orientation; |
}; |