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

Unified Diff: ui/events/ozone/evdev/event_converter_evdev.cc

Issue 790153005: ozone: evdev: Add property to identify internal or external devices (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 | « ui/events/ozone/evdev/event_converter_evdev.h ('k') | ui/events/ozone/evdev/event_converter_evdev_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/event_converter_evdev.cc
diff --git a/ui/events/ozone/evdev/event_converter_evdev.cc b/ui/events/ozone/evdev/event_converter_evdev.cc
index 8dfac5cb20ff099ed59023aed723d089ee7e1263..abc50e03b8adc0a1318afdcb320936cededd4d91 100644
--- a/ui/events/ozone/evdev/event_converter_evdev.cc
+++ b/ui/events/ozone/evdev/event_converter_evdev.cc
@@ -7,13 +7,15 @@
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
+#include "ui/events/devices/input_device.h"
namespace ui {
EventConverterEvdev::EventConverterEvdev(int fd,
const base::FilePath& path,
- int id)
- : fd_(fd), path_(path), id_(id) {
+ int id,
+ InputDeviceType type)
+ : fd_(fd), path_(path), id_(id), type_(type) {
}
EventConverterEvdev::~EventConverterEvdev() {
@@ -42,8 +44,4 @@ gfx::Size EventConverterEvdev::GetTouchscreenSize() const {
return gfx::Size();
}
-bool EventConverterEvdev::IsInternal() const {
- return false;
-}
-
} // namespace ui
« no previous file with comments | « ui/events/ozone/evdev/event_converter_evdev.h ('k') | ui/events/ozone/evdev/event_converter_evdev_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698