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

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

Issue 10928088: Factory reset screen is added (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_RESET_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_RESET_SCREEN_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h"
12 #include "chrome/browser/chromeos/login/reset_screen_actor.h"
13 #include "chrome/browser/chromeos/login/wizard_screen.h"
14
15 namespace chromeos {
16
17 // Representation independent class that controls OOBE screen showing RESET
Nikita (slow) 2012/09/12 13:22:21 nit: remove OOBE. nit: RESET > Reset screen.
glotov 2012/09/12 22:40:25 Done.
18 // to users.
19 class ResetScreen : public WizardScreen,
20 public ResetScreenActor::Delegate {
21 public:
22 ResetScreen(ScreenObserver* observer, ResetScreenActor* actor);
23 virtual ~ResetScreen();
24
25 // WizardScreen implementation:
26 virtual void PrepareToShow() OVERRIDE;
27 virtual void Show() OVERRIDE;
28 virtual void Hide() OVERRIDE;
29 virtual std::string GetName() const OVERRIDE;
30
31 // ResetScreenActor::Delegate implementation:
32 virtual void OnExit() OVERRIDE;
33 virtual void OnActorDestroyed(ResetScreenActor* actor) OVERRIDE;
34
35 private:
36 ResetScreenActor* actor_;
37
38 DISALLOW_COPY_AND_ASSIGN(ResetScreen);
39 };
40
41 } // namespace chromeos
42
43 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_RESET_SCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698