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

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

Issue 2878055: Make theme change notifications auto-propagate through the view hierarchy, in... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 } 157 }
158 158
159 bool BackgroundView::IsBrowserMode() const { 159 bool BackgroundView::IsBrowserMode() const {
160 return false; 160 return false;
161 } 161 }
162 162
163 bool BackgroundView::IsScreenLockerMode() const { 163 bool BackgroundView::IsScreenLockerMode() const {
164 return false; 164 return false;
165 } 165 }
166 166
167 void BackgroundView::LocaleChanged() { 167 void BackgroundView::OnLocaleChanged() {
168 Layout(); 168 Layout();
169 SchedulePaint(); 169 SchedulePaint();
170 } 170 }
171 171
172 void BackgroundView::InitStatusArea() { 172 void BackgroundView::InitStatusArea() {
173 DCHECK(status_area_ == NULL); 173 DCHECK(status_area_ == NULL);
174 status_area_ = new StatusAreaView(this); 174 status_area_ = new StatusAreaView(this);
175 status_area_->Init(); 175 status_area_->Init();
176 AddChildView(status_area_); 176 AddChildView(status_area_);
177 } 177 }
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 boot_times.total, 274 boot_times.total,
275 boot_times.firmware, 275 boot_times.firmware,
276 boot_times.pre_startup, 276 boot_times.pre_startup,
277 boot_times.system); 277 boot_times.system);
278 } 278 }
279 // Use UTF8ToWide once this string is localized. 279 // Use UTF8ToWide once this string is localized.
280 boot_times_label_->SetText(ASCIIToWide(boot_times_text)); 280 boot_times_label_->SetText(ASCIIToWide(boot_times_text));
281 } 281 }
282 282
283 } // namespace chromeos 283 } // 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