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

Unified Diff: ui/message_center/views/notification_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: ui/message_center/views/notification_view.h
diff --git a/ui/message_center/views/notification_view.h b/ui/message_center/views/notification_view.h
index 127b5a91ea61054b718594a03e595c786bde6f81..22b27ba1a8c1d0ef47ff756c749982266921458f 100644
--- a/ui/message_center/views/notification_view.h
+++ b/ui/message_center/views/notification_view.h
@@ -11,7 +11,6 @@
#include "base/macros.h"
#include "ui/message_center/message_center_export.h"
#include "ui/message_center/views/message_view.h"
-#include "ui/views/controls/button/button.h"
#include "ui/views/controls/button/image_button.h"
#include "ui/views/view_targeter_delegate.h"
@@ -32,7 +31,7 @@ class ProportionalImageView;
// returned by the Create() factory method below.
class MESSAGE_CENTER_EXPORT NotificationView
: public MessageView,
- public views::ButtonListener,
+ public views::ImageButtonDelegate,
public views::ViewTargeterDelegate {
public:
NotificationView(MessageCenterController* controller,

Powered by Google App Engine
This is Rietveld 408576698