| 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_NETWORK_SCREEN_ACTOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_ACTOR_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_ACTOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_ACTOR_H_ |
| 7 | 7 |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 | 9 |
| 10 namespace chromeos { | 10 namespace chromeos { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 // Prepare the contents to showing. | 28 // Prepare the contents to showing. |
| 29 virtual void PrepareToShow() = 0; | 29 virtual void PrepareToShow() = 0; |
| 30 | 30 |
| 31 // Shows the contents of the screen. | 31 // Shows the contents of the screen. |
| 32 virtual void Show() = 0; | 32 virtual void Show() = 0; |
| 33 | 33 |
| 34 // Hides the contents of the screen. | 34 // Hides the contents of the screen. |
| 35 virtual void Hide() = 0; | 35 virtual void Hide() = 0; |
| 36 | 36 |
| 37 // Shows error message in a bubble. | 37 // Shows error message in a bubble. |
| 38 virtual void ShowError(const string16& message) = 0; | 38 virtual void ShowError(const base::string16& message) = 0; |
| 39 | 39 |
| 40 // Hides error messages showing no error state. | 40 // Hides error messages showing no error state. |
| 41 virtual void ClearErrors() = 0; | 41 virtual void ClearErrors() = 0; |
| 42 | 42 |
| 43 // Shows network connecting status or network selection otherwise. | 43 // Shows network connecting status or network selection otherwise. |
| 44 virtual void ShowConnectingStatus( | 44 virtual void ShowConnectingStatus( |
| 45 bool connecting, | 45 bool connecting, |
| 46 const string16& network_id) = 0; | 46 const base::string16& network_id) = 0; |
| 47 | 47 |
| 48 // Sets whether continue control is enabled. | 48 // Sets whether continue control is enabled. |
| 49 virtual void EnableContinue(bool enabled) = 0; | 49 virtual void EnableContinue(bool enabled) = 0; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace chromeos | 52 } // namespace chromeos |
| 53 | 53 |
| 54 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_ACTOR_H_ | 54 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_ACTOR_H_ |
| OLD | NEW |