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

Unified Diff: ui/aura/window.h

Issue 7972023: Implicit animations through Layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SetAnimator Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 17971d78ea8b3e20e0998f7c6ab9e2deab79b515..a2dd92a29ddbb12f450df4c24c71772a354cd125 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -78,8 +78,8 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
void SetLayoutManager(LayoutManager* layout_manager);
// Changes the bounds of the window.
- void SetBounds(const gfx::Rect& bounds, int anim_ms);
- const gfx::Rect& bounds() const { return bounds_; }
+ void SetBounds(const gfx::Rect& new_bounds, int anim_ms);
Ben Goodger (Google) 2011/09/27 22:38:04 Make a SetBoundsAnimated that takes anim_ms and ha
+ const gfx::Rect& bounds() const;
// Marks the a portion of window as needing to be painted.
void SchedulePaintInRect(const gfx::Rect& rect);
@@ -168,9 +168,6 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
scoped_ptr<ui::Layer> layer_;
- // Bounds of the window in the desktop's coordinate system.
- gfx::Rect bounds_;
-
// The Window's parent.
// TODO(beng): Implement NULL-ness for toplevels.
Window* parent_;
« no previous file with comments | « no previous file | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698