| 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" | 
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 54     bool hasLastData() override; | 54     bool hasLastData() override; | 
| 55     void pageVisibilityChanged() override; | 55     void pageVisibilityChanged() override; | 
| 56 | 56 | 
| 57     // Inherited from LocalFrameLifecycleObserver. | 57     // Inherited from LocalFrameLifecycleObserver. | 
| 58     void contextDestroyed() override; | 58     void contextDestroyed() override; | 
| 59 | 59 | 
| 60     void notifyDispatcher(); | 60     void notifyDispatcher(); | 
| 61 | 61 | 
| 62     void updateOrientation(); | 62     void updateOrientation(); | 
| 63 | 63 | 
| 64     void dispatchEventTimerFired(Timer<ScreenOrientationController>*); | 64     void dispatchEventTimerFired(TimerBase*); | 
| 65 | 65 | 
| 66     bool isActiveAndVisible() const; | 66     bool isActiveAndVisible() const; | 
| 67 | 67 | 
| 68     Member<ScreenOrientation> m_orientation; | 68     Member<ScreenOrientation> m_orientation; | 
| 69     WebScreenOrientationClient* m_client; | 69     WebScreenOrientationClient* m_client; | 
| 70     Timer<ScreenOrientationController> m_dispatchEventTimer; | 70     Timer<ScreenOrientationController> m_dispatchEventTimer; | 
| 71 }; | 71 }; | 
| 72 | 72 | 
| 73 } // namespace blink | 73 } // namespace blink | 
| 74 | 74 | 
| 75 #endif // ScreenOrientationController_h | 75 #endif // ScreenOrientationController_h | 
| OLD | NEW | 
|---|