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

Side by Side Diff: chrome/browser/chromeos/login/ui/login_display_host.h

Issue 2649103006: arc: Add splash screen for ARC++ Kiosk startup (Closed)
Patch Set: Created 3 years, 11 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
OLDNEW
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"
Luis Héctor Chávez 2017/01/24 18:40:24 nit: remove and fwd-declare AccountId.
Sergey Poromov 2017/01/25 14:29:22 Done.
15 #include "components/signin/core/account_id/account_id.h"
15 #include "ui/gfx/native_widget_types.h" 16 #include "ui/gfx/native_widget_types.h"
16 17
17 namespace chromeos { 18 namespace chromeos {
18 19
19 class AppLaunchController; 20 class AppLaunchController;
20 class AutoEnrollmentController; 21 class AutoEnrollmentController;
21 class LoginScreenContext; 22 class LoginScreenContext;
22 class OobeUI; 23 class OobeUI;
23 class WebUILoginView; 24 class WebUILoginView;
24 class WizardController; 25 class WizardController;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 99
99 // Starts app launch splash screen. If |is_auto_launch| is true, the app is 100 // Starts app launch splash screen. If |is_auto_launch| is true, the app is
100 // being auto-launched with no delay. 101 // being auto-launched with no delay.
101 virtual void StartAppLaunch(const std::string& app_id, 102 virtual void StartAppLaunch(const std::string& app_id,
102 bool diagnostic_mode, 103 bool diagnostic_mode,
103 bool is_auto_launch) = 0; 104 bool is_auto_launch) = 0;
104 105
105 // Starts the demo app launch. 106 // Starts the demo app launch.
106 virtual void StartDemoAppLaunch() = 0; 107 virtual void StartDemoAppLaunch() = 0;
107 108
109 // Starts ARC kiosk splash screen.
110 virtual void StartArcKiosk(const AccountId& account_id) = 0;
111
108 protected: 112 protected:
109 // Default LoginDisplayHost. Child class sets the reference. 113 // Default LoginDisplayHost. Child class sets the reference.
110 static LoginDisplayHost* default_host_; 114 static LoginDisplayHost* default_host_;
111 }; 115 };
112 116
113 } // namespace chromeos 117 } // namespace chromeos
114 118
115 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_H_ 119 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698