Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1224)

Unified Diff: Source/modules/device_light/DeviceLightEvent.idl

Issue 143823004: Implement DeviceLight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase after r172146 Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698