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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/oobe_ui.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, 1 month 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) 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 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 // Collects localized strings from the owned handlers. 54 // Collects localized strings from the owned handlers.
55 void GetLocalizedStrings(base::DictionaryValue* localized_strings); 55 void GetLocalizedStrings(base::DictionaryValue* localized_strings);
56 56
57 // Initializes the handlers. 57 // Initializes the handlers.
58 void InitializeHandlers(); 58 void InitializeHandlers();
59 59
60 // Shows or hides OOBE UI elements. 60 // Shows or hides OOBE UI elements.
61 void ShowOobeUI(bool show); 61 void ShowOobeUI(bool show);
62 62
63 // TODO(rkc): Create a separate retail mode login UI and move this method
64 // there - see crbug.com/157671.
65 // Shows a login spinner for retail mode logins.
66 void ShowRetailModeLoginSpinner();
67
63 // Shows the signin screen. 68 // Shows the signin screen.
64 void ShowSigninScreen(SigninScreenHandlerDelegate* delegate, 69 void ShowSigninScreen(SigninScreenHandlerDelegate* delegate,
65 NativeWindowDelegate* native_window_delegate); 70 NativeWindowDelegate* native_window_delegate);
66 71
67 // Resets the delegate set in ShowSigninScreen. 72 // Resets the delegate set in ShowSigninScreen.
68 void ResetSigninScreenHandlerDelegate(); 73 void ResetSigninScreenHandlerDelegate();
69 74
70 private: 75 private:
71 void AddScreenHandler(BaseScreenHandler* handler); 76 void AddScreenHandler(BaseScreenHandler* handler);
72 77
(...skipping 21 matching lines...) Expand all
94 UserImageScreenActor* user_image_screen_actor_; 99 UserImageScreenActor* user_image_screen_actor_;
95 100
96 std::vector<BaseScreenHandler*> handlers_; // Non-owning pointers. 101 std::vector<BaseScreenHandler*> handlers_; // Non-owning pointers.
97 102
98 DISALLOW_COPY_AND_ASSIGN(OobeUI); 103 DISALLOW_COPY_AND_ASSIGN(OobeUI);
99 }; 104 };
100 105
101 } // namespace chromeos 106 } // namespace chromeos
102 107
103 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ 108 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698