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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc

Issue 2710673003: cros: Remove usage of GaiaScreenHandler outside of login/webui. (Closed)
Patch Set: Initial upload Created 3 years, 10 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
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/oobe_ui.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/webui/chromeos/login/oobe_ui.h" 5 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 465
466 ErrorScreen* OobeUI::GetErrorScreen() { 466 ErrorScreen* OobeUI::GetErrorScreen() {
467 return error_screen_.get(); 467 return error_screen_.get();
468 } 468 }
469 469
470 SupervisedUserCreationScreenHandler* 470 SupervisedUserCreationScreenHandler*
471 OobeUI::GetSupervisedUserCreationScreenView() { 471 OobeUI::GetSupervisedUserCreationScreenView() {
472 return supervised_user_creation_screen_view_; 472 return supervised_user_creation_screen_view_;
473 } 473 }
474 474
475 GaiaScreenHandler* OobeUI::GetGaiaScreenView() { 475 GaiaView* OobeUI::GetGaiaScreenView() {
476 return gaia_screen_handler_; 476 return gaia_screen_handler_;
477 } 477 }
478 478
479 UserBoardView* OobeUI::GetUserBoardView() { 479 UserBoardView* OobeUI::GetUserBoardView() {
480 return user_board_screen_handler_; 480 return user_board_screen_handler_;
481 } 481 }
482 482
483 void OobeUI::OnShutdownPolicyChanged(bool reboot_on_shutdown) { 483 void OobeUI::OnShutdownPolicyChanged(bool reboot_on_shutdown) {
484 core_handler_->UpdateShutdownAndRebootVisibility(reboot_on_shutdown); 484 core_handler_->UpdateShutdownAndRebootVisibility(reboot_on_shutdown);
485 } 485 }
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 g_browser_process->local_state()->GetBoolean(prefs::kOobeMdMode)) { 637 g_browser_process->local_state()->GetBoolean(prefs::kOobeMdMode)) {
638 return; 638 return;
639 } 639 }
640 640
641 base::DictionaryValue localized_strings; 641 base::DictionaryValue localized_strings;
642 GetLocalizedStrings(&localized_strings); 642 GetLocalizedStrings(&localized_strings);
643 static_cast<CoreOobeView*>(core_handler_)->ReloadContent(localized_strings); 643 static_cast<CoreOobeView*>(core_handler_)->ReloadContent(localized_strings);
644 } 644 }
645 645
646 } // namespace chromeos 646 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/oobe_ui.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698