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

Unified Diff: chrome/browser/chromeos/login/screens/controller_pairing_screen_actor.cc

Issue 326933004: Example of usage of new features of context and screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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.cc
diff --git a/chrome/browser/chromeos/login/screens/controller_pairing_screen_actor.cc b/chrome/browser/chromeos/login/screens/controller_pairing_screen_actor.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d0f4133b3af5ddf1ba6b996e1130072ef8e08e1e
--- /dev/null
+++ b/chrome/browser/chromeos/login/screens/controller_pairing_screen_actor.cc
@@ -0,0 +1,47 @@
+// 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.
+
+#include "chrome/browser/chromeos/login/screens/controller_pairing_screen_actor.h"
+
+namespace chromeos {
+
+namespace controller_pairing {
+
+const char kContextKeyPage[] = "page";
+const char kContextKeyControlsDisabled[] = "controlsDisabled";
+const char kContextKeyDevices[] = "devices";
+const char kContextKeyConfirmationCode[] = "code";
+const char kContextKeySelectedDevice[] = "selectedDevice";
+const char kContextKeyAccountId[] = "accountId";
+
+const char kPageDevicesDiscovery[] = "devices-discovery";
+const char kPageDeviceSelect[] = "device-select";
+const char kPageDeviceNotFound[] = "device-not-found";
+const char kPageEstablishingConnection[] = "establishing-connection";
+const char kPageEstablishingConnectionError[] = "establishing-connection-error";
+const char kPageCodeConfirmation[] = "code-confirmation";
+const char kPageHostUpdate[] = "host-update";
+const char kPageHostConnectionLost[] = "host-connection-lost";
+const char kPageEnrlollmentIntroduction[] = "enrollment-introduction";
+const char kPageAuthentication[] = "authentication";
+const char kPageHostEnrollment[] = "host-enrollment";
+const char kPageHostEnrollmentError[] = "host-enrollment-error";
+const char kPagePairingDone[] = "pairing-done";
+
+const char kActionChooseDevice[] = "chooseDevice";
+const char kActionRepeatDiscovery[] = "repeatDiscovery";
+const char kActionAcceptCode[] = "acceptCode";
+const char kActionRejectCode[] = "rejectCode";
+const char kActionProceedToAuthentication[] = "proceedToAuthentication";
+const char kActionEnroll[] = "enroll";
+const char kActionStartSession[] = "startSession";
+
+} // namespace controller_pairing
+ControllerPairingScreenActor::ControllerPairingScreenActor() {
+}
+
+ControllerPairingScreenActor::~ControllerPairingScreenActor() {
+}
+
+} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698