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

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

Issue 7825024: For Touch: remove some menu items for experimentation, adjust sizes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reverted blank line suppression Created 9 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
Index: views/controls/menu/menu_item_view.h
diff --git a/views/controls/menu/menu_item_view.h b/views/controls/menu/menu_item_view.h
index 6b91c8d3c78bc021a15c6d42d65c21f619578d36..84d46b3d49e8f110776fe2e61b5244eeda732dba 100644
--- a/views/controls/menu/menu_item_view.h
+++ b/views/controls/menu/menu_item_view.h
@@ -450,6 +450,10 @@ class VIEWS_EXPORT MenuItemView : public View {
bool has_icons_;
+ // Should we show the keyboard shortcuts? This is true in most cases
+ // except for touch.
+ bool show_accelerators_;
+
// The tooltip to show on hover for this menu item.
string16 tooltip_;

Powered by Google App Engine
This is Rietveld 408576698