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

Unified Diff: chrome/browser/chromeos/login/screens/controller_pairing_screen_actor.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/controller_pairing_screen_actor.h
diff --git a/chrome/browser/chromeos/login/screens/controller_pairing_screen_actor.h b/chrome/browser/chromeos/login/screens/controller_pairing_screen_actor.h
deleted file mode 100644
index 3796790692e2955a04619311d72cfd21fe63b600..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/screens/controller_pairing_screen_actor.h
+++ /dev/null
@@ -1,87 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// 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_CONTROLLER_PAIRING_SCREEN_ACTOR_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CONTROLLER_PAIRING_SCREEN_ACTOR_H_
-
-#include <string>
-
-#include "base/macros.h"
-
-namespace base {
-class DictionaryValue;
-}
-
-namespace content {
-class BrowserContext;
-}
-
-namespace chromeos {
-
-namespace controller_pairing {
-
-// Keep these constants synced with corresponding constants defined in
-// oobe_screen_controller_pairing.js.
-// Context keys.
-extern const char kContextKeyPage[];
-extern const char kContextKeyControlsDisabled[];
-extern const char kContextKeyDevices[];
-extern const char kContextKeyConfirmationCode[];
-extern const char kContextKeySelectedDevice[];
-extern const char kContextKeyAccountId[];
-extern const char kContextKeyEnrollmentDomain[];
-
-// Pages names.
-extern const char kPageDevicesDiscovery[];
-extern const char kPageDeviceSelect[];
-extern const char kPageDeviceNotFound[];
-extern const char kPageEstablishingConnection[];
-extern const char kPageEstablishingConnectionError[];
-extern const char kPageCodeConfirmation[];
-extern const char kPageHostNetworkError[];
-extern const char kPageHostUpdate[];
-extern const char kPageHostConnectionLost[];
-extern const char kPageEnrollmentIntroduction[];
-extern const char kPageAuthentication[];
-extern const char kPageHostEnrollment[];
-extern const char kPageHostEnrollmentError[];
-extern const char kPagePairingDone[];
-
-// Actions names.
-extern const char kActionChooseDevice[];
-extern const char kActionRepeatDiscovery[];
-extern const char kActionAcceptCode[];
-extern const char kActionRejectCode[];
-extern const char kActionProceedToAuthentication[];
-extern const char kActionEnroll[];
-extern const char kActionStartSession[];
-
-} // namespace controller_pairing
-
-class ControllerPairingScreenActor {
- public:
- class Delegate {
- public:
- virtual ~Delegate() {}
- virtual void OnActorDestroyed(ControllerPairingScreenActor* actor) = 0;
- virtual void OnScreenContextChanged(const base::DictionaryValue& diff) = 0;
- virtual void OnUserActed(const std::string& action) = 0;
- };
-
- ControllerPairingScreenActor();
- virtual ~ControllerPairingScreenActor();
-
- virtual void Show() = 0;
- virtual void Hide() = 0;
- virtual void SetDelegate(Delegate* delegate) = 0;
- virtual void OnContextChanged(const base::DictionaryValue& diff) = 0;
- virtual content::BrowserContext* GetBrowserContext() = 0;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ControllerPairingScreenActor);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CONTROLLER_PAIRING_SCREEN_ACTOR_H_

Powered by Google App Engine
This is Rietveld 408576698