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

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

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 | « views/controls/menu/menu_2.h ('k') | views/controls/menu/menu_wrapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/menu_2.cc
diff --git a/views/controls/menu/menu_2.cc b/views/controls/menu/menu_2.cc
index 467572d83c2807d0d469dbd975e4822316ea8d15..037d5deb13fcebf0e1e333130ef65a3af64f3c81 100644
--- a/views/controls/menu/menu_2.cc
+++ b/views/controls/menu/menu_2.cc
@@ -52,4 +52,8 @@ void Menu2::RemoveMenuListener(MenuListener* listener) {
wrapper_->RemoveMenuListener(listener);
}
+void Menu2::SetMinimumWidth(int width) {
+ wrapper_->SetMinimumWidth(width);
+}
+
} // namespace
« no previous file with comments | « views/controls/menu/menu_2.h ('k') | views/controls/menu/menu_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698