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

Unified Diff: chrome/browser/chromeos/login/screens/host_pairing_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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/screens/host_pairing_screen_view.h
diff --git a/chrome/browser/chromeos/login/screens/host_pairing_screen_actor.h b/chrome/browser/chromeos/login/screens/host_pairing_screen_view.h
similarity index 86%
rename from chrome/browser/chromeos/login/screens/host_pairing_screen_actor.h
rename to chrome/browser/chromeos/login/screens/host_pairing_screen_view.h
index b6d86f8468ad69ff4bf74d7bccd4de8f019671df..64ded6500e0c0b70c5b4cedbb2124b67b3593171 100644
--- a/chrome/browser/chromeos/login/screens/host_pairing_screen_actor.h
+++ b/chrome/browser/chromeos/login/screens/host_pairing_screen_view.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_ACTOR_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_ACTOR_H_
+#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_VIEW_H_
+#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_VIEW_H_
#include "base/macros.h"
@@ -39,16 +39,16 @@ extern const char kPagePairingDone[];
} // namespace host_pairing
-class HostPairingScreenActor {
+class HostPairingScreenView {
public:
class Delegate {
public:
virtual ~Delegate() {}
- virtual void OnActorDestroyed(HostPairingScreenActor* actor) = 0;
+ virtual void OnViewDestroyed(HostPairingScreenView* view) = 0;
};
- HostPairingScreenActor();
- virtual ~HostPairingScreenActor();
+ HostPairingScreenView();
+ virtual ~HostPairingScreenView();
virtual void Show() = 0;
virtual void Hide() = 0;
@@ -56,9 +56,9 @@ class HostPairingScreenActor {
virtual void OnContextChanged(const base::DictionaryValue& diff) = 0;
private:
- DISALLOW_COPY_AND_ASSIGN(HostPairingScreenActor);
+ DISALLOW_COPY_AND_ASSIGN(HostPairingScreenView);
};
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_ACTOR_H_
+#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698