blob: 754167e50b1ff8332c2405509558d0c7c19ffe02 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/base/prediction/empty_filter.h"
#include "ui/base/ui_base_features.h"
namespace ui {
EmptyFilter::EmptyFilter() {}
EmptyFilter::~EmptyFilter() {}
bool EmptyFilter::Filter(const base::TimeTicks& timestamp,
gfx::PointF* position) const {
return position;
}
const char* EmptyFilter::GetName() const {
return features::kFilterNameEmpty;
}
InputFilter* EmptyFilter::Clone() {
return new EmptyFilter();
}
void EmptyFilter::Reset() {}
} // namespace ui