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

Unified Diff: chrome/browser/ui/views/toolbar_view.cc

Issue 9693022: views: Rename MenuButtonDelegate::RunMenu to something more obvious. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: menu_button_listener.h Created 8 years, 9 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/toolbar_view.h ('k') | ui/views/controls/button/menu_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/toolbar_view.cc
diff --git a/chrome/browser/ui/views/toolbar_view.cc b/chrome/browser/ui/views/toolbar_view.cc
index 86d386d2859685da5ed4ba0a6a37760fdbcdde97..6fd96b3007fc08ce894b9017152503b2834d31d0 100644
--- a/chrome/browser/ui/views/toolbar_view.cc
+++ b/chrome/browser/ui/views/toolbar_view.cc
@@ -326,9 +326,10 @@ bool ToolbarView::GetAcceleratorInfo(int id, ui::Accelerator* accel) {
}
////////////////////////////////////////////////////////////////////////////////
-// ToolbarView, views::MenuButtonDelegate implementation:
+// ToolbarView, views::MenuButtonListener implementation:
-void ToolbarView::RunMenu(views::View* source, const gfx::Point& /* pt */) {
+void ToolbarView::OnMenuButtonClicked(views::View* source,
+ const gfx::Point& point) {
DCHECK_EQ(VIEW_ID_APP_MENU, source->id());
wrench_menu_.reset(new WrenchMenu(browser_));
« no previous file with comments | « chrome/browser/ui/views/toolbar_view.h ('k') | ui/views/controls/button/menu_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698