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

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

Issue 2966673002: Add ripple effect to action in expand button. (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_view_md.cc
diff --git a/ui/message_center/views/notification_view_md.cc b/ui/message_center/views/notification_view_md.cc
index 2f9e2c54fd3867cc1128fe72d7664471bc5c9b29..b09ba717d1494b57c33510715f636b6dbbede148 100644
--- a/ui/message_center/views/notification_view_md.cc
+++ b/ui/message_center/views/notification_view_md.cc
@@ -489,8 +489,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();

Powered by Google App Engine
This is Rietveld 408576698