| 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/LocalFrameLifecycleObserver.h" | 8 #include "core/frame/LocalFrameLifecycleObserver.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 "public/platform/WebLockOrientationCallback.h" | 12 #include "public/platform/modules/screen_orientation/WebLockOrientationCallback.
h" |
| 13 #include "public/platform/WebScreenOrientationLockType.h" | 13 #include "public/platform/modules/screen_orientation/WebScreenOrientationLockTyp
e.h" |
| 14 #include "public/platform/WebScreenOrientationType.h" | 14 #include "public/platform/modules/screen_orientation/WebScreenOrientationType.h" |
| 15 | 15 |
| 16 namespace blink { | 16 namespace blink { |
| 17 | 17 |
| 18 class FrameView; | 18 class FrameView; |
| 19 class ScreenOrientation; | 19 class ScreenOrientation; |
| 20 class WebScreenOrientationClient; | 20 class WebScreenOrientationClient; |
| 21 | 21 |
| 22 class MODULES_EXPORT ScreenOrientationController final | 22 class MODULES_EXPORT ScreenOrientationController final |
| 23 : public NoBaseWillBeGarbageCollectedFinalized<ScreenOrientationController> | 23 : public NoBaseWillBeGarbageCollectedFinalized<ScreenOrientationController> |
| 24 , public WillBeHeapSupplement<LocalFrame> | 24 , public WillBeHeapSupplement<LocalFrame> |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 bool isActiveAndVisible() const; | 65 bool isActiveAndVisible() const; |
| 66 | 66 |
| 67 PersistentWillBeMember<ScreenOrientation> m_orientation; | 67 PersistentWillBeMember<ScreenOrientation> m_orientation; |
| 68 WebScreenOrientationClient* m_client; | 68 WebScreenOrientationClient* m_client; |
| 69 bool m_isDispatchingEvent; | 69 bool m_isDispatchingEvent; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace blink | 72 } // namespace blink |
| 73 | 73 |
| 74 #endif // ScreenOrientationController_h | 74 #endif // ScreenOrientationController_h |
| OLD | NEW |