// 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_BASE_PREDICTION_ONE_EURO_FILTER_H_ #define UI_BASE_PREDICTION_ONE_EURO_FILTER_H_ #include "base/component_export.h" #include "third_party/one_euro_filter/src/one_euro_filter.h" #include "ui/base/prediction/input_filter.h" namespace ui { // This class uses the 1€ filter from third party. // See this page : http://cristal.univ-lille.fr/~casiez/1euro/ // to know how the filter works and how to tune it class COMPONENT_EXPORT(UI_BASE_PREDICTION) OneEuroFilter : public InputFilter { … }; } // namespace ui #endif // UI_BASE_PREDICTION_ONE_EURO_FILTER_H_