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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 void OnAccessibilityStatusChanged( | 234 void OnAccessibilityStatusChanged( |
235 const AccessibilityStatusEventDetails& details); | 235 const AccessibilityStatusEventDetails& details); |
236 | 236 |
237 // Switches from one screen to another. | 237 // Switches from one screen to another. |
238 void SetCurrentScreen(BaseScreen* screen); | 238 void SetCurrentScreen(BaseScreen* screen); |
239 | 239 |
240 // Switches from one screen to another with delay before showing. Calling | 240 // Switches from one screen to another with delay before showing. Calling |
241 // ShowCurrentScreen directly forces screen to be shown immediately. | 241 // ShowCurrentScreen directly forces screen to be shown immediately. |
242 void SetCurrentScreenSmooth(BaseScreen* screen, bool use_smoothing); | 242 void SetCurrentScreenSmooth(BaseScreen* screen, bool use_smoothing); |
243 | 243 |
244 // Changes status area visibility. | 244 // Update the status area visibility for |screen|. |
245 void SetStatusAreaVisible(bool visible); | 245 void UpdateStatusAreaVisibilityForScreen(OobeScreen screen); |
246 | 246 |
247 // Changes whether to show the Material Design OOBE or not. | 247 // Changes whether to show the Material Design OOBE or not. |
248 void SetShowMdOobe(bool show); | 248 void SetShowMdOobe(bool show); |
249 | 249 |
250 // Launched kiosk app configured for auto-launch. | 250 // Launched kiosk app configured for auto-launch. |
251 void AutoLaunchKioskApp(); | 251 void AutoLaunchKioskApp(); |
252 | 252 |
253 // Called when LocalState is initialized. | 253 // Called when LocalState is initialized. |
254 void OnLocalStateInitialized(bool /* succeeded */); | 254 void OnLocalStateInitialized(bool /* succeeded */); |
255 | 255 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 BaseScreen* hid_screen_ = nullptr; | 413 BaseScreen* hid_screen_ = nullptr; |
414 | 414 |
415 base::WeakPtrFactory<WizardController> weak_factory_; | 415 base::WeakPtrFactory<WizardController> weak_factory_; |
416 | 416 |
417 DISALLOW_COPY_AND_ASSIGN(WizardController); | 417 DISALLOW_COPY_AND_ASSIGN(WizardController); |
418 }; | 418 }; |
419 | 419 |
420 } // namespace chromeos | 420 } // namespace chromeos |
421 | 421 |
422 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 422 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
OLD | NEW |