OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
ygorshenin1
2014/04/24 11:30:24
Add some tests or remove this file from the curren
merkulova
2014/04/24 12:49:46
Done.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/chromeos/device/input_service_proxy.h" | |
6 #include "chrome/browser/chromeos/login/login_manager_test.h" | |
7 #include "content/public/test/browser_test_utils.h" | |
8 | |
9 using device::InputServiceLinux; | |
10 | |
11 typedef InputServiceLinux::InputDeviceInfo InputDeviceInfo; | |
12 | |
13 namespace chromeos { | |
14 | |
15 namespace { | |
16 | |
17 const char kKeyboardId[] = "keyboard"; | |
18 const char kMouseId[] = "mouse"; | |
19 | |
20 } // namespace | |
21 | |
22 class HIDDetectionTest : public LoginManagerTest { | |
23 public: | |
24 HIDDetectionTest() : LoginManagerTest(false) { | |
25 } | |
26 virtual ~HIDDetectionTest() {} | |
27 | |
28 bool JSExecuted(const std::string& script) { | |
29 return content::ExecuteScript(web_contents(), script); | |
30 } | |
31 | |
32 }; | |
33 | |
34 } // namespace chromeos | |
OLD | NEW |