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

Unified Diff: chrome/browser/ui/views/profiles/avatar_button_delegate.h

Issue 2851543002: Update avatar button to MD (part 1) (Closed)
Patch Set: Created 3 years, 8 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/profiles/avatar_button_delegate.h
diff --git a/chrome/browser/ui/views/profiles/avatar_button_delegate.h b/chrome/browser/ui/views/profiles/avatar_button_delegate.h
index a5f0bb60559bc443a36e635632e5e99e527884d1..f8f6a440f873a90c8262b541db65def82df2705b 100644
--- a/chrome/browser/ui/views/profiles/avatar_button_delegate.h
+++ b/chrome/browser/ui/views/profiles/avatar_button_delegate.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_AVATAR_BUTTON_DELEGATE_H_
#define CHROME_BROWSER_UI_VIEWS_PROFILES_AVATAR_BUTTON_DELEGATE_H_
-#include "ui/views/controls/button/button.h"
+#include "ui/views/controls/button/menu_button_listener.h"
// Delegate allowing NewAvatarButton to communicate back to its manager.
-class AvatarButtonDelegate : public views::ButtonListener {
+class AvatarButtonDelegate : public views::MenuButtonListener {
public:
// Called when the preferred size changed, e.g., due to a profile name change.
virtual void ButtonPreferredSizeChanged() = 0;
Evan Stade 2017/04/27 17:15:02 this is not your doing, but it seems like we shoul
emx 2017/04/28 12:39:40 Thanks, this simplifies things quite a bit!

Powered by Google App Engine
This is Rietveld 408576698