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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 | 260 |
261 // Overridden from ui::LayerAnimationObserver: | 261 // Overridden from ui::LayerAnimationObserver: |
262 virtual void OnLayerAnimationEnded( | 262 virtual void OnLayerAnimationEnded( |
263 ui::LayerAnimationSequence* animation) OVERRIDE; | 263 ui::LayerAnimationSequence* animation) OVERRIDE; |
264 virtual void OnLayerAnimationScheduled( | 264 virtual void OnLayerAnimationScheduled( |
265 ui::LayerAnimationSequence* animation) OVERRIDE; | 265 ui::LayerAnimationSequence* animation) OVERRIDE; |
266 virtual void OnLayerAnimationAborted( | 266 virtual void OnLayerAnimationAborted( |
267 ui::LayerAnimationSequence* animation) OVERRIDE; | 267 ui::LayerAnimationSequence* animation) OVERRIDE; |
268 | 268 |
269 // Overridden from aura::WindowTreeHostDelegate: | 269 // Overridden from aura::WindowTreeHostDelegate: |
270 virtual bool OnHostKeyEvent(ui::KeyEvent* event) OVERRIDE; | |
271 virtual bool OnHostMouseEvent(ui::MouseEvent* event) OVERRIDE; | |
272 virtual bool OnHostScrollEvent(ui::ScrollEvent* event) OVERRIDE; | |
273 virtual bool OnHostTouchEvent(ui::TouchEvent* event) OVERRIDE; | |
274 virtual void OnHostCancelMode() OVERRIDE; | 270 virtual void OnHostCancelMode() OVERRIDE; |
275 virtual void OnHostActivated() OVERRIDE; | 271 virtual void OnHostActivated() OVERRIDE; |
276 virtual void OnHostLostWindowCapture() OVERRIDE; | 272 virtual void OnHostLostWindowCapture() OVERRIDE; |
277 virtual void OnHostLostMouseGrab() OVERRIDE; | 273 virtual void OnHostLostMouseGrab() OVERRIDE; |
278 virtual void OnHostMoved(const gfx::Point& origin) OVERRIDE; | 274 virtual void OnHostMoved(const gfx::Point& origin) OVERRIDE; |
279 virtual void OnHostResized(const gfx::Size& size) OVERRIDE; | 275 virtual void OnHostResized(const gfx::Size& size) OVERRIDE; |
280 virtual RootWindow* AsRootWindow() OVERRIDE; | 276 virtual RootWindow* AsRootWindow() OVERRIDE; |
281 virtual const RootWindow* AsRootWindow() const OVERRIDE; | 277 virtual const RootWindow* AsRootWindow() const OVERRIDE; |
282 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; | 278 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; |
283 | 279 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 | 339 |
344 // Used to schedule DispatchHeldEvents() when |move_hold_count_| goes to 0. | 340 // Used to schedule DispatchHeldEvents() when |move_hold_count_| goes to 0. |
345 base::WeakPtrFactory<RootWindow> held_event_factory_; | 341 base::WeakPtrFactory<RootWindow> held_event_factory_; |
346 | 342 |
347 DISALLOW_COPY_AND_ASSIGN(RootWindow); | 343 DISALLOW_COPY_AND_ASSIGN(RootWindow); |
348 }; | 344 }; |
349 | 345 |
350 } // namespace aura | 346 } // namespace aura |
351 | 347 |
352 #endif // UI_AURA_ROOT_WINDOW_H_ | 348 #endif // UI_AURA_ROOT_WINDOW_H_ |
OLD | NEW |