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

Side by Side Diff: chrome/browser/chromeos/login/login_display.h

Issue 22914008: Refactor kiosk app launch to be part of login screen UI flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Sign in into guest session. 57 // Sign in into guest session.
58 virtual void LoginAsGuest() = 0; 58 virtual void LoginAsGuest() = 0;
59 59
60 // Decrypt cryptohome using user provided |old_password| 60 // Decrypt cryptohome using user provided |old_password|
61 // and migrate to new password. 61 // and migrate to new password.
62 virtual void MigrateUserData(const std::string& old_password) = 0; 62 virtual void MigrateUserData(const std::string& old_password) = 0;
63 63
64 // Sign in into the public account identified by |username|. 64 // Sign in into the public account identified by |username|.
65 virtual void LoginAsPublicAccount(const std::string& username) = 0; 65 virtual void LoginAsPublicAccount(const std::string& username) = 0;
66 66
67 // Login to kiosk mode for app with |app_id|.
68 virtual void LoginAsKioskApp(const std::string& app_id) = 0;
69
67 // Notify the delegate when the sign-in UI is finished loading. 70 // Notify the delegate when the sign-in UI is finished loading.
68 virtual void OnSigninScreenReady() = 0; 71 virtual void OnSigninScreenReady() = 0;
69 72
70 // Called when existing user pod is selected in the UI. 73 // Called when existing user pod is selected in the UI.
71 virtual void OnUserSelected(const std::string& username) = 0; 74 virtual void OnUserSelected(const std::string& username) = 0;
72 75
73 // Called when the user requests enterprise enrollment. 76 // Called when the user requests enterprise enrollment.
74 virtual void OnStartEnterpriseEnrollment() = 0; 77 virtual void OnStartEnterpriseEnrollment() = 0;
75 78
76 // Called when the user requests kiosk enable screen. 79 // Called when the user requests kiosk enable screen.
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 // in redesigned login stack. 194 // in redesigned login stack.
192 // Login stack (and this object) will be recreated for next user sign in. 195 // Login stack (and this object) will be recreated for next user sign in.
193 bool is_signin_completed_; 196 bool is_signin_completed_;
194 197
195 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); 198 DISALLOW_COPY_AND_ASSIGN(LoginDisplay);
196 }; 199 };
197 200
198 } // namespace chromeos 201 } // namespace chromeos
199 202
200 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ 203 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/kiosk_browsertest.cc ('k') | chrome/browser/chromeos/login/login_display_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698