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

Unified Diff: chrome/browser/chromeos/status/clock_menu_button.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/chromeos/status/clock_menu_button.cc
diff --git a/chrome/browser/chromeos/status/clock_menu_button.cc b/chrome/browser/chromeos/status/clock_menu_button.cc
index a5f240f6e5d45a679e2eee9a192a33215e3546e9..7ffad630fd04143230696f6292939b263da9b2b6 100644
--- a/chrome/browser/chromeos/status/clock_menu_button.cc
+++ b/chrome/browser/chromeos/status/clock_menu_button.cc
@@ -160,9 +160,10 @@ int ClockMenuButton::horizontal_padding() {
return 3;
}
-// ClockMenuButton, views::MenuButtonDelegate implementation:
+// ClockMenuButton, views::MenuButtonListener implementation:
-void ClockMenuButton::RunMenu(views::View* source, const gfx::Point& pt) {
+void ClockMenuButton::OnMenuButtonClicked(views::View* source,
+ const gfx::Point& point) {
// View passed in must be a views::MenuButton, i.e. the ClockMenuButton.
DCHECK_EQ(source, this);
« no previous file with comments | « chrome/browser/chromeos/status/clock_menu_button.h ('k') | chrome/browser/chromeos/status/input_method_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698