OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_DEVICE_DISABLED_SCREEN_ACTOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_DEVICE_DISABLED_SCREEN_ACTOR_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_DEVICE_DISABLED_SCREEN_ACTOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_DEVICE_DISABLED_SCREEN_ACTOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 namespace chromeos { | 10 namespace chromeos { |
(...skipping 11 matching lines...) Expand all Loading... |
22 // destroyed first, it must call SetDelegate(nullptr). | 22 // destroyed first, it must call SetDelegate(nullptr). |
23 virtual void OnActorDestroyed(DeviceDisabledScreenActor* actor) = 0; | 23 virtual void OnActorDestroyed(DeviceDisabledScreenActor* actor) = 0; |
24 }; | 24 }; |
25 | 25 |
26 virtual ~DeviceDisabledScreenActor() { | 26 virtual ~DeviceDisabledScreenActor() { |
27 } | 27 } |
28 | 28 |
29 virtual void Show(const std::string& message) = 0; | 29 virtual void Show(const std::string& message) = 0; |
30 virtual void Hide() = 0; | 30 virtual void Hide() = 0; |
31 virtual void SetDelegate(Delegate* delegate) = 0; | 31 virtual void SetDelegate(Delegate* delegate) = 0; |
| 32 virtual void UpdateMessage(const std::string& message) = 0; |
32 }; | 33 }; |
33 | 34 |
34 } // namespace chromeos | 35 } // namespace chromeos |
35 | 36 |
36 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_DEVICE_DISABLED_SCREEN_ACTOR_H_ | 37 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_DEVICE_DISABLED_SCREEN_ACTOR_H_ |
37 | 38 |
OLD | NEW |