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

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

Issue 6904160: Implement new gray mock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review nits Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 this, GetNativeWindow())); 302 this, GetNativeWindow()));
303 } 303 }
304 proxy_settings_dialog_->Show(); 304 proxy_settings_dialog_->Show();
305 } 305 }
306 } 306 }
307 307
308 StatusAreaHost::ScreenMode BackgroundView::GetScreenMode() const { 308 StatusAreaHost::ScreenMode BackgroundView::GetScreenMode() const {
309 return kLoginMode; 309 return kLoginMode;
310 } 310 }
311 311
312 StatusAreaHost::TextStyle BackgroundView::GetTextStyle() const {
313 return kWhitePlain;
314 }
315
312 // Overridden from LoginHtmlDialog::Delegate: 316 // Overridden from LoginHtmlDialog::Delegate:
313 void BackgroundView::OnLocaleChanged() { 317 void BackgroundView::OnLocaleChanged() {
314 // Proxy settings dialog contains localized strings. 318 // Proxy settings dialog contains localized strings.
315 proxy_settings_dialog_.reset(); 319 proxy_settings_dialog_.reset();
316 InitInfoLabels(); 320 InitInfoLabels();
317 SchedulePaint(); 321 SchedulePaint();
318 } 322 }
319 323
320 /////////////////////////////////////////////////////////////////////////////// 324 ///////////////////////////////////////////////////////////////////////////////
321 // BackgroundView private: 325 // BackgroundView private:
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 boot_times_label_->SetText(ASCIIToWide(boot_times_text)); 532 boot_times_label_->SetText(ASCIIToWide(boot_times_text));
529 } 533 }
530 534
531 void BackgroundView::OnPolicyStateChanged( 535 void BackgroundView::OnPolicyStateChanged(
532 policy::CloudPolicySubsystem::PolicySubsystemState state, 536 policy::CloudPolicySubsystem::PolicySubsystemState state,
533 policy::CloudPolicySubsystem::ErrorDetails error_details) { 537 policy::CloudPolicySubsystem::ErrorDetails error_details) {
534 UpdateEnterpriseInfo(); 538 UpdateEnterpriseInfo();
535 } 539 }
536 540
537 } // namespace chromeos 541 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/background_view.h ('k') | chrome/browser/chromeos/status/clock_menu_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698