| 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 eedb243b6c4fa8c188b27fdd0f9c01eee0b168f3..f85e0febdc0dc1126ceed9e7bc5ef4ff7dff4fcc 100644
|
| --- a/ui/events/ozone/evdev/touch_event_converter_evdev.h
|
| +++ b/ui/events/ozone/evdev/touch_event_converter_evdev.h
|
| @@ -27,10 +27,15 @@ class EVENTS_OZONE_EVDEV_EXPORT TouchEventConverterEvdev
|
| };
|
| TouchEventConverterEvdev(int fd,
|
| base::FilePath path,
|
| + int id,
|
| const EventDeviceInfo& info,
|
| const EventDispatchCallback& dispatch);
|
| virtual ~TouchEventConverterEvdev();
|
|
|
| + // EventConverterEvdev:
|
| + virtual bool HasTouchscreen() const OVERRIDE;
|
| + virtual gfx::Size GetTouchscreenSize() const OVERRIDE;
|
| +
|
| private:
|
| friend class MockTouchEventConverterEvdev;
|
|
|
| @@ -77,6 +82,9 @@ class EVENTS_OZONE_EVDEV_EXPORT TouchEventConverterEvdev
|
| float y_min_pixels_;
|
| float y_num_pixels_;
|
|
|
| + // Size of the touchscreen as reported by the driver.
|
| + gfx::Size native_size_;
|
| +
|
| // Touch point currently being updated from the /dev/input/event* stream.
|
| int current_slot_;
|
|
|
|
|