| 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" |
| 11 #include "base/callback_list.h" | 11 #include "base/callback_list.h" |
| 12 #include "chrome/browser/chromeos/customization/customization_document.h" | 12 #include "chrome/browser/chromeos/customization/customization_document.h" |
| 13 #include "chrome/browser/chromeos/login/oobe_screen.h" | 13 #include "chrome/browser/chromeos/login/oobe_screen.h" |
| 14 #include "chrome/browser/chromeos/login/ui/login_display.h" | 14 #include "chrome/browser/chromeos/login/ui/login_display.h" |
| 15 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
| 16 | 16 |
| 17 class AccountId; |
| 18 |
| 17 namespace chromeos { | 19 namespace chromeos { |
| 18 | 20 |
| 19 class AppLaunchController; | 21 class AppLaunchController; |
| 20 class AutoEnrollmentController; | 22 class AutoEnrollmentController; |
| 21 class LoginScreenContext; | 23 class LoginScreenContext; |
| 22 class OobeUI; | 24 class OobeUI; |
| 23 class WebUILoginView; | 25 class WebUILoginView; |
| 24 class WizardController; | 26 class WizardController; |
| 25 | 27 |
| 26 // An interface that defines OOBE/login screen host. | 28 // An interface that defines OOBE/login screen host. |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 100 |
| 99 // 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 |
| 100 // being auto-launched with no delay. | 102 // being auto-launched with no delay. |
| 101 virtual void StartAppLaunch(const std::string& app_id, | 103 virtual void StartAppLaunch(const std::string& app_id, |
| 102 bool diagnostic_mode, | 104 bool diagnostic_mode, |
| 103 bool is_auto_launch) = 0; | 105 bool is_auto_launch) = 0; |
| 104 | 106 |
| 105 // Starts the demo app launch. | 107 // Starts the demo app launch. |
| 106 virtual void StartDemoAppLaunch() = 0; | 108 virtual void StartDemoAppLaunch() = 0; |
| 107 | 109 |
| 110 // Starts ARC kiosk splash screen. |
| 111 virtual void StartArcKiosk(const AccountId& account_id) = 0; |
| 112 |
| 108 protected: | 113 protected: |
| 109 // Default LoginDisplayHost. Child class sets the reference. | 114 // Default LoginDisplayHost. Child class sets the reference. |
| 110 static LoginDisplayHost* default_host_; | 115 static LoginDisplayHost* default_host_; |
| 111 }; | 116 }; |
| 112 | 117 |
| 113 } // namespace chromeos | 118 } // namespace chromeos |
| 114 | 119 |
| 115 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_H_ | 120 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_H_ |
| OLD | NEW |