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

Unified Diff: chrome/browser/ui/panels/panel_browser_window_gtk.h

Issue 8879005: Fix bug where panels sometimes don't align on bottom. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to latest Created 9 years 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 | chrome/browser/ui/panels/panel_browser_window_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8be8a18eef61e881a87a0ac31b036632eb997ac4..1ccbca7ca096606862ec62f768bd82fb04493f93 100644
--- a/chrome/browser/ui/panels/panel_browser_window_gtk.h
+++ b/chrome/browser/ui/panels/panel_browser_window_gtk.h
@@ -193,6 +193,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);
};
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel_browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698