summaryrefslogtreecommitdiffstats
path: root/device/hid/input_service_linux.h
diff options
context:
space:
mode:
authorygorshenin@chromium.org <ygorshenin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-22 11:21:15 +0000
committerygorshenin@chromium.org <ygorshenin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-22 11:21:15 +0000
commit553b59c2f5851322399e69d4d79e918c2eebb2f4 (patch)
treee2ea7485298778af18dcb25a209a2c34f8bbed1b /device/hid/input_service_linux.h
parent1513166efa42288dc314028db6487591d8648aa5 (diff)
downloadchromium_src-553b59c2f5851322399e69d4d79e918c2eebb2f4.zip
chromium_src-553b59c2f5851322399e69d4d79e918c2eebb2f4.tar.gz
chromium_src-553b59c2f5851322399e69d4d79e918c2eebb2f4.tar.bz2
Added device types (bluetooth, usb, serio) to InputDeviceInfo.
BUG=357050 TEST=manual Review URL: https://codereview.chromium.org/240583006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265228 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device/hid/input_service_linux.h')
-rw-r--r--device/hid/input_service_linux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/device/hid/input_service_linux.h b/device/hid/input_service_linux.h
index edd957b..dc43dba 100644
--- a/device/hid/input_service_linux.h
+++ b/device/hid/input_service_linux.h
@@ -26,12 +26,14 @@ class InputServiceLinux : public base::MessageLoop::DestructionObserver {
public:
struct InputDeviceInfo {
enum Subsystem { SUBSYSTEM_HID, SUBSYSTEM_INPUT, SUBSYSTEM_UNKNOWN };
+ enum Type { TYPE_BLUETOOTH, TYPE_USB, TYPE_SERIO, TYPE_UNKNOWN };
InputDeviceInfo();
std::string id;
std::string name;
Subsystem subsystem;
+ Type type;
bool is_accelerometer : 1;
bool is_joystick : 1;