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

Side by Side Diff: chrome/browser/chromeos/login/screens/eula_screen.h

Issue 679133002: ScreenObserver is renamed to BaseScreenDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes. Created 6 years, 1 month 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
OLDNEW
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 12 matching lines...) Expand all
23 public: 23 public:
24 class Delegate { 24 class Delegate {
25 public: 25 public:
26 virtual ~Delegate() {} 26 virtual ~Delegate() {}
27 27
28 // Whether usage statistics reporting is enabled on EULA screen. 28 // Whether usage statistics reporting is enabled on EULA screen.
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(ScreenObserver* observer, EulaScreenActor* actor); 33 EulaScreen(BaseScreenDelegate* base_screen_delegate, EulaScreenActor* actor);
34 virtual ~EulaScreen(); 34 virtual ~EulaScreen();
35 35
36 void SetDelegate(Delegate* delegate); 36 void SetDelegate(Delegate* delegate);
37 37
38 // BaseScreen implementation: 38 // BaseScreen implementation:
39 virtual void PrepareToShow() override; 39 virtual void PrepareToShow() override;
40 virtual void Show() override; 40 virtual void Show() override;
41 virtual void Hide() override; 41 virtual void Hide() override;
42 virtual std::string GetName() const override; 42 virtual std::string GetName() const override;
43 43
(...skipping 23 matching lines...) Expand all
67 Delegate* delegate_; 67 Delegate* delegate_;
68 68
69 TpmPasswordFetcher password_fetcher_; 69 TpmPasswordFetcher password_fetcher_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(EulaScreen); 71 DISALLOW_COPY_AND_ASSIGN(EulaScreen);
72 }; 72 };
73 73
74 } // namespace chromeos 74 } // namespace chromeos
75 75
76 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_SCREEN_H_ 76 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_SCREEN_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/error_screen.cc ('k') | chrome/browser/chromeos/login/screens/eula_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698