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

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
« no previous file with comments | « ui/events/ozone/evdev/event_converter_evdev.h ('k') | ui/events/ozone/evdev/event_factory_evdev.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 7a006f713bb52c2a2736f45a4ddd3da784e42116..518c7f2cd509a936713f3a9c69264519092f24b5 100644
--- a/ui/events/ozone/evdev/event_converter_evdev.cc
+++ b/ui/events/ozone/evdev/event_converter_evdev.cc
@@ -10,8 +10,10 @@
namespace ui {
-EventConverterEvdev::EventConverterEvdev(int fd, const base::FilePath& path)
- : fd_(fd), path_(path) {
+EventConverterEvdev::EventConverterEvdev(int fd,
+ const base::FilePath& path,
+ int id)
+ : fd_(fd), path_(path), id_(id) {
}
EventConverterEvdev::~EventConverterEvdev() {
@@ -31,4 +33,13 @@ void EventConverterEvdev::OnFileCanWriteWithoutBlocking(int fd) {
NOTREACHED();
}
+bool EventConverterEvdev::HasTouchscreen() const {
+ return false;
+}
+
+gfx::Size EventConverterEvdev::GetTouchscreenSize() const {
+ NOTREACHED();
+ return gfx::Size();
+}
+
} // namespace ui
« no previous file with comments | « ui/events/ozone/evdev/event_converter_evdev.h ('k') | ui/events/ozone/evdev/event_factory_evdev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698