| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 public CoreOobeHandler::Delegate { | 45 public CoreOobeHandler::Delegate { |
| 46 public: | 46 public: |
| 47 class Observer { | 47 class Observer { |
| 48 public: | 48 public: |
| 49 virtual ~Observer() {} | 49 virtual ~Observer() {} |
| 50 virtual void OnCurrentScreenChanged( | 50 virtual void OnCurrentScreenChanged( |
| 51 Screen current_screen, Screen new_screen) = 0; | 51 Screen current_screen, Screen new_screen) = 0; |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 // JS oobe/login screens names. | 54 // JS oobe/login screens names. |
| 55 static const char kScreenOobeHIDDetection[]; |
| 55 static const char kScreenOobeNetwork[]; | 56 static const char kScreenOobeNetwork[]; |
| 56 static const char kScreenOobeEula[]; | 57 static const char kScreenOobeEula[]; |
| 57 static const char kScreenOobeUpdate[]; | 58 static const char kScreenOobeUpdate[]; |
| 58 static const char kScreenOobeEnrollment[]; | 59 static const char kScreenOobeEnrollment[]; |
| 59 static const char kScreenOobeReset[]; | 60 static const char kScreenOobeReset[]; |
| 60 static const char kScreenGaiaSignin[]; | 61 static const char kScreenGaiaSignin[]; |
| 61 static const char kScreenAccountPicker[]; | 62 static const char kScreenAccountPicker[]; |
| 62 static const char kScreenKioskAutolaunch[]; | 63 static const char kScreenKioskAutolaunch[]; |
| 63 static const char kScreenKioskEnable[]; | 64 static const char kScreenKioskEnable[]; |
| 64 static const char kScreenErrorMessage[]; | 65 static const char kScreenErrorMessage[]; |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 | 217 |
| 217 // List of registered observers. | 218 // List of registered observers. |
| 218 ObserverList<Observer> observer_list_; | 219 ObserverList<Observer> observer_list_; |
| 219 | 220 |
| 220 DISALLOW_COPY_AND_ASSIGN(OobeUI); | 221 DISALLOW_COPY_AND_ASSIGN(OobeUI); |
| 221 }; | 222 }; |
| 222 | 223 |
| 223 } // namespace chromeos | 224 } // namespace chromeos |
| 224 | 225 |
| 225 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ | 226 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ |
| OLD | NEW |