Index: chrome/browser/ui/panels/panel_browser_window_gtk.h |
diff --git a/chrome/browser/ui/panels/panel_browser_window_gtk.h b/chrome/browser/ui/panels/panel_browser_window_gtk.h |
index 88bc75abd91017893309c74b5f26a4881a81df0a..e1334fe8c13bd5fd53c3237e152f9374f07b4ee1 100644 |
--- a/chrome/browser/ui/panels/panel_browser_window_gtk.h |
+++ b/chrome/browser/ui/panels/panel_browser_window_gtk.h |
@@ -191,6 +191,12 @@ class PanelBrowserWindowGtk : public BrowserWindowGtk, |
scoped_ptr<ui::SlideAnimation> bounds_animator_; |
gfx::Rect animation_start_bounds_; |
+ // This records the bounds set on the last animation progress notification. |
+ // We need this for the case where a new bounds animation starts before the |
+ // current one completes. In this case, we want to start the new animation |
+ // from where the last one left. |
+ gfx::Rect last_animation_progressed_bounds_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk); |
}; |