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..e81304e25cb8c0daa44f42f0231754d24a463e26 100644 |
--- a/ash/common/system/status_area_widget.cc |
+++ b/ash/common/system/status_area_widget.cc |
@@ -154,6 +154,17 @@ 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) |
+ palette_tray_->UpdateShelfItemBackground(alpha); |
+ virtual_keyboard_tray_->UpdateShelfItemBackground(alpha); |
+ logout_button_tray_->UpdateShelfItemBackground(alpha); |
James Cook
2016/07/27 00:30:39
ime_menu_tray_ too?
Also, can the order here matc
bruthig
2016/07/27 17:05:45
Done.
|
+#endif |
+ overview_button_tray_->UpdateShelfItemBackground(alpha); |
+} |
+ |
void StatusAreaWidget::AddSystemTray() { |
system_tray_ = new SystemTray(wm_shelf_); |
status_area_widget_delegate_->AddTray(system_tray_); |