| 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 PlatformEventDispatcher_h | 5 #ifndef SKY_ENGINE_CORE_FRAME_PLATFORMEVENTDISPATCHER_H_ |
| 6 #define PlatformEventDispatcher_h | 6 #define SKY_ENGINE_CORE_FRAME_PLATFORMEVENTDISPATCHER_H_ |
| 7 | 7 |
| 8 #include "sky/engine/wtf/Vector.h" | 8 #include "sky/engine/wtf/Vector.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 class PlatformEventController; | 11 class PlatformEventController; |
| 12 | 12 |
| 13 class PlatformEventDispatcher { | 13 class PlatformEventDispatcher { |
| 14 public: | 14 public: |
| 15 void addController(PlatformEventController*); | 15 void addController(PlatformEventController*); |
| 16 void removeController(PlatformEventController*); | 16 void removeController(PlatformEventController*); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 27 private: | 27 private: |
| 28 void purgeControllers(); | 28 void purgeControllers(); |
| 29 | 29 |
| 30 Vector<PlatformEventController*> m_controllers; | 30 Vector<PlatformEventController*> m_controllers; |
| 31 bool m_needsPurge; | 31 bool m_needsPurge; |
| 32 bool m_isDispatching; | 32 bool m_isDispatching; |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 } // namespace blink | 35 } // namespace blink |
| 36 | 36 |
| 37 #endif // PlatformEventDispatcher_h | 37 #endif // SKY_ENGINE_CORE_FRAME_PLATFORMEVENTDISPATCHER_H_ |
| OLD | NEW |