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

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: 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..6ab1a2be71b9d58b3dd4ad72e70b408be3452648 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -216,7 +216,8 @@ class Panel : public BrowserWindow,
// * SetPanelBounds() is only called by PanelManager to manage its position.
// * SetBounds() is called by the API to try to change the bounds, which is
// not allowed for Panel.
- void SetPanelBounds(const gfx::Rect& bounds);
+ // Passing true to |animate| if bounds animation is required.
Dmitry Titov 2011/12/01 19:59:51 I think this comment says as much as the type and
jianli 2011/12/01 20:24:08 Done.
+ void SetPanelBounds(const gfx::Rect& bounds, bool animate);
// Sets whether the panel will auto resize according to its content.
void SetAutoResizable(bool resizable);

Powered by Google App Engine
This is Rietveld 408576698