OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_EULA_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EULA_SCREEN_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EULA_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EULA_SCREEN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 EulaScreen(ScreenObserver* observer, EulaScreenActor* actor); | 24 EulaScreen(ScreenObserver* observer, EulaScreenActor* actor); |
25 virtual ~EulaScreen(); | 25 virtual ~EulaScreen(); |
26 | 26 |
27 // WizardScreen implementation: | 27 // WizardScreen implementation: |
28 virtual void PrepareToShow() OVERRIDE; | 28 virtual void PrepareToShow() OVERRIDE; |
29 virtual void Show() OVERRIDE; | 29 virtual void Show() OVERRIDE; |
30 virtual void Hide() OVERRIDE; | 30 virtual void Hide() OVERRIDE; |
31 virtual std::string GetName() const OVERRIDE; | 31 virtual std::string GetName() const OVERRIDE; |
32 | 32 |
33 // EulaScreenActor::Delegate implementation: | 33 // EulaScreenActor::Delegate implementation: |
34 virtual bool IsTpmEnabled() const OVERRIDE; | |
35 virtual GURL GetOemEulaUrl() const OVERRIDE; | 34 virtual GURL GetOemEulaUrl() const OVERRIDE; |
36 virtual void OnExit(bool accepted, bool is_usage_stats_checked) OVERRIDE; | 35 virtual void OnExit(bool accepted, bool is_usage_stats_checked) OVERRIDE; |
37 virtual void InitiatePasswordFetch() OVERRIDE; | 36 virtual void InitiatePasswordFetch() OVERRIDE; |
38 virtual bool IsUsageStatsEnabled() const OVERRIDE; | 37 virtual bool IsUsageStatsEnabled() const OVERRIDE; |
39 virtual void OnActorDestroyed(EulaScreenActor* actor) OVERRIDE; | 38 virtual void OnActorDestroyed(EulaScreenActor* actor) OVERRIDE; |
40 | 39 |
41 // TpmPasswordFetcherDelegate implementation: | 40 // TpmPasswordFetcherDelegate implementation: |
42 virtual void OnPasswordFetched(const std::string& tpm_password) OVERRIDE; | 41 virtual void OnPasswordFetched(const std::string& tpm_password) OVERRIDE; |
43 | 42 |
44 private: | 43 private: |
(...skipping 10 matching lines...) Expand all Loading... |
55 EulaScreenActor* actor_; | 54 EulaScreenActor* actor_; |
56 | 55 |
57 TpmPasswordFetcher password_fetcher_; | 56 TpmPasswordFetcher password_fetcher_; |
58 | 57 |
59 DISALLOW_COPY_AND_ASSIGN(EulaScreen); | 58 DISALLOW_COPY_AND_ASSIGN(EulaScreen); |
60 }; | 59 }; |
61 | 60 |
62 } // namespace chromeos | 61 } // namespace chromeos |
63 | 62 |
64 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EULA_SCREEN_H_ | 63 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EULA_SCREEN_H_ |
OLD | NEW |