| 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_LOGIN_DISPLAY_HOST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 // Open proxy settings dialog. | 47 // Open proxy settings dialog. |
| 48 virtual void OpenProxySettings() = 0; | 48 virtual void OpenProxySettings() = 0; |
| 49 | 49 |
| 50 // Toggles OOBE progress bar visibility, the bar is hidden by default. | 50 // Toggles OOBE progress bar visibility, the bar is hidden by default. |
| 51 virtual void SetOobeProgressBarVisible(bool visible) = 0; | 51 virtual void SetOobeProgressBarVisible(bool visible) = 0; |
| 52 | 52 |
| 53 // Enable/disable shutdown button. | 53 // Enable/disable shutdown button. |
| 54 virtual void SetShutdownButtonEnabled(bool enable) = 0; | 54 virtual void SetShutdownButtonEnabled(bool enable) = 0; |
| 55 | 55 |
| 56 // Toggles whether status area is enabled. | |
| 57 virtual void SetStatusAreaEnabled(bool enable) = 0; | |
| 58 | |
| 59 // Toggles status area visibility. | 56 // Toggles status area visibility. |
| 60 virtual void SetStatusAreaVisible(bool visible) = 0; | 57 virtual void SetStatusAreaVisible(bool visible) = 0; |
| 61 | 58 |
| 62 // Signals the LoginDisplayHost that it can proceed with the Enterprise | 59 // Signals the LoginDisplayHost that it can proceed with the Enterprise |
| 63 // Auto-Enrollment checks now. | 60 // Auto-Enrollment checks now. |
| 64 virtual void CheckForAutoEnrollment() = 0; | 61 virtual void CheckForAutoEnrollment() = 0; |
| 65 | 62 |
| 66 // Starts out-of-box-experience flow or shows other screen handled by | 63 // Starts out-of-box-experience flow or shows other screen handled by |
| 67 // Wizard controller i.e. camera, recovery. | 64 // Wizard controller i.e. camera, recovery. |
| 68 // One could specify start screen with |first_screen_name|. | 65 // One could specify start screen with |first_screen_name|. |
| 69 // Takes ownership of |screen_parameters|, which can also be NULL. | 66 // Takes ownership of |screen_parameters|, which can also be NULL. |
| 70 virtual void StartWizard( | 67 virtual void StartWizard( |
| 71 const std::string& first_screen_name, | 68 const std::string& first_screen_name, |
| 72 DictionaryValue* screen_parameters) = 0; | 69 DictionaryValue* screen_parameters) = 0; |
| 73 | 70 |
| 74 // Starts sign in screen. | 71 // Starts sign in screen. |
| 75 virtual void StartSignInScreen() = 0; | 72 virtual void StartSignInScreen() = 0; |
| 76 | 73 |
| 77 // Resumes a previously started sign in screen. | 74 // Resumes a previously started sign in screen. |
| 78 virtual void ResumeSignInScreen() = 0; | 75 virtual void ResumeSignInScreen() = 0; |
| 79 | 76 |
| 80 // Invoked when system preferences that affect the signin screen have changed. | 77 // Invoked when system preferences that affect the signin screen have changed. |
| 81 virtual void OnPreferencesChanged() = 0; | 78 virtual void OnPreferencesChanged() = 0; |
| 82 }; | 79 }; |
| 83 | 80 |
| 84 } // namespace chromeos | 81 } // namespace chromeos |
| 85 | 82 |
| 86 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ | 83 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ |
| OLD | NEW |