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

Unified Diff: ui/views/controls/menu/menu_runner.h

Issue 10832360: Change to address default selection of menu item (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/views/controls/menu/menu_runner.h
diff --git a/ui/views/controls/menu/menu_runner.h b/ui/views/controls/menu/menu_runner.h
index cbb380fbc5d9873e91f10b75bd64f8c85a22fa16..d5adff6479f94655ff26a28e641daf1d2384cff9 100644
--- a/ui/views/controls/menu/menu_runner.h
+++ b/ui/views/controls/menu/menu_runner.h
@@ -52,6 +52,10 @@ class VIEWS_EXPORT MenuRunner {
// caller, instead the delegate is notified when the menu closes via the
// DropMenuClosed method.
FOR_DROP = 1 << 2,
+
+ // The menu is a context menu (not necessarily nested), For example right
sky 2012/08/20 21:13:48 nit: For -> for, or ',' -> '.'
Harry McCleave 2012/08/21 01:30:18 Done.
+ // click on a link on a website in the browser.
+ CONTEXT_MENU = 1 << 3,
};
enum RunResult {

Powered by Google App Engine
This is Rietveld 408576698