Index: chrome/browser/chromeos/login/update_screen_actor.h |
diff --git a/chrome/browser/chromeos/login/update_screen_actor.h b/chrome/browser/chromeos/login/update_screen_actor.h |
index aa345848ee8816f3e730f22625a5478cc03177ef..9c475953ef6623b8906c87228847c7ecc3f86681 100644 |
--- a/chrome/browser/chromeos/login/update_screen_actor.h |
+++ b/chrome/browser/chromeos/login/update_screen_actor.h |
@@ -13,8 +13,18 @@ class ScreenObserver; |
class UpdateScreenActor { |
public: |
+ class Delegate { |
+ public: |
+ virtual ~Delegate() {} |
+ // Force cancel update. |
+ virtual void CancelUpdate() = 0; |
+ }; |
+ |
virtual ~UpdateScreenActor() {} |
whywhat
2011/08/29 17:55:51
nit: I think we'd better notify the screen that we
Ivan Korotkov
2011/08/29 18:19:17
Other actors with delegates (like UserImageScreenA
|
+ // Sets screen this actor belongs to. |
+ virtual void SetDelegate(Delegate* screen) = 0; |
+ |
// Shows the screen. |
virtual void Show() = 0; |