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

Unified Diff: ui/events/ozone/evdev/touch_event_converter_evdev.h

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
Index: ui/events/ozone/evdev/touch_event_converter_evdev.h
diff --git a/ui/events/ozone/evdev/touch_event_converter_evdev.h b/ui/events/ozone/evdev/touch_event_converter_evdev.h
index 54beb1f6adee57bce42ccb2d39baaa57c53220ff..c78645c9fc8c700b4e541e7dcac0abbb9fc2a836 100644
--- a/ui/events/ozone/evdev/touch_event_converter_evdev.h
+++ b/ui/events/ozone/evdev/touch_event_converter_evdev.h
@@ -28,13 +28,13 @@ class EVENTS_OZONE_EVDEV_EXPORT TouchEventConverterEvdev
TouchEventConverterEvdev(int fd,
base::FilePath path,
int id,
+ InputDeviceType type,
const EventDispatchCallback& dispatch);
~TouchEventConverterEvdev() override;
// EventConverterEvdev:
bool HasTouchscreen() const override;
gfx::Size GetTouchscreenSize() const override;
- bool IsInternal() const override;
// Unsafe part of initialization.
virtual void Initialize(const EventDeviceInfo& info);
@@ -103,8 +103,6 @@ class EVENTS_OZONE_EVDEV_EXPORT TouchEventConverterEvdev
// In-progress touch points.
InProgressEvents events_[MAX_FINGERS];
- bool is_internal_;
-
DISALLOW_COPY_AND_ASSIGN(TouchEventConverterEvdev);
};
« no previous file with comments | « ui/events/ozone/evdev/tablet_event_converter_evdev_unittest.cc ('k') | ui/events/ozone/evdev/touch_event_converter_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698