| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |