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

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

Issue 143823004: Implement DeviceLight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix webruntimefeatures Created 6 years, 9 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/WindowDeviceLight.idl
diff --git a/Source/modules/device_orientation/WindowDeviceMotion.idl b/Source/modules/device_light/WindowDeviceLight.idl
similarity index 62%
copy from Source/modules/device_orientation/WindowDeviceMotion.idl
copy to Source/modules/device_light/WindowDeviceLight.idl
index 163f2be9f4a411dd78f409ce8d6609516a6efcab..e886072b80c1098970a2e78fa4b5f2050e69a0b1 100644
--- a/Source/modules/device_orientation/WindowDeviceMotion.idl
+++ b/Source/modules/device_light/WindowDeviceLight.idl
@@ -3,8 +3,8 @@
// found in the LICENSE file.
[
- RuntimeEnabled=DeviceMotion,
- ImplementedAs=DOMWindowDeviceMotion
+ RuntimeEnabled=DeviceLight,
+ ImplementedAs=DOMWindowDeviceLight
] partial interface Window {
- attribute EventHandler ondevicemotion;
-};
+ attribute EventHandler ondevicelight;
+}

Powered by Google App Engine
This is Rietveld 408576698