Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: chrome/browser/chromeos/login/update_screen_actor.h

Issue 10096012: [cros] Add Ctrl+Alt+E shortcut to Welcome/EULA screen that cancels update and starts with enrollment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UPDATE_SCREEN_ACTOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_ACTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_ACTOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_ACTOR_H_
7 #pragma once 7 #pragma once
8 8
9 namespace chromeos { 9 namespace chromeos {
10 10
11 class UpdateScreenActor { 11 class UpdateScreenActor {
12 public: 12 public:
13 class Delegate { 13 class Delegate {
14 public: 14 public:
15 virtual ~Delegate() {} 15 virtual ~Delegate() {}
16 // Force cancel update. 16 // Force cancel update.
17 virtual void CancelUpdate() = 0; 17 virtual void CancelUpdate() = 0;
18 virtual void OnActorDestroyed(UpdateScreenActor* actor) = 0; 18 virtual void OnActorDestroyed(UpdateScreenActor* actor) = 0;
19 virtual void SkipUpdateEnrollAfterEula() = 0;
19 }; 20 };
20 21
21 virtual ~UpdateScreenActor() {} 22 virtual ~UpdateScreenActor() {}
22 23
23 // Sets screen this actor belongs to. 24 // Sets screen this actor belongs to.
24 virtual void SetDelegate(Delegate* screen) = 0; 25 virtual void SetDelegate(Delegate* screen) = 0;
25 26
26 // Shows the screen. 27 // Shows the screen.
27 virtual void Show() = 0; 28 virtual void Show() = 0;
28 29
(...skipping 11 matching lines...) Expand all
40 // Shows screen curtains. 41 // Shows screen curtains.
41 virtual void ShowCurtain(bool enable) = 0; 42 virtual void ShowCurtain(bool enable) = 0;
42 43
43 // Shows label for "Preparing updates" state. 44 // Shows label for "Preparing updates" state.
44 virtual void ShowPreparingUpdatesInfo(bool visible) = 0; 45 virtual void ShowPreparingUpdatesInfo(bool visible) = 0;
45 }; 46 };
46 47
47 } // namespace chromeos 48 } // namespace chromeos
48 49
49 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_ACTOR_H_ 50 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_ACTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698