OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
Nikita (slow)
2015/02/13 12:31:45
nit: 2015
merkulova
2015/02/13 12:58:06
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 #ifndef DEVICE_HID_FAKE_INPUT_SERVICE_LINUX_H_ | |
6 #define DEVICE_HID_FAKE_INPUT_SERVICE_LINUX_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "device/hid/input_service_linux.h" | |
11 | |
12 namespace device { | |
13 | |
14 class FakeInputServiceLinux : public InputServiceLinux { | |
15 | |
16 public: | |
17 FakeInputServiceLinux(); | |
18 ~FakeInputServiceLinux() override; | |
19 | |
20 void AddDeviceForTesting(const InputDeviceInfo& info); | |
21 void RemoveDeviceForTesting(const std::string& id); | |
22 void ClearDeviceList(); | |
23 | |
24 DISALLOW_COPY_AND_ASSIGN(FakeInputServiceLinux); | |
25 }; | |
26 | |
27 } // namespace device | |
28 | |
29 #endif // DEVICE_HID_FAKE_INPUT_SERVICE_LINUX_H_ | |
OLD | NEW |