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 10 matching lines...) Expand all Loading... |
21 class ScreenOrientationDispatcher final : public GarbageCollectedFinalized<Scree
nOrientationDispatcher>, public PlatformEventDispatcher { | 21 class ScreenOrientationDispatcher final : public GarbageCollectedFinalized<Scree
nOrientationDispatcher>, public PlatformEventDispatcher { |
22 public: | 22 public: |
23 static ScreenOrientationDispatcher& instance(); | 23 static ScreenOrientationDispatcher& instance(); |
24 | 24 |
25 virtual void trace(Visitor*) override; | 25 virtual void trace(Visitor*) override; |
26 | 26 |
27 private: | 27 private: |
28 ScreenOrientationDispatcher(); | 28 ScreenOrientationDispatcher(); |
29 | 29 |
30 // Inherited from PlatformEventDispatcher. | 30 // Inherited from PlatformEventDispatcher. |
31 virtual void startListening() OVERRIDE; | 31 virtual void startListening() override; |
32 virtual void stopListening() OVERRIDE; | 32 virtual void stopListening() override; |
33 }; | 33 }; |
34 | 34 |
35 } // namespace blink | 35 } // namespace blink |
36 | 36 |
37 #endif // ScreenOrientationDispatcher_h | 37 #endif // ScreenOrientationDispatcher_h |
OLD | NEW |