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

Unified Diff: ui/message_center/views/notification_header_view.h

Issue 2959363002: Add ripple effect to new-style notification header. (Closed)
Patch Set: Created 3 years, 6 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_header_view.h
diff --git a/ui/message_center/views/notification_header_view.h b/ui/message_center/views/notification_header_view.h
index b5fbbc0aa3f3f142394766ade6e3d18d8236918c..8841191f5b9e0b3527f201550950dd3e34fb5ca1 100644
--- a/ui/message_center/views/notification_header_view.h
+++ b/ui/message_center/views/notification_header_view.h
@@ -32,6 +32,13 @@ class NotificationHeaderView : public views::CustomButton {
bool IsCloseButtonEnabled();
bool IsCloseButtonFocused();
+ std::unique_ptr<views::InkDrop> CreateInkDrop() override;
+ std::unique_ptr<views::InkDropRipple> CreateInkDropRipple() const override;
+ std::unique_ptr<views::InkDropHighlight> CreateInkDropHighlight()
+ const override;
+
+ void OnMouseEvent(ui::MouseEvent* event) override;
+
views::ImageButton* expand_button() { return expand_button_; }
views::ImageButton* settings_button() { return settings_button_; }
views::ImageButton* close_button() { return close_button_; }

Powered by Google App Engine
This is Rietveld 408576698