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

Side by Side Diff: chrome/browser/chromeos/login/background_view.cc

Issue 2878072: Merge 53736 - Make theme change notifications auto-propagate through the view... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/background_view.h" 5 #include "chrome/browser/chromeos/login/background_view.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "app/x11_util.h" 9 #include "app/x11_util.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 } 145 }
146 146
147 bool BackgroundView::IsBrowserMode() const { 147 bool BackgroundView::IsBrowserMode() const {
148 return false; 148 return false;
149 } 149 }
150 150
151 bool BackgroundView::IsScreenLockerMode() const { 151 bool BackgroundView::IsScreenLockerMode() const {
152 return false; 152 return false;
153 } 153 }
154 154
155 void BackgroundView::LocaleChanged() { 155 void BackgroundView::OnLocaleChanged() {
156 Layout(); 156 Layout();
157 SchedulePaint(); 157 SchedulePaint();
158 } 158 }
159 159
160 void BackgroundView::InitStatusArea() { 160 void BackgroundView::InitStatusArea() {
161 DCHECK(status_area_ == NULL); 161 DCHECK(status_area_ == NULL);
162 status_area_ = new StatusAreaView(this); 162 status_area_ = new StatusAreaView(this);
163 status_area_->Init(); 163 status_area_->Init();
164 AddChildView(status_area_); 164 AddChildView(status_area_);
165 } 165 }
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 boot_times.total, 237 boot_times.total,
238 boot_times.firmware, 238 boot_times.firmware,
239 boot_times.pre_startup, 239 boot_times.pre_startup,
240 boot_times.system); 240 boot_times.system);
241 } 241 }
242 // Use UTF8ToWide once this string is localized. 242 // Use UTF8ToWide once this string is localized.
243 boot_times_label_->SetText(ASCIIToWide(boot_times_text)); 243 boot_times_label_->SetText(ASCIIToWide(boot_times_text));
244 } 244 }
245 245
246 } // namespace chromeos 246 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/background_view.h ('k') | chrome/browser/chromeos/login/eula_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698