OLD | NEW |
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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 std::vector<base::Closure> ready_callbacks_; | 253 std::vector<base::Closure> ready_callbacks_; |
254 | 254 |
255 // List of registered observers. | 255 // List of registered observers. |
256 base::ObserverList<Observer> observer_list_; | 256 base::ObserverList<Observer> observer_list_; |
257 | 257 |
258 // Observer of CrosSettings watching the kRebootOnShutdown policy. | 258 // Observer of CrosSettings watching the kRebootOnShutdown policy. |
259 std::unique_ptr<ShutdownPolicyHandler> shutdown_policy_handler_; | 259 std::unique_ptr<ShutdownPolicyHandler> shutdown_policy_handler_; |
260 | 260 |
261 std::unique_ptr<ash::ScreenDimmer> screen_dimmer_; | 261 std::unique_ptr<ash::ScreenDimmer> screen_dimmer_; |
262 | 262 |
| 263 // Store the deferred JS calls before the screen handler instance is |
| 264 // initialized. |
| 265 std::unique_ptr<JSCallsContainer> js_calls_container; |
| 266 |
263 DISALLOW_COPY_AND_ASSIGN(OobeUI); | 267 DISALLOW_COPY_AND_ASSIGN(OobeUI); |
264 }; | 268 }; |
265 | 269 |
266 } // namespace chromeos | 270 } // namespace chromeos |
267 | 271 |
268 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ | 272 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ |
OLD | NEW |