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

Unified Diff: views/controls/menu/menu_2.h

Issue 3533001: Add SetMinimumWidth to Menu2 for chromeos. Removed LanguageSwitchModel::GetFirstLevelMenuWidth (Closed)
Patch Set: updated comment Created 10 years, 3 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 | « chrome/browser/chromeos/status/network_menu.cc ('k') | views/controls/menu/menu_2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/menu_2.h
diff --git a/views/controls/menu/menu_2.h b/views/controls/menu/menu_2.h
index 5763997c7ce6b47a9370767d77c1ebaadc6722b7..2d0ff235eaf4dba24b71f53ce3e574dd4a0ec9f4 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;
« no previous file with comments | « chrome/browser/chromeos/status/network_menu.cc ('k') | views/controls/menu/menu_2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698