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

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: And another merge! 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 | « chrome/browser/ui/views/wrench_menu.cc ('k') | ui/base/models/menu_separator_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/models/menu_model.h
diff --git a/ui/base/models/menu_model.h b/ui/base/models/menu_model.h
index bad38a76216e75b6096c9cd293610d1e9ca5b3c7..ef8f76ce241d26f2b9fa7b78df8bc242565adc05 100644
--- a/ui/base/models/menu_model.h
+++ b/ui/base/models/menu_model.h
@@ -7,6 +7,7 @@
#include "base/string16.h"
#include "ui/base/models/menu_model_delegate.h"
+#include "ui/base/models/menu_separator_types.h"
#include "ui/base/ui_export.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/native_widget_types.h"
@@ -57,6 +58,9 @@ class UI_EXPORT MenuModel {
// Returns the type of item at the specified index.
virtual ItemType GetTypeAt(int index) const = 0;
+ // Returns the separator type at the specified index.
+ virtual ui::MenuSeparatorType GetSeparatorTypeAt(int index) const = 0;
+
// Returns the command id of the item at the specified index.
virtual int GetCommandIdAt(int index) const = 0;
« no previous file with comments | « chrome/browser/ui/views/wrench_menu.cc ('k') | ui/base/models/menu_separator_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698