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

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

Issue 7044016: Replace ButtonDropDown menu implementation (Menu2) with MenuItemView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One last little style fix. Created 9 years, 7 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_delegate.cc ('k') | views/controls/menu/menu_item_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6fc945e69d3113e60e07c115e47271c4a36360b8..a2d7d0b500b64f2dd9118e15af8182273b2aaffd 100644
--- a/views/controls/menu/menu_item_view.h
+++ b/views/controls/menu/menu_item_view.h
@@ -79,13 +79,15 @@ class MenuItemView : public View {
// ID used to identify empty menu items.
static const int kEmptyMenuItemViewID;
- // Different types of menu items.
+ // Different types of menu items. EMPTY is a special type for empty
+ // menus that is only used internally.
enum Type {
NORMAL,
SUBMENU,
CHECKBOX,
RADIO,
- SEPARATOR
+ SEPARATOR,
+ EMPTY
};
// Where the menu should be anchored to.
« no previous file with comments | « views/controls/menu/menu_delegate.cc ('k') | views/controls/menu/menu_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698