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 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DeviceOrientationAbsoluteController); | |
haraken
2015/10/28 18:18:38
This is not needed because DeviceOrientationAbsolu
timvolodine
2015/10/29 13:49:18
Done.
| |
16 public: | |
17 ~DeviceOrientationAbsoluteController() override; | |
18 | |
19 static const char* supplementName(); | |
20 static DeviceOrientationAbsoluteController& from(Document&); | |
21 | |
22 // Inherited from DeviceSingleWindowEventController. | |
23 void didAddEventListener(LocalDOMWindow*, const AtomicString& eventType) ove rride; | |
24 | |
25 DECLARE_VIRTUAL_TRACE(); | |
26 | |
27 private: | |
28 explicit DeviceOrientationAbsoluteController(Document&); | |
29 | |
30 // Inherited from DeviceOrientationController. | |
31 DeviceOrientationDispatcher& dispatcherInstance() const override; | |
32 const AtomicString& eventTypeName() const override; | |
33 }; | |
34 | |
35 } // namespace blink | |
36 | |
37 #endif // DeviceOrientationAbsoluteController_h | |
OLD | NEW |