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

Unified Diff: ash/system/brightness/tray_brightness.cc

Issue 10200006: ash: Refresh the tray items, instead of recreating them, when login status changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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/system/brightness/tray_brightness.h ('k') | ash/system/date/tray_date.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/brightness/tray_brightness.cc
diff --git a/ash/system/brightness/tray_brightness.cc b/ash/system/brightness/tray_brightness.cc
index c59da84f31197a1f7afebdb06e11c6b1e21130fd..fd75528d6500e5548ed9e0ecfb401fcbf65680c5 100644
--- a/ash/system/brightness/tray_brightness.cc
+++ b/ash/system/brightness/tray_brightness.cc
@@ -184,6 +184,9 @@ void TrayBrightness::DestroyDetailedView() {
brightness_view_.reset();
}
+void TrayBrightness::UpdateAfterLoginStatusChange(user::LoginStatus status) {
+}
+
void TrayBrightness::OnBrightnessChanged(double percent, bool user_initiated) {
current_percent_ = percent;
got_current_percent_ = true;
« no previous file with comments | « ash/system/brightness/tray_brightness.h ('k') | ash/system/date/tray_date.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698