Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / device / hid / fake_input_service_linux.h
blob1b46d9895c4992892ec9fd3b9120f2b39609e3fb
1 // Copyright 2015 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 #ifndef DEVICE_HID_FAKE_INPUT_SERVICE_LINUX_H_
6 #define DEVICE_HID_FAKE_INPUT_SERVICE_LINUX_H_
8 #include <string>
10 #include "device/hid/input_service_linux.h"
12 namespace device {
14 class FakeInputServiceLinux : public InputServiceLinux {
16 public:
17 FakeInputServiceLinux();
18 ~FakeInputServiceLinux() override;
20 void AddDeviceForTesting(const InputDeviceInfo& info);
21 void RemoveDeviceForTesting(const std::string& id);
22 void ClearDeviceList();
24 DISALLOW_COPY_AND_ASSIGN(FakeInputServiceLinux);
27 } // namespace device
29 #endif // DEVICE_HID_FAKE_INPUT_SERVICE_LINUX_H_