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

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

Issue 2959363002: Add ripple effect to new-style notification header. (Closed)
Patch Set: Resolve review comments. 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..3c85b05901fe1f73b9c315f4933f2363e9f5e98a 100644
--- a/ui/message_center/views/notification_header_view.h
+++ b/ui/message_center/views/notification_header_view.h
@@ -32,6 +32,11 @@ class NotificationHeaderView : public views::CustomButton {
bool IsCloseButtonEnabled();
bool IsCloseButtonFocused();
+ std::unique_ptr<views::InkDrop> CreateInkDrop() override;
yoshiki 2017/06/29 08:09:06 nit: This class is mix of inherited and original m
tetsui 2017/06/29 11:35:52 Done.
+ std::unique_ptr<views::InkDropRipple> CreateInkDropRipple() const override;
+ std::unique_ptr<views::InkDropHighlight> CreateInkDropHighlight()
+ const 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