OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef DeviceOrientationAbsoluteController_h |
| 6 #define DeviceOrientationAbsoluteController_h |
| 7 |
| 8 #include "core/dom/Document.h" |
| 9 #include "modules/ModulesExport.h" |
| 10 #include "modules/device_orientation/DeviceOrientationController.h" |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 class MODULES_EXPORT DeviceOrientationAbsoluteController final : public DeviceOr
ientationController { |
| 15 public: |
| 16 ~DeviceOrientationAbsoluteController() override; |
| 17 |
| 18 static const char* supplementName(); |
| 19 static DeviceOrientationAbsoluteController& from(Document&); |
| 20 |
| 21 // Inherited from DeviceSingleWindowEventController. |
| 22 void didAddEventListener(LocalDOMWindow*, const AtomicString& eventType) ove
rride; |
| 23 |
| 24 DECLARE_VIRTUAL_TRACE(); |
| 25 |
| 26 private: |
| 27 explicit DeviceOrientationAbsoluteController(Document&); |
| 28 |
| 29 // Inherited from DeviceOrientationController. |
| 30 DeviceOrientationDispatcher& dispatcherInstance() const override; |
| 31 const AtomicString& eventTypeName() const override; |
| 32 }; |
| 33 |
| 34 } // namespace blink |
| 35 |
| 36 #endif // DeviceOrientationAbsoluteController_h |
OLD | NEW |