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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h

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 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 public NetworkStateInformer::NetworkStateInformerObserver { 128 public NetworkStateInformer::NetworkStateInformerObserver {
129 public: 129 public:
130 SigninScreenHandler( 130 SigninScreenHandler(
131 const scoped_refptr<NetworkStateInformer>& network_state_informer); 131 const scoped_refptr<NetworkStateInformer>& network_state_informer);
132 virtual ~SigninScreenHandler(); 132 virtual ~SigninScreenHandler();
133 133
134 // Shows the sign in screen. |oobe_ui| indicates whether the signin 134 // Shows the sign in screen. |oobe_ui| indicates whether the signin
135 // screen is for OOBE or usual sign-in flow. 135 // screen is for OOBE or usual sign-in flow.
136 void Show(bool oobe_ui); 136 void Show(bool oobe_ui);
137 137
138 // Shows the login spinner UI for retail mode logins.
139 void ShowRetailModeLoginSpinner();
140
138 // Sets delegate to be used by the handler. It is guaranteed that valid 141 // Sets delegate to be used by the handler. It is guaranteed that valid
139 // delegate is set before Show() method will be called. 142 // delegate is set before Show() method will be called.
140 void SetDelegate(SigninScreenHandlerDelegate* delegate); 143 void SetDelegate(SigninScreenHandlerDelegate* delegate);
141 144
142 void SetNativeWindowDelegate(NativeWindowDelegate* native_window_delegate); 145 void SetNativeWindowDelegate(NativeWindowDelegate* native_window_delegate);
143 146
144 // NetworkStateInformerDelegate implementation: 147 // NetworkStateInformerDelegate implementation:
145 virtual void OnNetworkReady() OVERRIDE; 148 virtual void OnNetworkReady() OVERRIDE;
146 149
147 // NetworkStateInformer::NetworkStateInformerObserver implementation: 150 // NetworkStateInformer::NetworkStateInformerObserver implementation:
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 320
318 // Sign-in screen WebUI observers of network state. 321 // Sign-in screen WebUI observers of network state.
319 WebUIObservers observers_; 322 WebUIObservers observers_;
320 323
321 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 324 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
322 }; 325 };
323 326
324 } // namespace chromeos 327 } // namespace chromeos
325 328
326 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 329 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/oobe_ui.cc ('k') | chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698