Index: Source/modules/device_light/DeviceLightEvent.idl |
diff --git a/Source/core/animation/DocumentAnimation.idl b/Source/modules/device_light/DeviceLightEvent.idl |
similarity index 51% |
copy from Source/core/animation/DocumentAnimation.idl |
copy to Source/modules/device_light/DeviceLightEvent.idl |
index 2bfb6a74b00d388c5f585b10f2d56950155c2458..51d7d194b5df3e068a82f2d72e8e0339f52191f9 100644 |
--- a/Source/core/animation/DocumentAnimation.idl |
+++ b/Source/modules/device_light/DeviceLightEvent.idl |
@@ -3,7 +3,8 @@ |
// found in the LICENSE file. |
[ |
- RuntimeEnabled=WebAnimationsAPI, |
-] partial interface Document { |
- readonly attribute Timeline timeline; |
+ RuntimeEnabled=DeviceLight, |
+ EventConstructor |
+] interface DeviceLightEvent : Event { |
+ [InitializedByEventConstructor] readonly attribute double value; |
}; |