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

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: Updated comments, rebased to ToT, moved textfield opts to separte CL 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..f518cb3b4bedf92fa5c6e86325fd66e03eb96176 100644
--- a/ash/system/power/power_status_view.h
+++ b/ash/system/power/power_status_view.h
@@ -54,7 +54,11 @@ class PowerStatusView : public views::View {
// labels used only for VIEW_DEFAULT.
views::Label* time_status_label_;
+ // battery status indicator icon
Daniel Erat 2012/09/11 22:17:09 nit: capitalize first letter and add period, e.g.
views::ImageView* icon_;
+ // index of the current icon in the icon array image
Daniel Erat 2012/09/11 22:17:09 nit: add blank line above this one also, change c
+ 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