diff options
author | levin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-02 16:13:34 +0000 |
---|---|---|
committer | levin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-02 16:13:34 +0000 |
commit | 61e2b3cc316ac7c6fa1300dacbac2512b4c2148c (patch) | |
tree | 9a1bedc0a30c8726d97adaf0b558c94451766cd2 /content/public/browser/web_contents_delegate.h | |
parent | dcec8e7b214c4e5ea10bfb2c8a2791099c44ba2f (diff) | |
download | chromium_src-61e2b3cc316ac7c6fa1300dacbac2512b4c2148c.zip chromium_src-61e2b3cc316ac7c6fa1300dacbac2512b4c2148c.tar.gz chromium_src-61e2b3cc316ac7c6fa1300dacbac2512b4c2148c.tar.bz2 |
Change panels to be able to turn off autoresize.
BUG=109343
TEST=PanelBrowserTest.ResizePanel
Review URL: http://codereview.chromium.org/9517010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/browser/web_contents_delegate.h')
-rw-r--r-- | content/public/browser/web_contents_delegate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h index 8d76810..b649872 100644 --- a/content/public/browser/web_contents_delegate.h +++ b/content/public/browser/web_contents_delegate.h @@ -362,6 +362,10 @@ class CONTENT_EXPORT WebContentsDelegate { virtual void UpdatePreferredSize(WebContents* tab, const gfx::Size& pref_size) {} + // Invoked when the contents auto-resized and the container should match it. + virtual void ResizeDueToAutoResize(WebContents* tab, + const gfx::Size& new_size) {} + // Notification message from HTML UI. virtual void WebUISend(WebContents* tab, const GURL& source_url, |