| 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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 } | 395 } |
| 396 | 396 |
| 397 ControllerPairingScreenView* OobeUI::GetControllerPairingScreenView() { | 397 ControllerPairingScreenView* OobeUI::GetControllerPairingScreenView() { |
| 398 return GetView<ControllerPairingScreenHandler>(); | 398 return GetView<ControllerPairingScreenHandler>(); |
| 399 } | 399 } |
| 400 | 400 |
| 401 HostPairingScreenView* OobeUI::GetHostPairingScreenView() { | 401 HostPairingScreenView* OobeUI::GetHostPairingScreenView() { |
| 402 return GetView<HostPairingScreenHandler>(); | 402 return GetView<HostPairingScreenHandler>(); |
| 403 } | 403 } |
| 404 | 404 |
| 405 DeviceDisabledScreenView* OobeUI::GetDeviceDisabledScreenView() { | |
| 406 return GetView<DeviceDisabledScreenHandler>(); | |
| 407 } | |
| 408 | |
| 409 UserImageView* OobeUI::GetUserImageView() { | 405 UserImageView* OobeUI::GetUserImageView() { |
| 410 return GetView<UserImageScreenHandler>(); | 406 return GetView<UserImageScreenHandler>(); |
| 411 } | 407 } |
| 412 | 408 |
| 413 ErrorScreen* OobeUI::GetErrorScreen() { | 409 ErrorScreen* OobeUI::GetErrorScreen() { |
| 414 return error_screen_.get(); | 410 return error_screen_.get(); |
| 415 } | 411 } |
| 416 | 412 |
| 417 SupervisedUserCreationScreenHandler* | 413 SupervisedUserCreationScreenHandler* |
| 418 OobeUI::GetSupervisedUserCreationScreenView() { | 414 OobeUI::GetSupervisedUserCreationScreenView() { |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 g_browser_process->local_state()->GetBoolean(prefs::kOobeMdMode)) { | 584 g_browser_process->local_state()->GetBoolean(prefs::kOobeMdMode)) { |
| 589 return; | 585 return; |
| 590 } | 586 } |
| 591 | 587 |
| 592 base::DictionaryValue localized_strings; | 588 base::DictionaryValue localized_strings; |
| 593 GetLocalizedStrings(&localized_strings); | 589 GetLocalizedStrings(&localized_strings); |
| 594 GetCoreOobeView()->ReloadContent(localized_strings); | 590 GetCoreOobeView()->ReloadContent(localized_strings); |
| 595 } | 591 } |
| 596 | 592 |
| 597 } // namespace chromeos | 593 } // namespace chromeos |
| OLD | NEW |