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

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

Issue 2966673002: Add ripple effect to action in expand button. (Closed)
Patch Set: Rebased. Created 3 years, 5 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 | « ui/message_center/views/notification_header_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/notification_view_md.cc
diff --git a/ui/message_center/views/notification_view_md.cc b/ui/message_center/views/notification_view_md.cc
index 9625f54d48f1e5f11fa31e8990e3ee3dcae9ae9e..551a8b0de64d2aa241af01214c07e35f99070649 100644
--- a/ui/message_center/views/notification_view_md.cc
+++ b/ui/message_center/views/notification_view_md.cc
@@ -434,8 +434,7 @@ void NotificationViewMD::ButtonPressed(views::Button* sender,
// Tapping anywhere on |header_row_| can expand the notification, though only
// |expand_button| can be focused by TAB.
- if (IsExpandable() &&
- (sender == header_row_ || sender == header_row_->expand_button())) {
+ if (IsExpandable() && sender == header_row_) {
ToggleExpanded();
Layout();
SchedulePaint();
« no previous file with comments | « ui/message_center/views/notification_header_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698