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

Unified Diff: Source/modules/device_light/DOMWindowDeviceLight.h

Issue 143823004: Implement DeviceLight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Layout test fix 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/DOMWindowDeviceLight.h
diff --git a/Source/modules/device_orientation/DOMWindowDeviceMotion.h b/Source/modules/device_light/DOMWindowDeviceLight.h
similarity index 57%
copy from Source/modules/device_orientation/DOMWindowDeviceMotion.h
copy to Source/modules/device_light/DOMWindowDeviceLight.h
index e9b96f5bb9c11643437f5f333814a0658b0d8172..bee6f06d0de6ece9bfcec3263322613942556995 100644
--- a/Source/modules/device_orientation/DOMWindowDeviceMotion.h
+++ b/Source/modules/device_light/DOMWindowDeviceLight.h
@@ -2,18 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef DOMWindowDeviceMotion_h
-#define DOMWindowDeviceMotion_h
+#ifndef DOMWindowDeviceLight_h
+#define DOMWindowDeviceLight_h
#include "core/events/EventTarget.h"
namespace WebCore {
-
-class DOMWindowDeviceMotion {
+class DOMWindowDeviceLight {
public:
- DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(devicemotion);
+ DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(devicelight);
};
-
} // namespace WebCore
-
-#endif // DOMWindowDeviceMotion_h
+#endif // DOMWindowDeviceLight_h

Powered by Google App Engine
This is Rietveld 408576698