chromium/components/viz/service/display/delegated_ink_trail_data.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "components/viz/service/display/delegated_ink_trail_data.h"

#include <string>

#include "base/metrics/histogram_functions.h"
#include "base/strings/strcat.h"
#include "base/strings/string_number_conversions.h"
#include "base/trace_event/trace_event.h"
#include "components/viz/common/features.h"
#include "ui/base/prediction/kalman_predictor.h"
#include "ui/base/prediction/least_squares_predictor.h"
#include "ui/base/prediction/linear_predictor.h"
#include "ui/base/prediction/linear_resampling.h"
#include "ui/gfx/delegated_ink_metadata.h"
#include "ui/gfx/delegated_ink_point.h"

namespace viz {

DelegatedInkTrailData::DelegatedInkTrailData() {}

std::unique_ptr<ui::InputPredictor> DelegatedInkTrailData::CreatePredictor(
    std::string predictor) {}

DelegatedInkTrailData::~DelegatedInkTrailData() = default;
DelegatedInkTrailData::PredictionHandler::PredictionHandler() = default;
DelegatedInkTrailData::PredictionHandler::~PredictionHandler() = default;

void DelegatedInkTrailData::AddPoint(const gfx::DelegatedInkPoint& point) {}

void DelegatedInkTrailData::PredictPoints(
    std::vector<gfx::DelegatedInkPoint>* ink_points_to_draw,
    gfx::DelegatedInkMetadata* metadata) {}

void DelegatedInkTrailData::Reset() {}

bool DelegatedInkTrailData::ContainsMatchingPoint(
    gfx::DelegatedInkMetadata* metadata) const {}

void DelegatedInkTrailData::ErasePointsOlderThanMetadata(
    gfx::DelegatedInkMetadata* metadata) {}

void DelegatedInkTrailData::UpdateMetrics(gfx::DelegatedInkMetadata* metadata) {}

}  // namespace viz