OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2014 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_SCREENS_ENABLE_DEBUGGING_SCREEN_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ENABLE_DEBUGGING_SCREEN_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/basictypes.h" | |
11 #include "base/compiler_specific.h" | |
xiyuan
2014/10/30 03:52:08
nit: Include "base/macros.h" for DISALLOW_COPY_AND
zel
2014/10/31 01:22:25
Done.
| |
12 #include "chrome/browser/chromeos/login/screens/base_screen.h" | |
13 #include "chrome/browser/chromeos/login/screens/enable_debugging_screen_actor.h" | |
14 | |
15 namespace chromeos { | |
16 | |
17 // Representation independent class that controls screen showing reset to users. | |
xiyuan
2014/10/30 03:52:08
nit: update this comment?
zel
2014/10/31 01:22:26
Done.
| |
18 class EnableDebuggingScreen : public BaseScreen, | |
19 public EnableDebuggingScreenActor::Delegate { | |
20 public: | |
21 EnableDebuggingScreen(ScreenObserver* observer, | |
22 EnableDebuggingScreenActor* actor); | |
23 virtual ~EnableDebuggingScreen(); | |
24 | |
25 // BaseScreen 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 // EnableDebuggingScreenActor::Delegate implementation: | |
32 virtual void OnExit(bool success) override; | |
33 virtual void OnActorDestroyed(EnableDebuggingScreenActor* actor) override; | |
34 | |
35 private: | |
36 EnableDebuggingScreenActor* actor_; | |
37 | |
38 DISALLOW_COPY_AND_ASSIGN(EnableDebuggingScreen); | |
39 }; | |
40 | |
41 } // namespace chromeos | |
42 | |
43 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ENABLE_DEBUGGING_SCREEN_H_ | |
OLD | NEW |