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

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

Issue 122027: Remove the Menu object, converting all the remaining callers to use Menu2. I'... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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/views/toolbar_view.cc ('k') | views/controls/menu/menu_2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/menu_2.h
===================================================================
--- views/controls/menu/menu_2.h (revision 18306)
+++ views/controls/menu/menu_2.h (working copy)
@@ -114,8 +114,10 @@
};
// Runs the menu at the specified point. This may or may not block, depending
- // on the platform and type of menu in use.
+ // on the platform and type of menu in use. RunContextMenuAt is the same, but
+ // the alignment is the default for a context menu.
void RunMenuAt(const gfx::Point& point, Alignment alignment);
+ void RunContextMenuAt(const gfx::Point& point);
// Cancels the active menu.
void CancelMenu();
« no previous file with comments | « chrome/browser/views/toolbar_view.cc ('k') | views/controls/menu/menu_2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698