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

Unified Diff: ash/system/status_area_widget.cc

Issue 302153002: Update Status Area Paint Scheduling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
« ash/shelf/shelf_widget.cc ('K') | « ash/system/status_area_widget.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/status_area_widget.cc
diff --git a/ash/system/status_area_widget.cc b/ash/system/status_area_widget.cc
index ac2cffbf3c7fc38f8dc5f0a3934fb144e4a4c914..92aa950e109f5c00f3495f14ca907f474ade8542 100644
--- a/ash/system/status_area_widget.cc
+++ b/ash/system/status_area_widget.cc
@@ -117,6 +117,17 @@ bool StatusAreaWidget::IsMessageBubbleShown() const {
web_notification_tray_->IsMessageCenterBubbleVisible()));
}
+void StatusAreaWidget::SchedulePaint() {
+ status_area_widget_delegate_->SchedulePaint();
+ web_notification_tray_->SchedulePaint();
+ system_tray_->SchedulePaint();
+#if defined(OS_CHROMEOS)
+ virtual_keyboard_tray_->SchedulePaint();
+ logout_button_tray_->SchedulePaint();
+#endif
+ overview_button_tray_->SchedulePaint();
+}
+
void StatusAreaWidget::OnNativeWidgetActivationChanged(bool active) {
Widget::OnNativeWidgetActivationChanged(active);
if (active)
« ash/shelf/shelf_widget.cc ('K') | « ash/system/status_area_widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698