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

Unified Diff: athena/system/background_controller.cc

Issue 483033003: [Athena] Add status icons and system time to the centered home card (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: athena/system/background_controller.cc
diff --git a/athena/system/background_controller.cc b/athena/system/background_controller.cc
index f4d346a745b4d050405db64343fa0f72321dcf99..ef3fb9b9db5fd2e267e1c720803e1d20322028dc 100644
--- a/athena/system/background_controller.cc
+++ b/athena/system/background_controller.cc
@@ -17,8 +17,11 @@ namespace athena {
class BackgroundView : public views::View {
public:
BackgroundView()
- : time_view_(SystemUI::Get()->CreateTimeView()),
- status_icon_view_(SystemUI::Get()->CreateStatusIconView()) {
+ : time_view_(NULL),
+ status_icon_view_(NULL) {
+ time_view_ = SystemUI::Get()->CreateTimeView(SystemUI::COLOR_SCHEME_LIGHT);
+ status_icon_view_ =
+ SystemUI::Get()->CreateStatusIconView(SystemUI::COLOR_SCHEME_LIGHT);
AddChildView(time_view_);
AddChildView(status_icon_view_);
}

Powered by Google App Engine
This is Rietveld 408576698