Index: ui/events/devices/device_util_linux.h |
diff --git a/ui/events/devices/device_util_linux.h b/ui/events/devices/device_util_linux.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8d890505780b8fdd5ab63cbc516a8c176b1baf6d |
--- /dev/null |
+++ b/ui/events/devices/device_util_linux.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_EVENTS_DEVICES_DEVICE_UTIL_LINUX_H_ |
+#define UI_EVENTS_DEVICES_DEVICE_UTIL_LINUX_H_ |
+ |
+#include "ui/events/devices/events_devices_export.h" |
+#include "ui/events/devices/input_device.h" |
+ |
+namespace base { |
+class FilePath; |
+} // namespace base |
+ |
+namespace ui { |
+ |
+// Finds device type (internal or external) based on device path. |
+EVENTS_DEVICES_EXPORT InputDeviceType |
+GetInputDeviceTypeFromPath(const base::FilePath& path); |
+ |
+} // namespace ui |
+ |
+#endif // UI_EVENTS_DEVICES_DEVICE_UTIL_LINUX_H_ |