diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-29 17:35:13 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-29 17:35:13 +0000 |
commit | 4bc899343f867283f5828f40fd845abc79c67723 (patch) | |
tree | 07523d08f64230acd4c551016218ada5821516cb /views/controls/menu/menu_2.h | |
parent | 622b788650a636236c3842f1287126fc60fb80ed (diff) | |
download | chromium_src-4bc899343f867283f5828f40fd845abc79c67723.zip chromium_src-4bc899343f867283f5828f40fd845abc79c67723.tar.gz chromium_src-4bc899343f867283f5828f40fd845abc79c67723.tar.bz2 |
Add SetMinimumWidth to Menu2 for chromeos.
This is to remove gtk dependency from menu2 code in chromeos and to make DOMUI transition smooth (crosbug.com/6497)
Removed LanguageSwitchModel::GetFirstLevelMenuWidth as this does not seem to be used by anyone.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3533001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60961 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/menu/menu_2.h')
-rw-r--r-- | views/controls/menu/menu_2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/controls/menu/menu_2.h b/views/controls/menu/menu_2.h index 5763997..2d0ff23 100644 --- a/views/controls/menu/menu_2.h +++ b/views/controls/menu/menu_2.h @@ -76,6 +76,9 @@ class Menu2 { // Accessors. menus::MenuModel* model() const { return model_; } + // Sets the minimum width of the menu. + void SetMinimumWidth(int width); + private: friend class NativeMenuGtk; |