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 fa8e46f2a22ba900ad689559d22c6e9dcb4255fc..ccb60d7c1331b13939b3300e0887498da2a365d8 100644 |
--- a/ui/events/ozone/evdev/touch_event_converter_evdev.h |
+++ b/ui/events/ozone/evdev/touch_event_converter_evdev.h |
@@ -21,12 +21,17 @@ |
#include "ui/events/ozone/evdev/events_ozone_evdev_export.h" |
#include "ui/events/ozone/evdev/touch_evdev_debug_buffer.h" |
+namespace gfx { |
+class PointF; |
+} |
+ |
namespace ui { |
class DeviceEventDispatcherEvdev; |
class TouchEvent; |
class TouchNoiseFinder; |
struct InProgressTouchEvdev; |
+struct PointerDetails; |
class EVENTS_OZONE_EVDEV_EXPORT TouchEventConverterEvdev |
: public EventConverterEvdev { |
@@ -71,14 +76,20 @@ class EVENTS_OZONE_EVDEV_EXPORT TouchEventConverterEvdev |
// event should not be dispatched. |
EventType GetEventTypeForTouch(const InProgressTouchEvdev& touch); |
- void ReportEvent(const InProgressTouchEvdev& event, |
- EventType event_type, |
- base::TimeTicks timestamp); |
+ void ReportTouchEvent(const InProgressTouchEvdev& event, |
+ EventType event_type, |
+ base::TimeTicks timestamp); |
+ void ReportStylusEvent(const InProgressTouchEvdev& event, |
+ base::TimeTicks timestamp); |
+ void ReportButton(unsigned int button, |
+ bool down, |
+ const InProgressTouchEvdev& event, |
+ base::TimeTicks timestamp); |
void ReportEvents(base::TimeTicks timestamp); |
void UpdateTrackingId(int slot, int tracking_id); |
void ReleaseTouches(); |
- |
+ void ReleaseButtons(); |
// Normalize pressure value to [0, 1]. |
float ScalePressure(int32_t value); |