| Index: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h
|
| diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h
|
| index fdf0f96f1a5cc35ad4535ff55de1c27ba8d67ceb..14493aff601ab3f723b907af7a7af3b01cc5e4b9 100644
|
| --- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h
|
| +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h
|
| @@ -32,6 +32,7 @@
|
|
|
| namespace blink {
|
|
|
| +class DeviceOrientationEventInit;
|
| class DeviceOrientationData;
|
|
|
| class DeviceOrientationEvent final : public Event {
|
| @@ -40,6 +41,11 @@ class DeviceOrientationEvent final : public Event {
|
| public:
|
| ~DeviceOrientationEvent() override;
|
| static DeviceOrientationEvent* create() { return new DeviceOrientationEvent; }
|
| + static DeviceOrientationEvent* create(
|
| + const AtomicString& eventType,
|
| + const DeviceOrientationEventInit& initializer) {
|
| + return new DeviceOrientationEvent(eventType, initializer);
|
| + }
|
| static DeviceOrientationEvent* create(const AtomicString& eventType,
|
| DeviceOrientationData* orientation) {
|
| return new DeviceOrientationEvent(eventType, orientation);
|
| @@ -66,6 +72,8 @@ class DeviceOrientationEvent final : public Event {
|
|
|
| private:
|
| DeviceOrientationEvent();
|
| + DeviceOrientationEvent(const AtomicString&,
|
| + const DeviceOrientationEventInit&);
|
| DeviceOrientationEvent(const AtomicString& eventType, DeviceOrientationData*);
|
|
|
| Member<DeviceOrientationData> m_orientation;
|
|
|