diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-04 01:56:42 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-04 01:56:42 +0000 |
commit | 1d5222071e5876b345e84d475573ef5db14ba1b4 (patch) | |
tree | 175872c72f290f4e89fd49724fbe6d085a379769 /chrome/browser/extensions/extension_view.h | |
parent | f25810a9541a15facf4252236432335629d10e50 (diff) | |
download | chromium_src-1d5222071e5876b345e84d475573ef5db14ba1b4.zip chromium_src-1d5222071e5876b345e84d475573ef5db14ba1b4.tar.gz chromium_src-1d5222071e5876b345e84d475573ef5db14ba1b4.tar.bz2 |
Callbacks through ChromeClient->RenderView->RenderViewHost for ContentsDidChangeSize so that extensions can change their toolbar size when the contained contents changes size.
Review URL: http://codereview.chromium.org/56122
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_view.h')
-rwxr-xr-x | chrome/browser/extensions/extension_view.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_view.h b/chrome/browser/extensions/extension_view.h index e82c918..960a294 100755 --- a/chrome/browser/extensions/extension_view.h +++ b/chrome/browser/extensions/extension_view.h @@ -33,6 +33,9 @@ class ExtensionView : public HWNDHtmlView, // RenderViewHostDelegate virtual Profile* GetProfile() const { return profile_; } virtual void RenderViewCreated(RenderViewHost* render_view_host); + virtual void DidContentsPreferredWidthChange(const int pref_width); + virtual void DidStopLoading(RenderViewHost* render_view_host, + int32 page_id); virtual WebPreferences GetWebkitPrefs(); virtual void RunJavaScriptMessage( const std::wstring& message, |