Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Unified Diff: ui/events/devices/device_util_linux.h

Issue 791743004: events: Generalize IsTouchscreenInternal to any device type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/events/devices/device_util_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index 79d2608b1b69c7cb8607c72d0c4803d0ce2301e4..8d890505780b8fdd5ab63cbc516a8c176b1baf6d 100644
--- a/ui/events/devices/device_util_linux.h
+++ b/ui/events/devices/device_util_linux.h
@@ -6,6 +6,7 @@
#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;
@@ -13,8 +14,9 @@ class FilePath;
namespace ui {
-// Returns true if the device described by |path| is an internal device.
-EVENTS_DEVICES_EXPORT bool IsTouchscreenInternal(const base::FilePath& path);
+// Finds device type (internal or external) based on device path.
+EVENTS_DEVICES_EXPORT InputDeviceType
+GetInputDeviceTypeFromPath(const base::FilePath& path);
} // namespace ui
« no previous file with comments | « no previous file | ui/events/devices/device_util_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698