| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WIZARD_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 // Switches from one screen to another. | 273 // Switches from one screen to another. |
| 274 void SetCurrentScreen(BaseScreen* screen); | 274 void SetCurrentScreen(BaseScreen* screen); |
| 275 | 275 |
| 276 // Switches from one screen to another with delay before showing. Calling | 276 // Switches from one screen to another with delay before showing. Calling |
| 277 // ShowCurrentScreen directly forces screen to be shown immediately. | 277 // ShowCurrentScreen directly forces screen to be shown immediately. |
| 278 void SetCurrentScreenSmooth(BaseScreen* screen, bool use_smoothing); | 278 void SetCurrentScreenSmooth(BaseScreen* screen, bool use_smoothing); |
| 279 | 279 |
| 280 // Changes status area visibility. | 280 // Changes status area visibility. |
| 281 void SetStatusAreaVisible(bool visible); | 281 void SetStatusAreaVisible(bool visible); |
| 282 | 282 |
| 283 // Changes whether to show the Material Design OOBE or not. |
| 284 void SetShowMdOobe(bool show); |
| 285 |
| 283 // Launched kiosk app configured for auto-launch. | 286 // Launched kiosk app configured for auto-launch. |
| 284 void AutoLaunchKioskApp(); | 287 void AutoLaunchKioskApp(); |
| 285 | 288 |
| 286 // Called when LocalState is initialized. | 289 // Called when LocalState is initialized. |
| 287 void OnLocalStateInitialized(bool /* succeeded */); | 290 void OnLocalStateInitialized(bool /* succeeded */); |
| 288 | 291 |
| 289 // Returns local state. | 292 // Returns local state. |
| 290 PrefService* GetLocalState(); | 293 PrefService* GetLocalState(); |
| 291 | 294 |
| 292 static void set_local_state_for_testing(PrefService* local_state) { | 295 static void set_local_state_for_testing(PrefService* local_state) { |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 BaseScreen* hid_screen_ = nullptr; | 449 BaseScreen* hid_screen_ = nullptr; |
| 447 | 450 |
| 448 base::WeakPtrFactory<WizardController> weak_factory_; | 451 base::WeakPtrFactory<WizardController> weak_factory_; |
| 449 | 452 |
| 450 DISALLOW_COPY_AND_ASSIGN(WizardController); | 453 DISALLOW_COPY_AND_ASSIGN(WizardController); |
| 451 }; | 454 }; |
| 452 | 455 |
| 453 } // namespace chromeos | 456 } // namespace chromeos |
| 454 | 457 |
| 455 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 458 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| OLD | NEW |