diff options
author | erikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 14:57:25 +0000 |
---|---|---|
committer | erikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 14:57:25 +0000 |
commit | ab32b16c9acd73a2f2d2a92f1e8e5083b51b3953 (patch) | |
tree | e3910fea8522ea0a6e34d30b40a0a659c4a9d93f /chrome/browser/chromeos | |
parent | 357ff69d8564f44ffb7eb8ff3214d9cf7885dd63 (diff) | |
download | chromium_src-ab32b16c9acd73a2f2d2a92f1e8e5083b51b3953.zip chromium_src-ab32b16c9acd73a2f2d2a92f1e8e5083b51b3953.tar.gz chromium_src-ab32b16c9acd73a2f2d2a92f1e8e5083b51b3953.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/chromeos')
-rw-r--r-- | chrome/browser/chromeos/main_menu.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/main_menu.h b/chrome/browser/chromeos/main_menu.h index 2d896fc..11e9942 100644 --- a/chrome/browser/chromeos/main_menu.h +++ b/chrome/browser/chromeos/main_menu.h @@ -18,6 +18,9 @@ class Browser; class RenderWidgetHostViewGtk; class SiteInstance; +namespace gfx { +class Size; +} namespace views { class WidgetGtk; } @@ -162,7 +165,7 @@ class MainMenu : public RenderViewHostDelegate, virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} virtual void HandleMouseEvent() {} virtual void HandleMouseLeave() {} - virtual void UpdatePreferredWidth(int pref_width) {} + virtual void UpdatePreferredSize(const gfx::Size& pref_size) {} // The currently active browser. We use this to open urls. Browser* browser_; |