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

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

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 | « views/controls/menu/menu_2.h ('k') | views/controls/menu/native_menu_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/menu_2.cc
===================================================================
--- views/controls/menu/menu_2.cc (revision 18306)
+++ views/controls/menu/menu_2.cc (working copy)
@@ -50,6 +50,10 @@
wrapper_->RunMenuAt(point, alignment);
}
+void Menu2::RunContextMenuAt(const gfx::Point& point) {
+ wrapper_->RunMenuAt(point, ALIGN_TOPLEFT);
+}
+
void Menu2::CancelMenu() {
wrapper_->CancelMenu();
}
« no previous file with comments | « views/controls/menu/menu_2.h ('k') | views/controls/menu/native_menu_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698