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

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: Rebase after r172920 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/WindowDeviceLight.idl
diff --git a/Source/modules/device_orientation/WindowDeviceMotion.idl b/Source/modules/device_light/WindowDeviceLight.idl
similarity index 63%
copy from Source/modules/device_orientation/WindowDeviceMotion.idl
copy to Source/modules/device_light/WindowDeviceLight.idl
index 163f2be9f4a411dd78f409ce8d6609516a6efcab..1b8cd79f723f0936d2725d90c4fde101af61724f 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