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

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: rebase 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 SupervisedUserCreationScreenHandler* GetSupervisedUserCreationScreenActor(); 111 SupervisedUserCreationScreenHandler* GetSupervisedUserCreationScreenActor();
112 AppLaunchSplashScreenActor* GetAppLaunchSplashScreenActor(); 112 AppLaunchSplashScreenActor* GetAppLaunchSplashScreenActor();
113 bool IsJSReady(const base::Closure& display_is_ready_callback); 113 bool IsJSReady(const base::Closure& display_is_ready_callback);
114 HIDDetectionView* GetHIDDetectionView(); 114 HIDDetectionView* GetHIDDetectionView();
115 ControllerPairingScreenActor* GetControllerPairingScreenActor(); 115 ControllerPairingScreenActor* GetControllerPairingScreenActor();
116 HostPairingScreenActor* GetHostPairingScreenActor(); 116 HostPairingScreenActor* GetHostPairingScreenActor();
117 DeviceDisabledScreenActor* GetDeviceDisabledScreenActor(); 117 DeviceDisabledScreenActor* GetDeviceDisabledScreenActor();
118 GaiaScreenHandler* GetGaiaScreenActor(); 118 GaiaScreenHandler* GetGaiaScreenActor();
119 UserBoardView* GetUserBoardScreenActor(); 119 UserBoardView* GetUserBoardScreenActor();
120 120
121 // ShutdownPolicyObserver::Delegate 121 // ShutdownPolicyHandler::Delegate
122 void OnShutdownPolicyChanged(bool reboot_on_shutdown) override; 122 void OnShutdownPolicyChanged(bool reboot_on_shutdown) override;
123 123
124 // Collects localized strings from the owned handlers. 124 // Collects localized strings from the owned handlers.
125 void GetLocalizedStrings(base::DictionaryValue* localized_strings); 125 void GetLocalizedStrings(base::DictionaryValue* localized_strings);
126 126
127 // Initializes the handlers. 127 // Initializes the handlers.
128 void InitializeHandlers(); 128 void InitializeHandlers();
129 129
130 // Invoked after the async assets load. The screen handler that has the same 130 // Invoked after the async assets load. The screen handler that has the same
131 // async assets load id will be initialized. 131 // async assets load id will be initialized.
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 std::unique_ptr<ShutdownPolicyHandler> shutdown_policy_handler_; 246 std::unique_ptr<ShutdownPolicyHandler> shutdown_policy_handler_;
247 247
248 std::unique_ptr<ash::ScreenDimmer> screen_dimmer_; 248 std::unique_ptr<ash::ScreenDimmer> screen_dimmer_;
249 249
250 DISALLOW_COPY_AND_ASSIGN(OobeUI); 250 DISALLOW_COPY_AND_ASSIGN(OobeUI);
251 }; 251 };
252 252
253 } // namespace chromeos 253 } // namespace chromeos
254 254
255 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ 255 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.cc ('k') | chrome/browser/ui/webui/chromeos/login/oobe_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698