| 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 <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 void EnableUserImageScreenReturnToPreviousHack(); | 126 void EnableUserImageScreenReturnToPreviousHack(); |
| 127 | 127 |
| 128 // Returns a pointer to the current screen or NULL if there's no such | 128 // Returns a pointer to the current screen or NULL if there's no such |
| 129 // screen. | 129 // screen. |
| 130 BaseScreen* current_screen() const { return current_screen_; } | 130 BaseScreen* current_screen() const { return current_screen_; } |
| 131 | 131 |
| 132 // Returns true if the current wizard instance has reached the login screen. | 132 // Returns true if the current wizard instance has reached the login screen. |
| 133 bool login_screen_started() const { return login_screen_started_; } | 133 bool login_screen_started() const { return login_screen_started_; } |
| 134 | 134 |
| 135 // ScreenManager implementation. | 135 // ScreenManager implementation. |
| 136 BaseScreen* GetScreen(const std::string& screen_name) override; |
| 136 BaseScreen* CreateScreen(const std::string& screen_name) override; | 137 BaseScreen* CreateScreen(const std::string& screen_name) override; |
| 137 | 138 |
| 138 static const char kNetworkScreenName[]; | 139 static const char kNetworkScreenName[]; |
| 139 static const char kLoginScreenName[]; | 140 static const char kLoginScreenName[]; |
| 140 static const char kUpdateScreenName[]; | 141 static const char kUpdateScreenName[]; |
| 141 static const char kUserImageScreenName[]; | 142 static const char kUserImageScreenName[]; |
| 142 static const char kOutOfBoxScreenName[]; | 143 static const char kOutOfBoxScreenName[]; |
| 143 static const char kTestNoScreenName[]; | 144 static const char kTestNoScreenName[]; |
| 144 static const char kEulaScreenName[]; | 145 static const char kEulaScreenName[]; |
| 145 static const char kEnableDebuggingScreenName[]; | 146 static const char kEnableDebuggingScreenName[]; |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 BaseScreen* hid_screen_; | 427 BaseScreen* hid_screen_; |
| 427 | 428 |
| 428 base::WeakPtrFactory<WizardController> weak_factory_; | 429 base::WeakPtrFactory<WizardController> weak_factory_; |
| 429 | 430 |
| 430 DISALLOW_COPY_AND_ASSIGN(WizardController); | 431 DISALLOW_COPY_AND_ASSIGN(WizardController); |
| 431 }; | 432 }; |
| 432 | 433 |
| 433 } // namespace chromeos | 434 } // namespace chromeos |
| 434 | 435 |
| 435 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 436 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| OLD | NEW |