| 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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 void OnWindowAddedToRootWindow(Window* window); | 287 void OnWindowAddedToRootWindow(Window* window); |
| 288 void OnWindowRemovedFromRootWindow(Window* window); | 288 void OnWindowRemovedFromRootWindow(Window* window); |
| 289 | 289 |
| 290 // Called when a window becomes invisible, either by being removed | 290 // Called when a window becomes invisible, either by being removed |
| 291 // from root window hierachy, via SetVisible(false) or being destroyed. | 291 // from root window hierachy, via SetVisible(false) or being destroyed. |
| 292 // |destroyed| is set to true when the window is being destroyed. | 292 // |destroyed| is set to true when the window is being destroyed. |
| 293 void OnWindowHidden(Window* invisible, bool destroyed); | 293 void OnWindowHidden(Window* invisible, bool destroyed); |
| 294 | 294 |
| 295 // Overridden from ui::GestureEventHelper. | 295 // Overridden from ui::GestureEventHelper. |
| 296 virtual ui::GestureEvent* CreateGestureEvent( | 296 virtual ui::GestureEvent* CreateGestureEvent( |
| 297 ui::EventType type, | 297 const ui::GestureEventDetails& details, |
| 298 const gfx::Point& location, | 298 const gfx::Point& location, |
| 299 int flags, | 299 int flags, |
| 300 base::Time time, | 300 base::Time time, |
| 301 float param_first, | |
| 302 float param_second, | |
| 303 unsigned int touch_id_bitfield) OVERRIDE; | 301 unsigned int touch_id_bitfield) OVERRIDE; |
| 304 | 302 |
| 305 virtual ui::TouchEvent* CreateTouchEvent( | 303 virtual ui::TouchEvent* CreateTouchEvent( |
| 306 ui::EventType type, | 304 ui::EventType type, |
| 307 const gfx::Point& location, | 305 const gfx::Point& location, |
| 308 int touch_id, | 306 int touch_id, |
| 309 base::TimeDelta time_stamp) OVERRIDE; | 307 base::TimeDelta time_stamp) OVERRIDE; |
| 310 | 308 |
| 311 virtual bool DispatchLongPressGestureEvent(ui::GestureEvent* event) OVERRIDE; | 309 virtual bool DispatchLongPressGestureEvent(ui::GestureEvent* event) OVERRIDE; |
| 312 virtual bool DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; | 310 virtual bool DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 | 397 |
| 400 CompositorLock* compositor_lock_; | 398 CompositorLock* compositor_lock_; |
| 401 bool draw_on_compositor_unlock_; | 399 bool draw_on_compositor_unlock_; |
| 402 | 400 |
| 403 DISALLOW_COPY_AND_ASSIGN(RootWindow); | 401 DISALLOW_COPY_AND_ASSIGN(RootWindow); |
| 404 }; | 402 }; |
| 405 | 403 |
| 406 } // namespace aura | 404 } // namespace aura |
| 407 | 405 |
| 408 #endif // UI_AURA_ROOT_WINDOW_H_ | 406 #endif // UI_AURA_ROOT_WINDOW_H_ |
| OLD | NEW |