| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // Starts app launch splash screen. If |is_auto_launch| is true, the app is | 101 // Starts app launch splash screen. If |is_auto_launch| is true, the app is |
| 102 // being auto-launched with no delay. | 102 // being auto-launched with no delay. |
| 103 virtual void StartAppLaunch(const std::string& app_id, | 103 virtual void StartAppLaunch(const std::string& app_id, |
| 104 bool diagnostic_mode, | 104 bool diagnostic_mode, |
| 105 bool is_auto_launch) = 0; | 105 bool is_auto_launch) = 0; |
| 106 | 106 |
| 107 // Starts the demo app launch. | 107 // Starts the demo app launch. |
| 108 virtual void StartDemoAppLaunch() = 0; | 108 virtual void StartDemoAppLaunch() = 0; |
| 109 | 109 |
| 110 // Starts ARC kiosk splash screen. | 110 // Starts ARC kiosk splash screen. |
| 111 virtual void StartArcKiosk(const AccountId& account_id) = 0; | 111 virtual void StartArcKiosk(const AccountId& account_id, |
| 112 bool is_auto_launch) = 0; |
| 112 | 113 |
| 113 protected: | 114 protected: |
| 114 // Default LoginDisplayHost. Child class sets the reference. | 115 // Default LoginDisplayHost. Child class sets the reference. |
| 115 static LoginDisplayHost* default_host_; | 116 static LoginDisplayHost* default_host_; |
| 116 }; | 117 }; |
| 117 | 118 |
| 118 } // namespace chromeos | 119 } // namespace chromeos |
| 119 | 120 |
| 120 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_H_ | 121 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_H_ |
| OLD | NEW |