| 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
|
|
|