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

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: Init for context var added. Created 5 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/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..5f3079848345a3b6a641d4cd7f1ca0d5a2895df0
--- /dev/null
+++ b/chrome/browser/chromeos/login/screens/hid_detection_model.cc
@@ -0,0 +1,38 @@
+// 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::kContextKeyNumKeysEnteredExpected[] =
+ "num-keys-entered-expected";
+const char HIDDetectionModel::kContextKeyNumKeysEnteredPinCode[] =
+ "num-keys-entered-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