#include "third_party/blink/renderer/platform/widget/input/prediction/filter_factory.h"
#include "base/metrics/field_trial_params.h"
#include "base/strings/string_number_conversions.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/renderer/platform/widget/input/prediction/predictor_factory.h"
#include "ui/base/prediction/empty_filter.h"
#include "ui/base/prediction/one_euro_filter.h"
#include "ui/base/ui_base_features.h"
namespace blink {
namespace {
FilterType;
PredictorType;
}
FilterFactory::FilterFactory(
const base::Feature& feature,
const input_prediction::PredictorType predictor_type,
const input_prediction::FilterType filter_type)
: … { … }
FilterFactory::~FilterFactory() { … }
void FilterFactory::LoadFilterParams(
const base::Feature& feature,
const input_prediction::PredictorType predictor_type,
const input_prediction::FilterType filter_type) { … }
FilterType FilterFactory::GetFilterTypeFromName(
const std::string& filter_name) { … }
std::unique_ptr<ui::InputFilter> FilterFactory::CreateFilter() { … }
void FilterFactory::GetFilterParams(const FilterType filter_type,
const PredictorType predictor_type,
FilterParams* filter_params) { … }
}