| 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 virtual RootWindow* GetRootWindow() OVERRIDE; | 251 virtual RootWindow* GetRootWindow() OVERRIDE; |
| 252 virtual const RootWindow* GetRootWindow() const OVERRIDE; | 252 virtual const RootWindow* GetRootWindow() const OVERRIDE; |
| 253 virtual void SetTransform(const ui::Transform& transform) OVERRIDE; | 253 virtual void SetTransform(const ui::Transform& transform) OVERRIDE; |
| 254 | 254 |
| 255 // Overridden from ui::CompositorDelegate: | 255 // Overridden from ui::CompositorDelegate: |
| 256 virtual void ScheduleDraw() OVERRIDE; | 256 virtual void ScheduleDraw() OVERRIDE; |
| 257 | 257 |
| 258 // Overridden from ui::CompositorObserver: | 258 // Overridden from ui::CompositorObserver: |
| 259 virtual void OnCompositingStarted(ui::Compositor*) OVERRIDE; | 259 virtual void OnCompositingStarted(ui::Compositor*) OVERRIDE; |
| 260 virtual void OnCompositingEnded(ui::Compositor*) OVERRIDE; | 260 virtual void OnCompositingEnded(ui::Compositor*) OVERRIDE; |
| 261 virtual void OnCompositingAborted(ui::Compositor*) OVERRIDE; |
| 261 | 262 |
| 262 // Overridden from ui::LayerDelegate: | 263 // Overridden from ui::LayerDelegate: |
| 263 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 264 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
| 264 | 265 |
| 265 private: | 266 private: |
| 266 friend class Window; | 267 friend class Window; |
| 267 friend class CompositorLock; | 268 friend class CompositorLock; |
| 268 | 269 |
| 269 // Called whenever the mouse moves, tracks the current |mouse_moved_handler_|, | 270 // Called whenever the mouse moves, tracks the current |mouse_moved_handler_|, |
| 270 // sending exited and entered events as its value changes. | 271 // sending exited and entered events as its value changes. |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 bool draw_on_compositor_unlock_; | 409 bool draw_on_compositor_unlock_; |
| 409 | 410 |
| 410 int draw_trace_count_; | 411 int draw_trace_count_; |
| 411 | 412 |
| 412 DISALLOW_COPY_AND_ASSIGN(RootWindow); | 413 DISALLOW_COPY_AND_ASSIGN(RootWindow); |
| 413 }; | 414 }; |
| 414 | 415 |
| 415 } // namespace aura | 416 } // namespace aura |
| 416 | 417 |
| 417 #endif // UI_AURA_ROOT_WINDOW_H_ | 418 #endif // UI_AURA_ROOT_WINDOW_H_ |
| OLD | NEW |