From ab32b16c9acd73a2f2d2a92f1e8e5083b51b3953 Mon Sep 17 00:00:00 2001 From: "erikkay@chromium.org" Date: Fri, 16 Oct 2009 14:57:25 +0000 Subject: Popup width and height are now dynamic. BUG=24471 TEST=none Review URL: http://codereview.chromium.org/273046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29274 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/gtk/extension_view_gtk.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chrome/browser/gtk/extension_view_gtk.h') diff --git a/chrome/browser/gtk/extension_view_gtk.h b/chrome/browser/gtk/extension_view_gtk.h index 6f67f53..16b7892 100644 --- a/chrome/browser/gtk/extension_view_gtk.h +++ b/chrome/browser/gtk/extension_view_gtk.h @@ -7,6 +7,7 @@ #include "app/gfx/native_widget_types.h" #include "base/basictypes.h" +#include "base/gfx/size.h" #include "third_party/skia/include/core/SkBitmap.h" class Browser; @@ -29,9 +30,9 @@ class ExtensionViewGtk { void SetBackground(const SkBitmap& background); - // Method for the ExtensionHost to notify us about the correct width for + // Method for the ExtensionHost to notify us about the correct size for // extension contents. - void UpdatePreferredWidth(int pref_width); + void UpdatePreferredSize(const gfx::Size& new_size); // Method for the ExtensionHost to notify us when the RenderViewHost has a // connection. -- cgit v1.1