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

Unified Diff: chrome/browser/extensions/extension_host.cc

Issue 164092: Correctly handle extensions width in the GTK extension shelf. (Closed)
Patch Set: Created 11 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
« no previous file with comments | « no previous file | chrome/browser/gtk/extension_shelf_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_host.cc
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index 17062ce8c5224c6cc022406a94bc36f986c4dc32..ee81c39a36c6f6662200f36e4126d795f99ff4c8 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/chrome/browser/extensions/extension_host.cc
@@ -178,9 +178,9 @@ void ExtensionHost::RecoverCrashedExtension() {
}
void ExtensionHost::UpdatePreferredWidth(int pref_width) {
-#if defined(OS_WIN)
+#if defined(TOOLKIT_VIEWS) || defined(OS_LINUX)
if (view_.get())
- view_->DidContentsPreferredWidthChange(pref_width);
+ view_->UpdatePreferredWidth(pref_width);
#endif
}
« no previous file with comments | « no previous file | chrome/browser/gtk/extension_shelf_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698