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

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

Issue 2958963002: Add ripple effect to action buttons in new-style notification. (Closed)
Patch Set: Fix hover opacity issue. 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
« no previous file with comments | « no previous file | ui/message_center/views/notification_view_md.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/notification_view_md.h
diff --git a/ui/message_center/views/notification_view_md.h b/ui/message_center/views/notification_view_md.h
index 35fdbbab839a45b4392dc4993021203c031e75a8..897ca450609024947d2867fb73882d39487ba17e 100644
--- a/ui/message_center/views/notification_view_md.h
+++ b/ui/message_center/views/notification_view_md.h
@@ -16,7 +16,6 @@
namespace views {
class Label;
-class LabelButton;
class ProgressBar;
}
@@ -29,6 +28,7 @@ class ProportionalImageView;
namespace {
class CompactTitleMessageView;
class ItemView;
+class NotificationButtonMD;
}
// View that displays all current types of notification (web, basic, image, and
@@ -104,7 +104,7 @@ class MESSAGE_CENTER_EXPORT NotificationViewMD
ProportionalImageView* icon_view_ = nullptr;
views::View* image_container_ = nullptr;
ProportionalImageView* image_view_ = nullptr;
- std::vector<views::LabelButton*> action_buttons_;
+ std::vector<NotificationButtonMD*> action_buttons_;
fukino 2017/06/29 04:11:03 We can still keep the type as views::LabelButton*
tetsui 2017/06/29 04:23:11 Done.
std::vector<ItemView*> item_views_;
views::ProgressBar* progress_bar_view_ = nullptr;
CompactTitleMessageView* compact_title_message_view_ = nullptr;
« no previous file with comments | « no previous file | ui/message_center/views/notification_view_md.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698