| OLD | NEW |
| 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/ui/webui/chromeos/login/oobe_ui.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 // Note, handlers_[0] is a GenericHandler used by the WebUI. | 229 // Note, handlers_[0] is a GenericHandler used by the WebUI. |
| 230 for (size_t i = 1; i < handlers_.size(); ++i) { | 230 for (size_t i = 1; i < handlers_.size(); ++i) { |
| 231 static_cast<BaseScreenHandler*>(handlers_[i])->InitializeBase(); | 231 static_cast<BaseScreenHandler*>(handlers_[i])->InitializeBase(); |
| 232 } | 232 } |
| 233 } | 233 } |
| 234 | 234 |
| 235 void OobeUI::ShowOobeUI(bool show) { | 235 void OobeUI::ShowOobeUI(bool show) { |
| 236 core_handler_->ShowOobeUI(show); | 236 core_handler_->ShowOobeUI(show); |
| 237 } | 237 } |
| 238 | 238 |
| 239 void OobeUI::ShowSigninScreen() { | 239 void OobeUI::ShowSigninScreen(SigninScreenHandlerDelegate* delegate) { |
| 240 signin_screen_handler_->SetDelegate(delegate); |
| 240 signin_screen_handler_->Show(core_handler_->show_oobe_ui()); | 241 signin_screen_handler_->Show(core_handler_->show_oobe_ui()); |
| 241 } | 242 } |
| 242 | 243 |
| 243 void OobeUI::OnLoginPromptVisible() { | 244 void OobeUI::OnLoginPromptVisible() { |
| 244 user_image_screen_actor_->CheckCameraPresence(); | 245 user_image_screen_actor_->CheckCameraPresence(); |
| 245 } | 246 } |
| 246 | 247 |
| 247 } // namespace chromeos | 248 } // namespace chromeos |
| OLD | NEW |