OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UI_LOGIN_DISPLAY_HOST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 82 |
83 // Starts sign in screen. | 83 // Starts sign in screen. |
84 virtual void StartSignInScreen(const LoginScreenContext& context) = 0; | 84 virtual void StartSignInScreen(const LoginScreenContext& context) = 0; |
85 | 85 |
86 // Invoked when system preferences that affect the signin screen have changed. | 86 // Invoked when system preferences that affect the signin screen have changed. |
87 virtual void OnPreferencesChanged() = 0; | 87 virtual void OnPreferencesChanged() = 0; |
88 | 88 |
89 // Initiates authentication network prewarming. | 89 // Initiates authentication network prewarming. |
90 virtual void PrewarmAuthentication() = 0; | 90 virtual void PrewarmAuthentication() = 0; |
91 | 91 |
92 // Starts app launch splash screen. | 92 // Starts app launch splash screen. If |is_auto_launch| is true, the app is |
| 93 // being auto-launched with no delay. |
93 virtual void StartAppLaunch(const std::string& app_id, | 94 virtual void StartAppLaunch(const std::string& app_id, |
94 bool diagnostic_mode) = 0; | 95 bool diagnostic_mode, |
| 96 bool is_auto_launch) = 0; |
95 | 97 |
96 // Starts the demo app launch. | 98 // Starts the demo app launch. |
97 virtual void StartDemoAppLaunch() = 0; | 99 virtual void StartDemoAppLaunch() = 0; |
98 }; | 100 }; |
99 | 101 |
100 } // namespace chromeos | 102 } // namespace chromeos |
101 | 103 |
102 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_H_ | 104 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_H_ |
OLD | NEW |