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

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

Issue 11264017: On active, dismiss the retail mode screensaver immidiately. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed irrelevant test. Created 8 years, 2 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) 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 <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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 287
288 void OobeUI::InitializeHandlers() { 288 void OobeUI::InitializeHandlers() {
289 for (size_t i = 0; i < handlers_.size(); ++i) 289 for (size_t i = 0; i < handlers_.size(); ++i)
290 handlers_[i]->InitializeBase(); 290 handlers_[i]->InitializeBase();
291 } 291 }
292 292
293 void OobeUI::ShowOobeUI(bool show) { 293 void OobeUI::ShowOobeUI(bool show) {
294 core_handler_->ShowOobeUI(show); 294 core_handler_->ShowOobeUI(show);
295 } 295 }
296 296
297 void OobeUI::ShowRetailModeLoginSpinner() {
298 signin_screen_handler_->ShowRetailModeLoginSpinner();
299 }
300
297 void OobeUI::ShowSigninScreen(SigninScreenHandlerDelegate* delegate, 301 void OobeUI::ShowSigninScreen(SigninScreenHandlerDelegate* delegate,
298 NativeWindowDelegate* native_window_delegate) { 302 NativeWindowDelegate* native_window_delegate) {
299 signin_screen_handler_->SetDelegate(delegate); 303 signin_screen_handler_->SetDelegate(delegate);
300 signin_screen_handler_->SetNativeWindowDelegate(native_window_delegate); 304 signin_screen_handler_->SetNativeWindowDelegate(native_window_delegate);
301 error_screen_handler_->SetNativeWindowDelegate(native_window_delegate); 305 error_screen_handler_->SetNativeWindowDelegate(native_window_delegate);
302 306
303 signin_screen_handler_->Show(core_handler_->show_oobe_ui()); 307 signin_screen_handler_->Show(core_handler_->show_oobe_ui());
304 } 308 }
305 309
306 void OobeUI::ResetSigninScreenHandlerDelegate() { 310 void OobeUI::ResetSigninScreenHandlerDelegate() {
307 signin_screen_handler_->SetDelegate(NULL); 311 signin_screen_handler_->SetDelegate(NULL);
308 signin_screen_handler_->SetNativeWindowDelegate(NULL); 312 signin_screen_handler_->SetNativeWindowDelegate(NULL);
309 error_screen_handler_->SetNativeWindowDelegate(NULL); 313 error_screen_handler_->SetNativeWindowDelegate(NULL);
310 } 314 }
311 315
312 } // namespace chromeos 316 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/oobe_ui.h ('k') | chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698