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

Unified Diff: ui/base/models/menu_model.h

Issue 10837317: Setting the touch wrench menu as default menu for ChromeOS (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
Index: ui/base/models/menu_model.h
diff --git a/ui/base/models/menu_model.h b/ui/base/models/menu_model.h
index a684253ba83adaffdd6a84f61b3f44736078c4bc..af400c85abeaabe1a198cfe9b19c821e1991a2c0 100644
--- a/ui/base/models/menu_model.h
+++ b/ui/base/models/menu_model.h
@@ -35,6 +35,16 @@ class UI_EXPORT MenuModel {
TYPE_SUBMENU
};
+ // For a separator we have the following types.
+ // Normal - top to bottom: Spacing, line, spacing
+ static const string16 NORMAL_SEPARATOR;
sky 2012/08/20 15:58:17 This should be an enum.
+ // Upper - top to bottom: Line, spacing
+ static const string16 UPPER_SEPARATOR;
+ // Lower - top to bottom: Spacing, line
+ static const string16 LOWER_SEPARATOR;
+ // Spacing - top to bottom: Spacing only.
+ static const string16 SPACING_SEPARATOR;
+
virtual ~MenuModel() {}
// Returns true if any of the items within the model have icons. Not all

Powered by Google App Engine
This is Rietveld 408576698