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

Unified Diff: ash/common/system/web_notification/web_notification_tray.cc

Issue 2499453002: Add ink drop ripple to overview mode button (Closed)
Patch Set: Rebased Created 4 years, 1 month 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 | « ash/common/system/tray/tray_background_view.cc ('k') | ash/common/wm/overview/window_selector_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/web_notification/web_notification_tray.cc
diff --git a/ash/common/system/web_notification/web_notification_tray.cc b/ash/common/system/web_notification/web_notification_tray.cc
index 6aa24c70ba544370e518f4fbdbd42812e1cd10ce..4ca0327f8e4f7d2dadaa59c341b16fda9236739f 100644
--- a/ash/common/system/web_notification/web_notification_tray.cc
+++ b/ash/common/system/web_notification/web_notification_tray.cc
@@ -322,7 +322,7 @@ WebNotificationTray::WebNotificationTray(WmShelf* shelf,
counter_.reset(new WebNotificationLabel(animation_container_.get(), this));
tray_container()->AddChildView(counter_.get());
- SetContentsBackground();
+ SetContentsBackground(true);
message_center_tray_.reset(new message_center::MessageCenterTray(
this, message_center::MessageCenter::Get()));
popup_alignment_delegate_.reset(new AshPopupAlignmentDelegate(shelf));
@@ -380,7 +380,7 @@ bool WebNotificationTray::ShowMessageCenterInternal(bool show_settings) {
system_tray_->SetHideNotifications(true);
shelf()->UpdateAutoHideState();
- SetDrawBackgroundAsActive(true);
+ SetIsActive(true);
return true;
}
@@ -391,7 +391,7 @@ bool WebNotificationTray::ShowMessageCenter() {
void WebNotificationTray::HideMessageCenter() {
if (!message_center_bubble())
return;
- SetDrawBackgroundAsActive(false);
+ SetIsActive(false);
message_center_bubble_.reset();
should_block_shelf_auto_hide_ = false;
show_message_center_on_unlock_ = false;
« no previous file with comments | « ash/common/system/tray/tray_background_view.cc ('k') | ash/common/wm/overview/window_selector_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698