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

Unified Diff: chrome/browser/ui/browser_window.h

Issue 7537030: Make panel adjust bounds per preferred size change notification on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months 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/browser_window.h
===================================================================
--- chrome/browser/ui/browser_window.h (revision 95921)
+++ chrome/browser/ui/browser_window.h (working copy)
@@ -33,6 +33,7 @@
namespace gfx {
class Rect;
+class Size;
}
class Extension;
@@ -341,6 +342,10 @@
virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0;
#endif
+ // Invoked when the preferred size of the contents has been changed. We might
+ // choose to update the window size to accomodate this change.
+ virtual void UpdatePreferredSize(const gfx::Size& pref_size) {}
+
// Construct a BrowserWindow implementation for the specified |browser|.
static BrowserWindow* CreateBrowserWindow(Browser* browser);

Powered by Google App Engine
This is Rietveld 408576698