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

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

Issue 898453002: HID-detection screen moved to screenContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/hid_detection_model.cc
diff --git a/chrome/browser/chromeos/login/screens/hid_detection_model.cc b/chrome/browser/chromeos/login/screens/hid_detection_model.cc
new file mode 100644
index 0000000000000000000000000000000000000000..2b826a4907a7b6a5f9293c8a99f8a50bc821618a
--- /dev/null
+++ b/chrome/browser/chromeos/login/screens/hid_detection_model.cc
@@ -0,0 +1,36 @@
+// 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/hid_detection_model.h"
+
+#include "chrome/browser/chromeos/login/wizard_controller.h"
+
+namespace chromeos {
+
+const char HIDDetectionModel::kContextKeyKeyboardState[] = "keyboard-state";
+const char HIDDetectionModel::kContextKeyMouseState[] = "mouse-state";
+const char HIDDetectionModel::kContextKeyPincode[] = "keyboard-pincode";
+const char HIDDetectionModel::kContextKeyEnteredPartPincode[] =
+ "entered-part-pincode";
+const char HIDDetectionModel::kContextKeyMouseDeviceName[] =
+ "mouse-device-name";
+const char HIDDetectionModel::kContextKeyKeyboardDeviceName[] =
+ "keyboard-device-name";
+const char HIDDetectionModel::kContextKeyKeyboardLabel[] =
+ "keyboard-device-label";
+const char HIDDetectionModel::kContextKeyContinueButtonEnabled[] =
+ "continue-button-enabled";
+
+HIDDetectionModel::HIDDetectionModel(BaseScreenDelegate* base_screen_delegate)
+ : BaseScreen(base_screen_delegate) {
+}
+
+HIDDetectionModel::~HIDDetectionModel() {
+}
+
+std::string HIDDetectionModel::GetName() const {
+ return WizardController::kHIDDetectionScreenName;
+}
+
+} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698