| 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 UI_AURA_WINDOW_EVENT_DISPATCHER_H_ | 5 #ifndef UI_AURA_WINDOW_EVENT_DISPATCHER_H_ |
| 6 #define UI_AURA_WINDOW_EVENT_DISPATCHER_H_ | 6 #define UI_AURA_WINDOW_EVENT_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 bool CanDispatchToTarget(ui::EventTarget* target) override; | 190 bool CanDispatchToTarget(ui::EventTarget* target) override; |
| 191 ui::EventDispatchDetails PreDispatchEvent(ui::EventTarget* target, | 191 ui::EventDispatchDetails PreDispatchEvent(ui::EventTarget* target, |
| 192 ui::Event* event) override; | 192 ui::Event* event) override; |
| 193 ui::EventDispatchDetails PostDispatchEvent(ui::EventTarget* target, | 193 ui::EventDispatchDetails PostDispatchEvent(ui::EventTarget* target, |
| 194 const ui::Event& event) override; | 194 const ui::Event& event) override; |
| 195 | 195 |
| 196 // Overridden from ui::GestureEventHelper. | 196 // Overridden from ui::GestureEventHelper. |
| 197 bool CanDispatchToConsumer(ui::GestureConsumer* consumer) override; | 197 bool CanDispatchToConsumer(ui::GestureConsumer* consumer) override; |
| 198 void DispatchGestureEvent(ui::GestureConsumer* raw_input_consumer, | 198 void DispatchGestureEvent(ui::GestureConsumer* raw_input_consumer, |
| 199 ui::GestureEvent* event) override; | 199 ui::GestureEvent* event) override; |
| 200 void DispatchCancelTouchEvent(ui::GestureConsumer* raw_input_consumer, | 200 void DispatchSyntheticTouchEvent(ui::TouchEvent* event) override; |
| 201 ui::TouchEvent* event) override; | |
| 202 | 201 |
| 203 // Overridden from WindowObserver: | 202 // Overridden from WindowObserver: |
| 204 void OnWindowDestroying(Window* window) override; | 203 void OnWindowDestroying(Window* window) override; |
| 205 void OnWindowDestroyed(Window* window) override; | 204 void OnWindowDestroyed(Window* window) override; |
| 206 void OnWindowAddedToRootWindow(Window* window) override; | 205 void OnWindowAddedToRootWindow(Window* window) override; |
| 207 void OnWindowRemovingFromRootWindow(Window* window, | 206 void OnWindowRemovingFromRootWindow(Window* window, |
| 208 Window* new_root) override; | 207 Window* new_root) override; |
| 209 void OnWindowVisibilityChanging(Window* window, bool visible) override; | 208 void OnWindowVisibilityChanging(Window* window, bool visible) override; |
| 210 void OnWindowVisibilityChanged(Window* window, bool visible) override; | 209 void OnWindowVisibilityChanged(Window* window, bool visible) override; |
| 211 void OnWindowBoundsChanged(Window* window, | 210 void OnWindowBoundsChanged(Window* window, |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 | 277 |
| 279 // Used to schedule DispatchHeldEvents() when |move_hold_count_| goes to 0. | 278 // Used to schedule DispatchHeldEvents() when |move_hold_count_| goes to 0. |
| 280 base::WeakPtrFactory<WindowEventDispatcher> held_event_factory_; | 279 base::WeakPtrFactory<WindowEventDispatcher> held_event_factory_; |
| 281 | 280 |
| 282 DISALLOW_COPY_AND_ASSIGN(WindowEventDispatcher); | 281 DISALLOW_COPY_AND_ASSIGN(WindowEventDispatcher); |
| 283 }; | 282 }; |
| 284 | 283 |
| 285 } // namespace aura | 284 } // namespace aura |
| 286 | 285 |
| 287 #endif // UI_AURA_WINDOW_EVENT_DISPATCHER_H_ | 286 #endif // UI_AURA_WINDOW_EVENT_DISPATCHER_H_ |
| OLD | NEW |