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

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

Issue 616633002: [Ozone-Evdev] Propagate touchscreen device information to DeviceDataManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 months 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
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 7a006f713bb52c2a2736f45a4ddd3da784e42116..5178341971cf2662c13f57e936ad6a1bd6808693 100644
--- a/ui/events/ozone/evdev/event_converter_evdev.cc
+++ b/ui/events/ozone/evdev/event_converter_evdev.cc
@@ -7,11 +7,15 @@
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
+#include "ui/events/ozone/evdev/event_device_info.h"
namespace ui {
-EventConverterEvdev::EventConverterEvdev(int fd, const base::FilePath& path)
- : fd_(fd), path_(path) {
+EventConverterEvdev::EventConverterEvdev(
+ int fd,
+ const base::FilePath& path,
+ scoped_ptr<EventDeviceInfo> device_info)
spang 2014/09/29 23:54:35 Do we actually need to store EventDeviceInfo? You
dnicoara 2014/09/30 18:23:27 Size + properties to figure out what type of devic
spang 2014/09/30 18:59:23 Just add two functions to EventConvertEvdev: Has
dnicoara 2014/09/30 19:09:31 The getters never call the ioctls. One would have
+ : fd_(fd), path_(path), device_info_(device_info.Pass()) {
}
EventConverterEvdev::~EventConverterEvdev() {

Powered by Google App Engine
This is Rietveld 408576698