Index: modules/device_orientation/WindowDeviceOrientation.idl |
diff --git a/core/animation/DocumentAnimation.idl b/modules/device_orientation/WindowDeviceOrientation.idl |
similarity index 58% |
copy from core/animation/DocumentAnimation.idl |
copy to modules/device_orientation/WindowDeviceOrientation.idl |
index 2bfb6a74b00d388c5f585b10f2d56950155c2458..8a7d18a9dfdfba7cb1b40c5136278f001cae7cd5 100644 |
--- a/core/animation/DocumentAnimation.idl |
+++ b/modules/device_orientation/WindowDeviceOrientation.idl |
@@ -3,7 +3,7 @@ |
// found in the LICENSE file. |
[ |
- RuntimeEnabled=WebAnimationsAPI, |
-] partial interface Document { |
- readonly attribute Timeline timeline; |
+ ImplementedAs=DOMWindowDeviceOrientation |
+] partial interface Window { |
+ attribute EventHandler ondeviceorientation; |
}; |