| 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_SCREENS_EULA_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_SCREEN_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_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 18 matching lines...) Expand all Loading... |
| 29 virtual void SetUsageStatisticsReporting(bool val) = 0; | 29 virtual void SetUsageStatisticsReporting(bool val) = 0; |
| 30 virtual bool GetUsageStatisticsReporting() const = 0; | 30 virtual bool GetUsageStatisticsReporting() const = 0; |
| 31 }; | 31 }; |
| 32 | 32 |
| 33 EulaScreen(BaseScreenDelegate* base_screen_delegate, | 33 EulaScreen(BaseScreenDelegate* base_screen_delegate, |
| 34 Delegate* delegate, | 34 Delegate* delegate, |
| 35 EulaView* view); | 35 EulaView* view); |
| 36 ~EulaScreen() override; | 36 ~EulaScreen() override; |
| 37 | 37 |
| 38 // EulaModel implementation: | 38 // EulaModel implementation: |
| 39 void PrepareToShow() override; | |
| 40 void Show() override; | 39 void Show() override; |
| 41 void Hide() override; | 40 void Hide() override; |
| 42 GURL GetOemEulaUrl() const override; | 41 GURL GetOemEulaUrl() const override; |
| 43 void InitiatePasswordFetch() override; | 42 void InitiatePasswordFetch() override; |
| 44 bool IsUsageStatsEnabled() const override; | 43 bool IsUsageStatsEnabled() const override; |
| 45 void OnViewDestroyed(EulaView* view) override; | 44 void OnViewDestroyed(EulaView* view) override; |
| 46 void OnUserAction(const std::string& action_id) override; | 45 void OnUserAction(const std::string& action_id) override; |
| 47 void OnContextKeyUpdated(const ::login::ScreenContext::KeyType& key) override; | 46 void OnContextKeyUpdated(const ::login::ScreenContext::KeyType& key) override; |
| 48 | 47 |
| 49 // TpmPasswordFetcherDelegate implementation: | 48 // TpmPasswordFetcherDelegate implementation: |
| (...skipping 15 matching lines...) Expand all Loading... |
| 65 EulaView* view_; | 64 EulaView* view_; |
| 66 | 65 |
| 67 TpmPasswordFetcher password_fetcher_; | 66 TpmPasswordFetcher password_fetcher_; |
| 68 | 67 |
| 69 DISALLOW_COPY_AND_ASSIGN(EulaScreen); | 68 DISALLOW_COPY_AND_ASSIGN(EulaScreen); |
| 70 }; | 69 }; |
| 71 | 70 |
| 72 } // namespace chromeos | 71 } // namespace chromeos |
| 73 | 72 |
| 74 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_SCREEN_H_ | 73 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_SCREEN_H_ |
| OLD | NEW |