OLD | NEW |
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_HOST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 // |callback| is invoked synchronously before this call returns. | 74 // |callback| is invoked synchronously before this call returns. |
75 virtual void GetAutoEnrollmentCheckResult( | 75 virtual void GetAutoEnrollmentCheckResult( |
76 const GetAutoEnrollmentCheckResultCallback& callback) = 0; | 76 const GetAutoEnrollmentCheckResultCallback& callback) = 0; |
77 | 77 |
78 // Starts out-of-box-experience flow or shows other screen handled by | 78 // Starts out-of-box-experience flow or shows other screen handled by |
79 // Wizard controller i.e. camera, recovery. | 79 // Wizard controller i.e. camera, recovery. |
80 // One could specify start screen with |first_screen_name|. | 80 // One could specify start screen with |first_screen_name|. |
81 // Takes ownership of |screen_parameters|, which can also be NULL. | 81 // Takes ownership of |screen_parameters|, which can also be NULL. |
82 virtual void StartWizard( | 82 virtual void StartWizard( |
83 const std::string& first_screen_name, | 83 const std::string& first_screen_name, |
84 scoped_ptr<DictionaryValue> screen_parameters) = 0; | 84 scoped_ptr<base::DictionaryValue> screen_parameters) = 0; |
85 | 85 |
86 // Returns current WizardController, if it exists. | 86 // Returns current WizardController, if it exists. |
87 // Result should not be stored. | 87 // Result should not be stored. |
88 virtual WizardController* GetWizardController() = 0; | 88 virtual WizardController* GetWizardController() = 0; |
89 | 89 |
90 // Returns current AppLaunchController, if it exists. | 90 // Returns current AppLaunchController, if it exists. |
91 // Result should not be stored. | 91 // Result should not be stored. |
92 virtual AppLaunchController* GetAppLaunchController() = 0; | 92 virtual AppLaunchController* GetAppLaunchController() = 0; |
93 | 93 |
94 // Starts screen for adding user into session. | 94 // Starts screen for adding user into session. |
(...skipping 13 matching lines...) Expand all Loading... |
108 // Initiates authentication network prewarming. | 108 // Initiates authentication network prewarming. |
109 virtual void PrewarmAuthentication() = 0; | 109 virtual void PrewarmAuthentication() = 0; |
110 | 110 |
111 // Starts app launch splash screen. | 111 // Starts app launch splash screen. |
112 virtual void StartAppLaunch(const std::string& app_id) = 0; | 112 virtual void StartAppLaunch(const std::string& app_id) = 0; |
113 }; | 113 }; |
114 | 114 |
115 } // namespace chromeos | 115 } // namespace chromeos |
116 | 116 |
117 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ | 117 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ |
OLD | NEW |