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

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

Issue 2700303002: cros: Unify oobe View/Actor naming to just View. (Closed)
Patch Set: Rebase Created 3 years, 10 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_ARC_TERMS_OF_SERVICE_SCREEN_ACTOR_ H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ARC_TERMS_OF_SERVICE_SCREEN_VIEW_H _
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ARC_TERMS_OF_SERVICE_SCREEN_ACTOR_ H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ARC_TERMS_OF_SERVICE_SCREEN_VIEW_H _
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 class ArcTermsOfServiceScreenActorObserver; 14 class ArcTermsOfServiceScreenViewObserver;
15 15
16 // Interface for dependency injection between TermsOfServiceScreen and its 16 // Interface for dependency injection between TermsOfServiceScreen and its
17 // WebUI representation. 17 // WebUI representation.
18 class ArcTermsOfServiceScreenActor { 18 class ArcTermsOfServiceScreenView {
19 public: 19 public:
20 virtual ~ArcTermsOfServiceScreenActor() = default; 20 virtual ~ArcTermsOfServiceScreenView() = default;
21 21
22 // Adds/Removes observer for actor. 22 // Adds/Removes observer for actor.
hidehiko 2017/02/23 05:34:08 s/actor/view/
jdufault 2017/02/24 00:40:16 Done.
23 virtual void AddObserver(ArcTermsOfServiceScreenActorObserver* observer) = 0; 23 virtual void AddObserver(ArcTermsOfServiceScreenViewObserver* observer) = 0;
24 virtual void RemoveObserver( 24 virtual void RemoveObserver(
25 ArcTermsOfServiceScreenActorObserver* observer) = 0; 25 ArcTermsOfServiceScreenViewObserver* observer) = 0;
26 26
27 // Shows the contents of the screen. 27 // Shows the contents of the screen.
28 virtual void Show() = 0; 28 virtual void Show() = 0;
29 29
30 // Hides the contents of the screen. 30 // Hides the contents of the screen.
31 virtual void Hide() = 0; 31 virtual void Hide() = 0;
32 32
33 protected: 33 protected:
34 ArcTermsOfServiceScreenActor() = default; 34 ArcTermsOfServiceScreenView() = default;
35 35
36 private: 36 private:
37 DISALLOW_COPY_AND_ASSIGN(ArcTermsOfServiceScreenActor); 37 DISALLOW_COPY_AND_ASSIGN(ArcTermsOfServiceScreenView);
38 }; 38 };
39 39
40 } // namespace chromeos 40 } // namespace chromeos
41 41
42 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ARC_TERMS_OF_SERVICE_SCREEN_ACT OR_H_ 42 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ARC_TERMS_OF_SERVICE_SCREEN_VIE W_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698