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 11 matching lines...) Expand all Loading... |
22 #include "chrome/browser/chromeos/login/screen_manager.h" | 22 #include "chrome/browser/chromeos/login/screen_manager.h" |
23 #include "chrome/browser/chromeos/login/screens/base_screen_delegate.h" | 23 #include "chrome/browser/chromeos/login/screens/base_screen_delegate.h" |
24 #include "chrome/browser/chromeos/login/screens/controller_pairing_screen.h" | 24 #include "chrome/browser/chromeos/login/screens/controller_pairing_screen.h" |
25 #include "chrome/browser/chromeos/login/screens/eula_screen.h" | 25 #include "chrome/browser/chromeos/login/screens/eula_screen.h" |
26 #include "chrome/browser/chromeos/login/screens/hid_detection_screen.h" | 26 #include "chrome/browser/chromeos/login/screens/hid_detection_screen.h" |
27 #include "chrome/browser/chromeos/login/screens/host_pairing_screen.h" | 27 #include "chrome/browser/chromeos/login/screens/host_pairing_screen.h" |
28 #include "chrome/browser/chromeos/login/screens/network_screen.h" | 28 #include "chrome/browser/chromeos/login/screens/network_screen.h" |
29 #include "chrome/browser/chromeos/login/screens/reset_screen.h" | 29 #include "chrome/browser/chromeos/login/screens/reset_screen.h" |
30 #include "chrome/browser/chromeos/policy/enrollment_config.h" | 30 #include "chrome/browser/chromeos/policy/enrollment_config.h" |
31 | 31 |
32 class PrefRegistrySimple; | |
33 class PrefService; | 32 class PrefService; |
34 | 33 |
35 namespace pairing_chromeos { | 34 namespace pairing_chromeos { |
36 class ControllerPairingController; | 35 class ControllerPairingController; |
37 class HostPairingController; | 36 class HostPairingController; |
38 class SharkConnectionListener; | 37 class SharkConnectionListener; |
39 } | 38 } |
40 | 39 |
41 namespace chromeos { | 40 namespace chromeos { |
42 | 41 |
43 class AutoEnrollmentCheckScreen; | |
44 class EnrollmentScreen; | |
45 class ErrorScreen; | 42 class ErrorScreen; |
46 struct Geoposition; | 43 struct Geoposition; |
47 class LoginDisplayHost; | 44 class LoginDisplayHost; |
48 class LoginScreenContext; | 45 class LoginScreenContext; |
49 class OobeUI; | 46 class OobeUI; |
50 class SimpleGeolocationProvider; | 47 class SimpleGeolocationProvider; |
51 class SupervisedUserCreationScreen; | |
52 class TimeZoneProvider; | 48 class TimeZoneProvider; |
53 struct TimeZoneResponseData; | 49 struct TimeZoneResponseData; |
54 class UpdateScreen; | |
55 class UserImageScreen; | |
56 | 50 |
57 // Class that manages control flow between wizard screens. Wizard controller | 51 // Class that manages control flow between wizard screens. Wizard controller |
58 // interacts with screen controllers to move the user between screens. | 52 // interacts with screen controllers to move the user between screens. |
59 class WizardController : public BaseScreenDelegate, | 53 class WizardController : public BaseScreenDelegate, |
60 public ScreenManager, | 54 public ScreenManager, |
61 public EulaScreen::Delegate, | 55 public EulaScreen::Delegate, |
62 public ControllerPairingScreen::Delegate, | 56 public ControllerPairingScreen::Delegate, |
63 public HostPairingScreen::Delegate, | 57 public HostPairingScreen::Delegate, |
64 public NetworkScreen::Delegate, | 58 public NetworkScreen::Delegate, |
65 public HIDDetectionScreen::Delegate { | 59 public HIDDetectionScreen::Delegate { |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 BaseScreen* hid_screen_ = nullptr; | 446 BaseScreen* hid_screen_ = nullptr; |
453 | 447 |
454 base::WeakPtrFactory<WizardController> weak_factory_; | 448 base::WeakPtrFactory<WizardController> weak_factory_; |
455 | 449 |
456 DISALLOW_COPY_AND_ASSIGN(WizardController); | 450 DISALLOW_COPY_AND_ASSIGN(WizardController); |
457 }; | 451 }; |
458 | 452 |
459 } // namespace chromeos | 453 } // namespace chromeos |
460 | 454 |
461 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 455 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
OLD | NEW |