| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 virtual RootWindow* GetRootWindow() OVERRIDE; | 252 virtual RootWindow* GetRootWindow() OVERRIDE; |
| 253 virtual const RootWindow* GetRootWindow() const OVERRIDE; | 253 virtual const RootWindow* GetRootWindow() const OVERRIDE; |
| 254 virtual void SetTransform(const ui::Transform& transform) OVERRIDE; | 254 virtual void SetTransform(const ui::Transform& transform) OVERRIDE; |
| 255 | 255 |
| 256 // Overridden from ui::CompositorDelegate: | 256 // Overridden from ui::CompositorDelegate: |
| 257 virtual void ScheduleDraw() OVERRIDE; | 257 virtual void ScheduleDraw() OVERRIDE; |
| 258 | 258 |
| 259 // Overridden from ui::CompositorObserver: | 259 // Overridden from ui::CompositorObserver: |
| 260 virtual void OnCompositingStarted(ui::Compositor*) OVERRIDE; | 260 virtual void OnCompositingStarted(ui::Compositor*) OVERRIDE; |
| 261 virtual void OnCompositingEnded(ui::Compositor*) OVERRIDE; | 261 virtual void OnCompositingEnded(ui::Compositor*) OVERRIDE; |
| 262 virtual void OnCompositingAborted(ui::Compositor*) OVERRIDE; |
| 262 | 263 |
| 263 // Overridden from ui::LayerDelegate: | 264 // Overridden from ui::LayerDelegate: |
| 264 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 265 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
| 265 | 266 |
| 266 // Overridden from Window: | 267 // Overridden from Window: |
| 267 virtual bool CanFocus() const OVERRIDE; | 268 virtual bool CanFocus() const OVERRIDE; |
| 268 virtual bool CanReceiveEvents() const OVERRIDE; | 269 virtual bool CanReceiveEvents() const OVERRIDE; |
| 269 virtual FocusManager* GetFocusManager() OVERRIDE; | 270 virtual FocusManager* GetFocusManager() OVERRIDE; |
| 270 | 271 |
| 271 private: | 272 private: |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 bool draw_on_compositor_unlock_; | 407 bool draw_on_compositor_unlock_; |
| 407 | 408 |
| 408 int draw_trace_count_; | 409 int draw_trace_count_; |
| 409 | 410 |
| 410 DISALLOW_COPY_AND_ASSIGN(RootWindow); | 411 DISALLOW_COPY_AND_ASSIGN(RootWindow); |
| 411 }; | 412 }; |
| 412 | 413 |
| 413 } // namespace aura | 414 } // namespace aura |
| 414 | 415 |
| 415 #endif // UI_AURA_ROOT_WINDOW_H_ | 416 #endif // UI_AURA_ROOT_WINDOW_H_ |
| OLD | NEW |