chromium/third_party/blink/renderer/core/animation_frame/worker_animation_frame_provider.cc

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

#include "third_party/blink/renderer/core/animation_frame/worker_animation_frame_provider.h"

#include "base/task/single_thread_task_runner.h"
#include "base/trace_event/trace_event.h"
#include "third_party/blink/renderer/core/execution_context/agent.h"
#include "third_party/blink/renderer/core/offscreencanvas/offscreen_canvas.h"
#include "third_party/blink/renderer/core/timing/worker_global_scope_performance.h"
#include "third_party/blink/renderer/core/workers/worker_global_scope.h"
#include "third_party/blink/renderer/platform/scheduler/public/event_loop.h"
#include "third_party/blink/renderer/platform/wtf/cross_thread_functional.h"

namespace blink {

WorkerAnimationFrameProvider::WorkerAnimationFrameProvider(
    ExecutionContext* context,
    const BeginFrameProviderParams& begin_frame_provider_params)
    :{}

int WorkerAnimationFrameProvider::RegisterCallback(FrameCallback* callback) {}

void WorkerAnimationFrameProvider::CancelCallback(int id) {}

void WorkerAnimationFrameProvider::BeginFrame(const viz::BeginFrameArgs& args) {}

scoped_refptr<base::SingleThreadTaskRunner>
WorkerAnimationFrameProvider::GetCompositorTaskRunner() {}

void WorkerAnimationFrameProvider::RegisterOffscreenCanvas(
    OffscreenCanvas* context) {}

void WorkerAnimationFrameProvider::DeregisterOffscreenCanvas(
    OffscreenCanvas* offscreen_canvas) {}

void WorkerAnimationFrameProvider::Trace(Visitor* visitor) const {}

}  // namespace blink