diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-13 19:48:08 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-13 19:48:08 +0000 |
commit | 0666aef37e02188ef4b4c8890c08c5665970d54e (patch) | |
tree | ecc6f3d21eccb33040849c37d15b28a8d65f8fa1 /chrome/browser/extensions/extension_host.cc | |
parent | 0582493ed8a6aa530c16acffb2cf2bae4bfd955f (diff) | |
download | chromium_src-0666aef37e02188ef4b4c8890c08c5665970d54e.zip chromium_src-0666aef37e02188ef4b4c8890c08c5665970d54e.tar.gz chromium_src-0666aef37e02188ef4b4c8890c08c5665970d54e.tar.bz2 |
Propagate intrinsic width notification over IPC in all cases (not just extensions) to the TabContentsView. Enable the zoom button on Mac to utilize it. Ensure we only send the IPC notification when the value changes, as WebCore tends to over-report that it has changed. Fix const-ness in delegate API where it's not necessary.
Review URL: http://codereview.chromium.org/115138
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15988 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_host.cc')
-rw-r--r-- | chrome/browser/extensions/extension_host.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc index 5f91ba1..e2f202a 100644 --- a/chrome/browser/extensions/extension_host.cc +++ b/chrome/browser/extensions/extension_host.cc @@ -49,7 +49,7 @@ void ExtensionHost::CreateRenderView(const GURL& url, render_view_host_->NavigateToURL(url); } -void ExtensionHost::DidContentsPreferredWidthChange(const int pref_width) { +void ExtensionHost::UpdatePreferredWidth(int pref_width) { if (view_) view_->DidContentsPreferredWidthChange(pref_width); } |