chromium/components/viz/test/fake_external_begin_frame_source.cc

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

#include "components/viz/test/fake_external_begin_frame_source.h"

#include "base/functional/bind.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/memory/raw_ptr.h"
#include "base/task/single_thread_task_runner.h"
#include "base/time/time.h"
#include "components/viz/test/begin_frame_args_test.h"

namespace viz {

FakeExternalBeginFrameSource::FakeExternalBeginFrameSource(
    double refresh_rate,
    bool tick_automatically)
    :{}

FakeExternalBeginFrameSource::~FakeExternalBeginFrameSource() {}

void FakeExternalBeginFrameSource::SetPaused(bool paused) {}

void FakeExternalBeginFrameSource::AddObserver(BeginFrameObserver* obs) {}

void FakeExternalBeginFrameSource::RemoveObserver(BeginFrameObserver* obs) {}

void FakeExternalBeginFrameSource::DidFinishFrame(BeginFrameObserver* obs) {}

BeginFrameArgs FakeExternalBeginFrameSource::CreateBeginFrameArgs(
    BeginFrameArgs::CreationLocation location,
    const base::TickClock* now_src) {}

BeginFrameArgs FakeExternalBeginFrameSource::CreateBeginFrameArgs(
    BeginFrameArgs::CreationLocation location) {}

BeginFrameArgs FakeExternalBeginFrameSource::CreateBeginFrameArgsWithGenerator(
    base::TimeTicks frame_time,
    base::TimeTicks next_frame_time,
    base::TimeDelta vsync_interval) {}

void FakeExternalBeginFrameSource::TestOnBeginFrame(
    const BeginFrameArgs& args) {}

void FakeExternalBeginFrameSource::PostTestOnBeginFrame() {}

bool FakeExternalBeginFrameSource::AllFramesDidFinish() {}

}  // namespace viz