| 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 #include "config.h" | 5 #include "sky/engine/config.h" |
| 6 #include "core/frame/PlatformEventDispatcher.h" | 6 #include "sky/engine/core/frame/PlatformEventDispatcher.h" |
| 7 | 7 |
| 8 #include "core/frame/PlatformEventController.h" | 8 #include "sky/engine/core/frame/PlatformEventController.h" |
| 9 #include "wtf/TemporaryChange.h" | 9 #include "sky/engine/wtf/TemporaryChange.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 PlatformEventDispatcher::PlatformEventDispatcher() | 13 PlatformEventDispatcher::PlatformEventDispatcher() |
| 14 : m_needsPurge(false) | 14 : m_needsPurge(false) |
| 15 , m_isDispatching(false) | 15 , m_isDispatching(false) |
| 16 { | 16 { |
| 17 } | 17 } |
| 18 | 18 |
| 19 PlatformEventDispatcher::~PlatformEventDispatcher() | 19 PlatformEventDispatcher::~PlatformEventDispatcher() |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 if (m_controllers[i]) | 78 if (m_controllers[i]) |
| 79 m_controllers[i]->didUpdateData(); | 79 m_controllers[i]->didUpdateData(); |
| 80 } | 80 } |
| 81 } | 81 } |
| 82 | 82 |
| 83 if (m_needsPurge) | 83 if (m_needsPurge) |
| 84 purgeControllers(); | 84 purgeControllers(); |
| 85 } | 85 } |
| 86 | 86 |
| 87 } // namespace blink | 87 } // namespace blink |
| OLD | NEW |