| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ScreenOrientationController_h | 5 #ifndef ScreenOrientationController_h |
| 6 #define ScreenOrientationController_h | 6 #define ScreenOrientationController_h |
| 7 | 7 |
| 8 #include "core/frame/DOMWindowProperty.h" | 8 #include "core/frame/DOMWindowProperty.h" |
| 9 #include "core/frame/PlatformEventController.h" | 9 #include "core/frame/PlatformEventController.h" |
| 10 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
| 11 #include "platform/Supplementable.h" | 11 #include "platform/Supplementable.h" |
| 12 #include "platform/Timer.h" | 12 #include "platform/Timer.h" |
| 13 #include "public/platform/modules/screen_orientation/WebLockOrientationCallback.
h" | 13 #include "public/platform/modules/screen_orientation/WebLockOrientationCallback.
h" |
| 14 #include "public/platform/modules/screen_orientation/WebScreenOrientationLockTyp
e.h" | 14 #include "public/platform/modules/screen_orientation/WebScreenOrientationLockTyp
e.h" |
| 15 #include "public/platform/modules/screen_orientation/WebScreenOrientationType.h" | 15 #include "public/platform/modules/screen_orientation/WebScreenOrientationType.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 class FrameView; | |
| 20 class ScreenOrientation; | 19 class ScreenOrientation; |
| 21 class WebScreenOrientationClient; | 20 class WebScreenOrientationClient; |
| 22 | 21 |
| 23 class MODULES_EXPORT ScreenOrientationController final | 22 class MODULES_EXPORT ScreenOrientationController final |
| 24 : public GarbageCollectedFinalized<ScreenOrientationController>, | 23 : public GarbageCollectedFinalized<ScreenOrientationController>, |
| 25 public Supplement<LocalFrame>, | 24 public Supplement<LocalFrame>, |
| 26 public DOMWindowProperty, | 25 public DOMWindowProperty, |
| 27 public PlatformEventController { | 26 public PlatformEventController { |
| 28 USING_GARBAGE_COLLECTED_MIXIN(ScreenOrientationController); | 27 USING_GARBAGE_COLLECTED_MIXIN(ScreenOrientationController); |
| 29 WTF_MAKE_NONCOPYABLE(ScreenOrientationController); | 28 WTF_MAKE_NONCOPYABLE(ScreenOrientationController); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 bool isActiveAndVisible() const; | 66 bool isActiveAndVisible() const; |
| 68 | 67 |
| 69 Member<ScreenOrientation> m_orientation; | 68 Member<ScreenOrientation> m_orientation; |
| 70 WebScreenOrientationClient* m_client; | 69 WebScreenOrientationClient* m_client; |
| 71 Timer<ScreenOrientationController> m_dispatchEventTimer; | 70 Timer<ScreenOrientationController> m_dispatchEventTimer; |
| 72 }; | 71 }; |
| 73 | 72 |
| 74 } // namespace blink | 73 } // namespace blink |
| 75 | 74 |
| 76 #endif // ScreenOrientationController_h | 75 #endif // ScreenOrientationController_h |
| OLD | NEW |