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

Unified Diff: ash/system/tray/system_tray_delegate.h

Issue 9983002: Pass correct initial/user values when requesting power status (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add SystemTrayDelegate::RequestStatusUpdate 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
Index: ash/system/tray/system_tray_delegate.h
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h
index 420fd2daafaaa4622c458ff1b1c9563d97be44df..c3992964e4554752c066fb1805b6797042fd8df1 100644
--- a/ash/system/tray/system_tray_delegate.h
+++ b/ash/system/tray/system_tray_delegate.h
@@ -91,6 +91,9 @@ class SystemTrayDelegate {
// Gets the current power supply status.
virtual PowerSupplyStatus GetPowerSupplyStatus() const = 0;
+ // Requests a status update.
+ virtual void RequestStatusUpdate() const = 0;
+
// Shows settings.
virtual void ShowSettings() = 0;

Powered by Google App Engine
This is Rietveld 408576698