Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(753)

Side by Side Diff: ui/aura/root_window.h

Issue 10444014: ash: Improved window maximize/restore animations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix workspace mgr, remove ignore_window, cleanup Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698