OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ROOT_WINDOW_H_ | 5 #ifndef UI_AURA_ROOT_WINDOW_H_ |
6 #define UI_AURA_ROOT_WINDOW_H_ | 6 #define UI_AURA_ROOT_WINDOW_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 // from root window hierachy, via SetVisible(false) or being destroyed. | 303 // from root window hierachy, via SetVisible(false) or being destroyed. |
304 // |destroyed| is set to true when the window is being destroyed. | 304 // |destroyed| is set to true when the window is being destroyed. |
305 void OnWindowHidden(Window* invisible, bool destroyed); | 305 void OnWindowHidden(Window* invisible, bool destroyed); |
306 | 306 |
307 // Cleans up the gesture recognizer for all windows in |window| (including | 307 // Cleans up the gesture recognizer for all windows in |window| (including |
308 // |window| itself). | 308 // |window| itself). |
309 void CleanupGestureRecognizerState(Window* window); | 309 void CleanupGestureRecognizerState(Window* window); |
310 | 310 |
311 // Overridden from ui::EventDispatcher. | 311 // Overridden from ui::EventDispatcher. |
312 virtual bool CanDispatchToTarget(EventTarget* target) OVERRIDE; | 312 virtual bool CanDispatchToTarget(EventTarget* target) OVERRIDE; |
313 virtual void ProcessPreTargetList(ui::EventHandlerList* list) OVERRIDE; | |
314 virtual void ProcessPostTargetList(ui::EventHandlerList* list) OVERRIDE; | |
315 | 313 |
316 // Overridden from ui::GestureEventHelper. | 314 // Overridden from ui::GestureEventHelper. |
317 virtual bool DispatchLongPressGestureEvent(ui::GestureEvent* event) OVERRIDE; | 315 virtual bool DispatchLongPressGestureEvent(ui::GestureEvent* event) OVERRIDE; |
318 virtual bool DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; | 316 virtual bool DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; |
319 | 317 |
320 // Overridden from ui::LayerAnimationObserver: | 318 // Overridden from ui::LayerAnimationObserver: |
321 virtual void OnLayerAnimationEnded( | 319 virtual void OnLayerAnimationEnded( |
322 ui::LayerAnimationSequence* animation) OVERRIDE; | 320 ui::LayerAnimationSequence* animation) OVERRIDE; |
323 virtual void OnLayerAnimationScheduled( | 321 virtual void OnLayerAnimationScheduled( |
324 ui::LayerAnimationSequence* animation) OVERRIDE; | 322 ui::LayerAnimationSequence* animation) OVERRIDE; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 | 409 |
412 CompositorLock* compositor_lock_; | 410 CompositorLock* compositor_lock_; |
413 bool draw_on_compositor_unlock_; | 411 bool draw_on_compositor_unlock_; |
414 | 412 |
415 DISALLOW_COPY_AND_ASSIGN(RootWindow); | 413 DISALLOW_COPY_AND_ASSIGN(RootWindow); |
416 }; | 414 }; |
417 | 415 |
418 } // namespace aura | 416 } // namespace aura |
419 | 417 |
420 #endif // UI_AURA_ROOT_WINDOW_H_ | 418 #endif // UI_AURA_ROOT_WINDOW_H_ |
OLD | NEW |