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

Unified Diff: chrome/browser/ui/views/infobars/after_translate_infobar.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
Index: chrome/browser/ui/views/infobars/after_translate_infobar.cc
diff --git a/chrome/browser/ui/views/infobars/after_translate_infobar.cc b/chrome/browser/ui/views/infobars/after_translate_infobar.cc
index 55c4d73ecac0430d818a27f7faa6efda8c6366c5..6243fae101d223073b62ce3458df32c26710fabc 100644
--- a/chrome/browser/ui/views/infobars/after_translate_infobar.cc
+++ b/chrome/browser/ui/views/infobars/after_translate_infobar.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -164,7 +164,8 @@ void AfterTranslateInfoBar::TargetLanguageChanged() {
}
}
-void AfterTranslateInfoBar::RunMenu(View* source, const gfx::Point& pt) {
+void AfterTranslateInfoBar::OnMenuButtonClicked(views::View* source,
+ const gfx::Point& point) {
if (!owned())
return; // We're closing; don't call anything, it might access the owner.
ui::MenuModel* menu_model = NULL;

Powered by Google App Engine
This is Rietveld 408576698