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

Unified Diff: ash/common/system/status_area_widget.cc

Issue 2053113002: Replaced BackgroundAnimator with ShelfBackgroundAnimator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into animate_shelf_chip_backgrounds Created 4 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 | « ash/common/system/status_area_widget.h ('k') | ash/common/system/tray/tray_background_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/status_area_widget.cc
diff --git a/ash/common/system/status_area_widget.cc b/ash/common/system/status_area_widget.cc
index 0d95965a196a583603aeebaddb0e24fc68f0cc4e..ada0972c044099b15bee9984ef61c38a2b378c6f 100644
--- a/ash/common/system/status_area_widget.cc
+++ b/ash/common/system/status_area_widget.cc
@@ -154,6 +154,18 @@ void StatusAreaWidget::OnGestureEvent(ui::GestureEvent* event) {
wm_shelf_->UpdateAutoHideForGestureEvent(event);
}
+void StatusAreaWidget::UpdateShelfItemBackground(int alpha) {
+ web_notification_tray_->UpdateShelfItemBackground(alpha);
+ system_tray_->UpdateShelfItemBackground(alpha);
+#if defined(OS_CHROMEOS)
+ virtual_keyboard_tray_->UpdateShelfItemBackground(alpha);
+ logout_button_tray_->UpdateShelfItemBackground(alpha);
+ ime_menu_tray_->UpdateShelfItemBackground(alpha);
+ palette_tray_->UpdateShelfItemBackground(alpha);
+#endif
+ overview_button_tray_->UpdateShelfItemBackground(alpha);
+}
+
void StatusAreaWidget::AddSystemTray() {
system_tray_ = new SystemTray(wm_shelf_);
status_area_widget_delegate_->AddTray(system_tray_);
« no previous file with comments | « ash/common/system/status_area_widget.h ('k') | ash/common/system/tray/tray_background_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698