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_SCREENS_SCREEN_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_FACTORY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_FACTORY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_FACTORY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "chrome/browser/chromeos/login/screens/base_screen.h" | 11 #include "chrome/browser/chromeos/login/screens/base_screen.h" |
12 | 12 |
13 namespace chromeos { | 13 namespace chromeos { |
14 | 14 |
15 class OobeDisplay; | 15 class OobeDisplay; |
16 class ScreenObserver; | 16 class ScreenObserver; |
17 | 17 |
18 // Class that can instantiate screens by name. | 18 // Class that can instantiate screens by name. |
19 class ScreenFactory { | 19 class ScreenFactory { |
20 public: | 20 public: |
21 static const char kEnrollmentScreenId[]; | 21 static const char kEnrollmentScreenId[]; |
22 static const char kErrorScreenId[]; | 22 static const char kErrorScreenId[]; |
23 static const char kEulaScreenId[]; | 23 static const char kEulaScreenId[]; |
24 static const char kKioskAutolaunchScreenId[]; | 24 static const char kKioskAutolaunchScreenId[]; |
25 static const char kLocallyManagedUserCreationScreenId[]; | 25 static const char kSupervisedUserCreationScreenId[]; |
Pam (message me for reviews)
2014/07/16 18:12:36
alphabetize
Marc Treib
2014/07/17 08:58:39
Done.
| |
26 static const char kLoginScreenId[]; | 26 static const char kLoginScreenId[]; |
27 static const char kNetworkScreenId[]; | 27 static const char kNetworkScreenId[]; |
28 static const char kResetScreenId[]; | 28 static const char kResetScreenId[]; |
29 static const char kTermsOfServiceScreenId[]; | 29 static const char kTermsOfServiceScreenId[]; |
30 static const char kUpdateScreenId[]; | 30 static const char kUpdateScreenId[]; |
31 static const char kUserImageScreenId[]; | 31 static const char kUserImageScreenId[]; |
32 static const char kWrongHWIDScreenId[]; | 32 static const char kWrongHWIDScreenId[]; |
33 | 33 |
34 // |observer| to be passed to each created screen for providing screen | 34 // |observer| to be passed to each created screen for providing screen |
35 // outcome. Legacy, should be gone once refactoring is finished. | 35 // outcome. Legacy, should be gone once refactoring is finished. |
(...skipping 14 matching lines...) Expand all Loading... | |
50 | 50 |
51 // Now owned. Source of Handler objects for created screens. | 51 // Now owned. Source of Handler objects for created screens. |
52 OobeDisplay* oobe_display_; | 52 OobeDisplay* oobe_display_; |
53 | 53 |
54 DISALLOW_COPY_AND_ASSIGN(ScreenFactory); | 54 DISALLOW_COPY_AND_ASSIGN(ScreenFactory); |
55 }; | 55 }; |
56 | 56 |
57 } // namespace chromeos | 57 } // namespace chromeos |
58 | 58 |
59 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_FACTORY_H_ | 59 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_FACTORY_H_ |
OLD | NEW |