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

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

Issue 11421209: Change the battery percentage label color to the same light gray used for date text in header row. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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') | no next file with comments »
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 706096ebcd7f385b85a1992bdd6abc4e3ec295ba..f394b06517822677cc495ca514e279ccc6d0cf80 100644
--- a/ash/system/power/power_status_view.h
+++ b/ash/system/power/power_status_view.h
@@ -31,6 +31,7 @@ class PowerStatusView : public views::View {
// Overridden from views::View.
virtual gfx::Size GetPreferredSize() OVERRIDE;
+ virtual void Layout() OVERRIDE;
private:
void LayoutDefaultView();
@@ -56,6 +57,7 @@ class PowerStatusView : public views::View {
// Labels used only for VIEW_DEFAULT.
views::Label* time_status_label_;
+ views::Label* percentage_label_;
// Battery status indicator icon.
views::ImageView* icon_;
« no previous file with comments | « no previous file | ash/system/power/power_status_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698