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

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

Issue 11087093: Migrate ui::Transform to gfx::Transform (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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
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 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 bool GrabSnapshot(const gfx::Rect& snapshot_bounds, 245 bool GrabSnapshot(const gfx::Rect& snapshot_bounds,
246 std::vector<unsigned char>* png_representation); 246 std::vector<unsigned char>* png_representation);
247 247
248 // Gets the last location seen in a mouse event in this root window's 248 // Gets the last location seen in a mouse event in this root window's
249 // coordinates. This may return a point outside the root window's bounds. 249 // coordinates. This may return a point outside the root window's bounds.
250 gfx::Point GetLastMouseLocationInRoot() const; 250 gfx::Point GetLastMouseLocationInRoot() const;
251 251
252 // Overridden from Window: 252 // Overridden from Window:
253 virtual RootWindow* GetRootWindow() OVERRIDE; 253 virtual RootWindow* GetRootWindow() OVERRIDE;
254 virtual const RootWindow* GetRootWindow() const OVERRIDE; 254 virtual const RootWindow* GetRootWindow() const OVERRIDE;
255 virtual void SetTransform(const ui::Transform& transform) OVERRIDE; 255 virtual void SetTransform(const gfx::Transform& transform) OVERRIDE;
256 256
257 // Overridden from ui::EventTarget: 257 // Overridden from ui::EventTarget:
258 virtual ui::EventTarget* GetParentTarget() OVERRIDE; 258 virtual ui::EventTarget* GetParentTarget() OVERRIDE;
259 259
260 // Overridden from ui::CompositorDelegate: 260 // Overridden from ui::CompositorDelegate:
261 virtual void ScheduleDraw() OVERRIDE; 261 virtual void ScheduleDraw() OVERRIDE;
262 262
263 // Overridden from ui::CompositorObserver: 263 // Overridden from ui::CompositorObserver:
264 virtual void OnCompositingDidCommit(ui::Compositor*) OVERRIDE; 264 virtual void OnCompositingDidCommit(ui::Compositor*) OVERRIDE;
265 virtual void OnCompositingWillStart(ui::Compositor*) OVERRIDE; 265 virtual void OnCompositingWillStart(ui::Compositor*) OVERRIDE;
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 414
415 CompositorLock* compositor_lock_; 415 CompositorLock* compositor_lock_;
416 bool draw_on_compositor_unlock_; 416 bool draw_on_compositor_unlock_;
417 417
418 DISALLOW_COPY_AND_ASSIGN(RootWindow); 418 DISALLOW_COPY_AND_ASSIGN(RootWindow);
419 }; 419 };
420 420
421 } // namespace aura 421 } // namespace aura
422 422
423 #endif // UI_AURA_ROOT_WINDOW_H_ 423 #endif // UI_AURA_ROOT_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698