// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_OZONE_EVDEV_TOUCH_FILTER_PALM_DETECTION_FILTER_H_ #define UI_EVENTS_OZONE_EVDEV_TOUCH_FILTER_PALM_DETECTION_FILTER_H_ #include <bitset> #include <vector> #include "base/memory/raw_ptr.h" #include "base/time/time.h" #include "ui/events/ozone/evdev/touch_evdev_types.h" #include "ui/events/ozone/evdev/touch_filter/shared_palm_detection_filter_state.h" namespace ui { // An abstract palm detection filter. It has two functions: // 1. To decide which touches to "hold" // 2. To decide which touches to suppress / "cancel". // Interface is similar to that of TouchFilter but enshrines the "hold" as a // first class citizen. class COMPONENT_EXPORT(EVDEV) PalmDetectionFilter { … }; } // namespace ui #endif // UI_EVENTS_OZONE_EVDEV_TOUCH_FILTER_PALM_DETECTION_FILTER_H_