| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CORE_OOBE_ACTOR_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CORE_OOBE_ACTOR_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "chrome/browser/chromeos/login/help_app_launcher.h" | |
| 11 | |
| 12 namespace base { | |
| 13 class DictionaryValue; | |
| 14 } | |
| 15 | |
| 16 namespace chromeos { | |
| 17 | |
| 18 class CoreOobeActor { | |
| 19 public: | |
| 20 virtual ~CoreOobeActor() {} | |
| 21 | |
| 22 virtual void ShowSignInError(int login_attempts, | |
| 23 const std::string& error_text, | |
| 24 const std::string& help_link_text, | |
| 25 HelpAppLauncher::HelpTopic help_topic_id) = 0; | |
| 26 virtual void ShowTpmError() = 0; | |
| 27 virtual void ShowSignInUI(const std::string& email) = 0; | |
| 28 virtual void ResetSignInUI(bool force_online) = 0; | |
| 29 virtual void ClearUserPodPassword() = 0; | |
| 30 virtual void RefocusCurrentPod() = 0; | |
| 31 virtual void ShowPasswordChangedScreen(bool show_password_error, | |
| 32 const std::string& email) = 0; | |
| 33 virtual void SetUsageStats(bool checked) = 0; | |
| 34 virtual void SetOemEulaUrl(const std::string& oem_eula_url) = 0; | |
| 35 virtual void SetTpmPassword(const std::string& tmp_password) = 0; | |
| 36 virtual void ClearErrors() = 0; | |
| 37 virtual void ReloadContent(const base::DictionaryValue& dictionary) = 0; | |
| 38 virtual void ShowControlBar(bool show) = 0; | |
| 39 virtual void ShowPinKeyboard(bool show) = 0; | |
| 40 virtual void SetClientAreaSize(int width, int height) = 0; | |
| 41 virtual void ShowDeviceResetScreen() = 0; | |
| 42 virtual void ShowEnableDebuggingScreen() = 0; | |
| 43 virtual void InitDemoModeDetection() = 0; | |
| 44 virtual void StopDemoModeDetection() = 0; | |
| 45 virtual void UpdateKeyboardState() = 0; | |
| 46 virtual void ShowActiveDirectoryPasswordChangeScreen( | |
| 47 const std::string& username) = 0; | |
| 48 }; | |
| 49 | |
| 50 } // namespace chromeos | |
| 51 | |
| 52 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CORE_OOBE_ACTOR_H_ | |
| OLD | NEW |