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

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 e7a8ffdcbea408aaf106221828c38da099a363b7..acf7d3dddd4758a58a9248f9e1cd2c2d2bd1c001 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -218,6 +218,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