| 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 ScreenOrientationDispatcher_h | 5 #ifndef ScreenOrientationDispatcher_h |
| 6 #define ScreenOrientationDispatcher_h | 6 #define ScreenOrientationDispatcher_h |
| 7 | 7 |
| 8 #include "core/frame/PlatformEventDispatcher.h" | 8 #include "core/frame/PlatformEventDispatcher.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 USING_GARBAGE_COLLECTED_MIXIN(ScreenOrientationDispatcher); | 22 USING_GARBAGE_COLLECTED_MIXIN(ScreenOrientationDispatcher); |
| 23 public: | 23 public: |
| 24 static ScreenOrientationDispatcher& instance(); | 24 static ScreenOrientationDispatcher& instance(); |
| 25 | 25 |
| 26 DECLARE_VIRTUAL_TRACE(); | 26 DECLARE_VIRTUAL_TRACE(); |
| 27 | 27 |
| 28 private: | 28 private: |
| 29 ScreenOrientationDispatcher(); | 29 ScreenOrientationDispatcher(); |
| 30 | 30 |
| 31 // Inherited from PlatformEventDispatcher. | 31 // Inherited from PlatformEventDispatcher. |
| 32 virtual void startListening() override; | 32 void startListening() override; |
| 33 virtual void stopListening() override; | 33 void stopListening() override; |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 } // namespace blink | 36 } // namespace blink |
| 37 | 37 |
| 38 #endif // ScreenOrientationDispatcher_h | 38 #endif // ScreenOrientationDispatcher_h |
| OLD | NEW |