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

Unified Diff: ash/system/power/power_status_view.h

Issue 10907037: Only update system power indicators on change (Closed) Base URL: https://git.chromium.org/git/chromium/src@git-svn
Patch Set: Nit fixes.:wq Created 8 years, 3 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 | « no previous file | ash/system/power/power_status_view.cc » ('j') | ash/system/power/power_status_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/power/power_status_view.h
diff --git a/ash/system/power/power_status_view.h b/ash/system/power/power_status_view.h
index 340cd462bd8d8258a14f54a55192a23602cf42ce..7143b0eaaf4fbcab175aed9429102f13ba3f757f 100644
--- a/ash/system/power/power_status_view.h
+++ b/ash/system/power/power_status_view.h
@@ -47,14 +47,19 @@ class PowerStatusView : public views::View {
// if true; otherwise, layout the UI items on the left side.
bool default_view_right_align_;
- // labels used only for VIEW_NOTIFICATION.
+ // Labels used only for VIEW_NOTIFICATION.
views::Label* status_label_;
views::Label* time_label_;
- // labels used only for VIEW_DEFAULT.
+ // Labels used only for VIEW_DEFAULT.
views::Label* time_status_label_;
+ // Battery status indicator icon.
views::ImageView* icon_;
+
+ // Index of the current icon in the icon array image, or -1 if unknown
Daniel Erat 2012/09/11 23:31:04 nit: add trailing period
+ int icon_image_index_;
+
ViewType view_type_;
PowerSupplyStatus supply_status_;
« no previous file with comments | « no previous file | ash/system/power/power_status_view.cc » ('j') | ash/system/power/power_status_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698