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

Unified Diff: ui/views/controls/menu/menu_config.cc

Issue 10829283: Adjust menu item sizes for touch / non-touch according to spec. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | ui/views/controls/menu/menu_config_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_config.cc
diff --git a/ui/views/controls/menu/menu_config.cc b/ui/views/controls/menu/menu_config.cc
index 49be18967f6a9fef8018359b76b7db16634def9f..7f1e2c2d1589543fdcf86b964db84b4cd8c88ce0 100644
--- a/ui/views/controls/menu/menu_config.cc
+++ b/ui/views/controls/menu/menu_config.cc
@@ -41,11 +41,6 @@ MenuConfig::MenuConfig()
show_accelerators(true),
always_use_icon_to_label_padding(false),
align_arrow_and_shortcut(false) {
- // Use 40px tall menu items when running in touch optimized mode.
- if (ui::GetDisplayLayout() == ui::LAYOUT_TOUCH) {
sky 2012/08/10 22:17:25 This change effects windows too. Do we care?
Mr4D (OOO till 08-26) 2012/08/10 22:57:48 For Windows: I am under the impression that we wan
- item_top_margin = item_no_icon_top_margin = 12;
- item_bottom_margin = item_no_icon_bottom_margin = 13;
- }
}
MenuConfig::~MenuConfig() {}
« no previous file with comments | « no previous file | ui/views/controls/menu/menu_config_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698