chromium/components/viz/service/frame_sinks/external_begin_frame_source_mojo.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 "components/viz/service/frame_sinks/external_begin_frame_source_mojo.h"

#include <utility>

#include "components/viz/service/frame_sinks/frame_sink_manager_impl.h"

namespace viz {

ExternalBeginFrameSourceMojo::ExternalBeginFrameSourceMojo(
    FrameSinkManagerImpl* frame_sink_manager,
    mojo::PendingAssociatedReceiver<mojom::ExternalBeginFrameController>
        controller_receiver,
    uint32_t restart_id)
    :{}

ExternalBeginFrameSourceMojo::~ExternalBeginFrameSourceMojo() {}

void ExternalBeginFrameSourceMojo::IssueExternalBeginFrame(
    const BeginFrameArgs& args,
    bool force,
    base::OnceCallback<void(const BeginFrameAck&)> callback) {}

void ExternalBeginFrameSourceMojo::OnDestroyedCompositorFrameSink(
    const FrameSinkId& sink_id) {}

void ExternalBeginFrameSourceMojo::OnFrameSinkDidBeginFrame(
    const FrameSinkId& sink_id,
    const BeginFrameArgs& args) {}

void ExternalBeginFrameSourceMojo::OnFrameSinkDidFinishFrame(
    const FrameSinkId& sink_id,
    const BeginFrameArgs& args) {}

void ExternalBeginFrameSourceMojo::MaybeProduceFrameCallback() {}

void ExternalBeginFrameSourceMojo::DispatchFrameCallback(
    const BeginFrameAck& ack) {}

void ExternalBeginFrameSourceMojo::OnDisplayDidFinishFrame(
    const BeginFrameAck& ack) {}

void ExternalBeginFrameSourceMojo::OnDisplayDestroyed() {}

void ExternalBeginFrameSourceMojo::SetDisplay(Display* display) {}

}  // namespace viz