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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 | 238 |
239 // Overridden from ui::CompositorDelegate: | 239 // Overridden from ui::CompositorDelegate: |
240 virtual void ScheduleDraw() OVERRIDE; | 240 virtual void ScheduleDraw() OVERRIDE; |
241 | 241 |
242 // Overridden from ui::CompositorObserver: | 242 // Overridden from ui::CompositorObserver: |
243 virtual void OnCompositingDidCommit(ui::Compositor*) OVERRIDE; | 243 virtual void OnCompositingDidCommit(ui::Compositor*) OVERRIDE; |
244 virtual void OnCompositingStarted(ui::Compositor*) OVERRIDE; | 244 virtual void OnCompositingStarted(ui::Compositor*) OVERRIDE; |
245 virtual void OnCompositingEnded(ui::Compositor*) OVERRIDE; | 245 virtual void OnCompositingEnded(ui::Compositor*) OVERRIDE; |
246 virtual void OnCompositingAborted(ui::Compositor*) OVERRIDE; | 246 virtual void OnCompositingAborted(ui::Compositor*) OVERRIDE; |
247 virtual void OnCompositingLockStateChanged(ui::Compositor*) OVERRIDE; | 247 virtual void OnCompositingLockStateChanged(ui::Compositor*) OVERRIDE; |
| 248 virtual void OnReceivedLatencyInfo(ui::Compositor*, |
| 249 const cc::LatencyInfo&) OVERRIDE; |
248 | 250 |
249 // Overridden from ui::LayerDelegate: | 251 // Overridden from ui::LayerDelegate: |
250 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 252 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
251 | 253 |
252 // Overridden from Window: | 254 // Overridden from Window: |
253 virtual bool CanFocus() const OVERRIDE; | 255 virtual bool CanFocus() const OVERRIDE; |
254 virtual bool CanReceiveEvents() const OVERRIDE; | 256 virtual bool CanReceiveEvents() const OVERRIDE; |
255 | 257 |
256 // Overridden from aura::client::CaptureDelegate: | 258 // Overridden from aura::client::CaptureDelegate: |
257 virtual void UpdateCapture(Window* old_capture, Window* new_capture) OVERRIDE; | 259 virtual void UpdateCapture(Window* old_capture, Window* new_capture) OVERRIDE; |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 base::WeakPtrFactory<RootWindow> held_mouse_event_factory_; | 400 base::WeakPtrFactory<RootWindow> held_mouse_event_factory_; |
399 | 401 |
400 scoped_ptr<ui::ViewProp> prop_; | 402 scoped_ptr<ui::ViewProp> prop_; |
401 | 403 |
402 DISALLOW_COPY_AND_ASSIGN(RootWindow); | 404 DISALLOW_COPY_AND_ASSIGN(RootWindow); |
403 }; | 405 }; |
404 | 406 |
405 } // namespace aura | 407 } // namespace aura |
406 | 408 |
407 #endif // UI_AURA_ROOT_WINDOW_H_ | 409 #endif // UI_AURA_ROOT_WINDOW_H_ |
OLD | NEW |