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 f522921da46912af1c748c8d0a72f1ceb009ac80..664eb3903b199fe4b3e7fd9ab80f9e34af4ed593 100644 |
--- a/ui/events/ozone/evdev/touch_event_converter_evdev.h |
+++ b/ui/events/ozone/evdev/touch_event_converter_evdev.h |
@@ -9,6 +9,7 @@ |
#include "base/compiler_specific.h" |
#include "base/files/file_path.h" |
+#include "base/memory/scoped_ptr.h" |
#include "base/message_loop/message_pump_libevent.h" |
#include "ui/events/event_constants.h" |
#include "ui/events/ozone/evdev/event_converter_evdev.h" |
@@ -18,6 +19,7 @@ |
namespace ui { |
class TouchEvent; |
+class TouchNoiseRemover; |
class DeviceEventDispatcherEvdev; |
@@ -67,8 +69,6 @@ class EVENTS_OZONE_EVDEV_EXPORT TouchEventConverterEvdev |
void ProcessAbs(const input_event& input); |
void ProcessSyn(const input_event& input); |
- void ReportEvent(int touch_id, |
- const InProgressEvents& event, const base::TimeDelta& delta); |
void ReportEvents(base::TimeDelta delta); |
// Dispatcher for events. |
@@ -104,6 +104,9 @@ class EVENTS_OZONE_EVDEV_EXPORT TouchEventConverterEvdev |
// In-progress touch points. |
std::vector<InProgressEvents> events_; |
+ // Filters out touch noise. |
+ scoped_ptr<TouchNoiseRemover> touch_noise_remover_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TouchEventConverterEvdev); |
}; |