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

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

Issue 2744463002: Add VectorIconButton functionality to ImageButton. (Closed)
Patch Set: fix cros build Created 3 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/profiles/profile_chooser_view.h
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.h b/chrome/browser/ui/views/profiles/profile_chooser_view.h
index 5ba9f45c66a5c2809cb71a04555218df0b196484..53e298b18cc1a45bd369ec957022d964e6ae2dfd 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.h
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.h
@@ -20,13 +20,12 @@
#include "content/public/browser/web_contents_delegate.h"
#include "google_apis/gaia/oauth2_token_service.h"
#include "ui/views/bubble/bubble_dialog_delegate.h"
-#include "ui/views/controls/button/button.h"
+#include "ui/views/controls/button/image_button.h"
#include "ui/views/controls/link_listener.h"
#include "ui/views/controls/styled_label_listener.h"
namespace views {
class GridLayout;
-class ImageButton;
class Link;
class LabelButton;
}
@@ -37,7 +36,7 @@ class Browser;
// It displays a list of profiles and allows users to switch between profiles.
class ProfileChooserView : public content::WebContentsDelegate,
public views::BubbleDialogDelegateView,
- public views::ButtonListener,
+ public views::ImageButtonDelegate,
public views::LinkListener,
public views::StyledLabelListener,
public AvatarMenuObserver,
@@ -87,7 +86,7 @@ class ProfileChooserView : public content::WebContentsDelegate,
// content::WebContentsDelegate:
bool HandleContextMenu(const content::ContextMenuParams& params) override;
- // views::ButtonListener:
+ // views::ImageButtonDelegate:
void ButtonPressed(views::Button* sender, const ui::Event& event) override;
// views::LinkListener:

Powered by Google App Engine
This is Rietveld 408576698