1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/chromeos/login/screens/hid_detection_model.h"
7 #include "chrome/browser/chromeos/login/wizard_controller.h"
11 const char HIDDetectionModel::kContextKeyKeyboardState
[] = "keyboard-state";
12 const char HIDDetectionModel::kContextKeyMouseState
[] = "mouse-state";
13 const char HIDDetectionModel::kContextKeyPinCode
[] = "keyboard-pincode";
14 const char HIDDetectionModel::kContextKeyNumKeysEnteredExpected
[] =
15 "num-keys-entered-expected";
16 const char HIDDetectionModel::kContextKeyNumKeysEnteredPinCode
[] =
17 "num-keys-entered-pincode";
18 const char HIDDetectionModel::kContextKeyMouseDeviceName
[] =
20 const char HIDDetectionModel::kContextKeyKeyboardDeviceName
[] =
21 "keyboard-device-name";
22 const char HIDDetectionModel::kContextKeyKeyboardLabel
[] =
23 "keyboard-device-label";
24 const char HIDDetectionModel::kContextKeyContinueButtonEnabled
[] =
25 "continue-button-enabled";
27 HIDDetectionModel::HIDDetectionModel(BaseScreenDelegate
* base_screen_delegate
)
28 : BaseScreen(base_screen_delegate
) {
31 HIDDetectionModel::~HIDDetectionModel() {
34 std::string
HIDDetectionModel::GetName() const {
35 return WizardController::kHIDDetectionScreenName
;
38 } // namespace chromeos