Index: third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h |
diff --git a/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h b/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h |
deleted file mode 100644 |
index b3d00d90f99c5db0824d73877ea53fce6dc63682..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h |
+++ /dev/null |
@@ -1,48 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef DeviceLightEvent_h |
-#define DeviceLightEvent_h |
- |
-#include "modules/EventModules.h" |
-#include "modules/device_light/DeviceLightEventInit.h" |
-#include "platform/heap/Handle.h" |
- |
-namespace blink { |
- |
-class DeviceLightEvent final : public Event { |
- DEFINE_WRAPPERTYPEINFO(); |
- |
- public: |
- ~DeviceLightEvent() override; |
- |
- static DeviceLightEvent* create(const AtomicString& eventType, double value) { |
- return new DeviceLightEvent(eventType, value); |
- } |
- static DeviceLightEvent* create(const AtomicString& eventType, |
- const DeviceLightEventInit& initializer) { |
- return new DeviceLightEvent(eventType, initializer); |
- } |
- |
- double value() const { return m_value; } |
- |
- const AtomicString& interfaceName() const override; |
- |
- private: |
- DeviceLightEvent(const AtomicString& eventType, double value); |
- DeviceLightEvent(const AtomicString& eventType, |
- const DeviceLightEventInit& initializer); |
- |
- double m_value; |
-}; |
- |
-DEFINE_TYPE_CASTS(DeviceLightEvent, |
- Event, |
- event, |
- event->interfaceName() == EventNames::DeviceLightEvent, |
- event.interfaceName() == EventNames::DeviceLightEvent); |
- |
-} // namespace blink |
- |
-#endif // DeviceLightEvent_h |