Chromium Code Reviews| 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_; |