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

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

Issue 8775022: Add Panel::SetPanelBoundsInstantly for all platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 9 years, 1 month 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
Index: chrome/browser/ui/panels/panel.h
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index c283a59d1e29c8fc68dc974f410021058ef7e3b7..05533c9dab20257fa64290bf2f0e62b48e277476 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -221,6 +221,9 @@ class Panel : public BrowserWindow,
// not allowed for Panel.
void SetPanelBounds(const gfx::Rect& bounds);
+ // Updates the panel bounds instantly without any animation.
+ void SetPanelBoundsInstantly(const gfx::Rect& bounds);
+
// Sets whether the panel will auto resize according to its content.
void SetAutoResizable(bool resizable);

Powered by Google App Engine
This is Rietveld 408576698