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

Unified Diff: ash/common/system/tray/system_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/actionable_view.cc ('k') | ash/common/system/tray/system_tray_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/system_tray.cc
diff --git a/ash/common/system/tray/system_tray.cc b/ash/common/system/tray/system_tray.cc
index a530f0b62738bdf32f983228740d522d92acd94c..0dcd1ea32aed3fb47db5c8d10058149a4c71165f 100644
--- a/ash/common/system/tray/system_tray.cc
+++ b/ash/common/system/tray/system_tray.cc
@@ -220,7 +220,7 @@ SystemTray::SystemTray(WmShelf* wm_shelf)
tray_update_(nullptr),
screen_capture_tray_item_(nullptr),
screen_share_tray_item_(nullptr) {
- SetContentsBackground();
+ SetContentsBackground(true);
}
SystemTray::~SystemTray() {
@@ -658,7 +658,7 @@ void SystemTray::ShowItems(const std::vector<SystemTrayItem*>& items,
// When we show the system menu in our alternate shelf layout, we need to
// tint the background.
if (full_system_tray_menu_)
- SetDrawBackgroundAsActive(true);
+ SetIsActive(true);
}
void SystemTray::UpdateNotificationBubble() {
@@ -928,7 +928,7 @@ void SystemTray::CloseSystemBubbleAndDeactivateSystemTray() {
// When closing a system bubble with the alternate shelf layout, we need to
// turn off the active tinting of the shelf.
if (full_system_tray_menu_) {
- SetDrawBackgroundAsActive(false);
+ SetIsActive(false);
full_system_tray_menu_ = false;
}
}
« no previous file with comments | « ash/common/system/tray/actionable_view.cc ('k') | ash/common/system/tray/system_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698