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

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

Issue 2497123002: chromeos: Move device shutdown handling out of chrome into ash (Closed)
Patch Set: Created 4 years, 1 month 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 SupervisedUserCreationScreenHandler* GetSupervisedUserCreationScreenActor(); 109 SupervisedUserCreationScreenHandler* GetSupervisedUserCreationScreenActor();
110 AppLaunchSplashScreenActor* GetAppLaunchSplashScreenActor(); 110 AppLaunchSplashScreenActor* GetAppLaunchSplashScreenActor();
111 bool IsJSReady(const base::Closure& display_is_ready_callback); 111 bool IsJSReady(const base::Closure& display_is_ready_callback);
112 HIDDetectionView* GetHIDDetectionView(); 112 HIDDetectionView* GetHIDDetectionView();
113 ControllerPairingScreenActor* GetControllerPairingScreenActor(); 113 ControllerPairingScreenActor* GetControllerPairingScreenActor();
114 HostPairingScreenActor* GetHostPairingScreenActor(); 114 HostPairingScreenActor* GetHostPairingScreenActor();
115 DeviceDisabledScreenActor* GetDeviceDisabledScreenActor(); 115 DeviceDisabledScreenActor* GetDeviceDisabledScreenActor();
116 GaiaScreenHandler* GetGaiaScreenActor(); 116 GaiaScreenHandler* GetGaiaScreenActor();
117 UserBoardView* GetUserBoardScreenActor(); 117 UserBoardView* GetUserBoardScreenActor();
118 118
119 // ShutdownPolicyObserver::Delegate 119 // ShutdownPolicyHandler::Delegate
120 void OnShutdownPolicyChanged(bool reboot_on_shutdown) override; 120 void OnShutdownPolicyChanged(bool reboot_on_shutdown) override;
121 121
122 // Collects localized strings from the owned handlers. 122 // Collects localized strings from the owned handlers.
123 void GetLocalizedStrings(base::DictionaryValue* localized_strings); 123 void GetLocalizedStrings(base::DictionaryValue* localized_strings);
124 124
125 // Initializes the handlers. 125 // Initializes the handlers.
126 void InitializeHandlers(); 126 void InitializeHandlers();
127 127
128 // Invoked after the async assets load. The screen handler that has the same 128 // Invoked after the async assets load. The screen handler that has the same
129 // async assets load id will be initialized. 129 // async assets load id will be initialized.
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 std::unique_ptr<ShutdownPolicyHandler> shutdown_policy_handler_; 243 std::unique_ptr<ShutdownPolicyHandler> shutdown_policy_handler_;
244 244
245 std::unique_ptr<ash::ScreenDimmer> screen_dimmer_; 245 std::unique_ptr<ash::ScreenDimmer> screen_dimmer_;
246 246
247 DISALLOW_COPY_AND_ASSIGN(OobeUI); 247 DISALLOW_COPY_AND_ASSIGN(OobeUI);
248 }; 248 };
249 249
250 } // namespace chromeos 250 } // namespace chromeos
251 251
252 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ 252 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698