blob: 003f761e4580096b631882c05c117af2c0cc8100 [file] [log] [blame]
// Copyright 2018 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.
module content.mojom;
import "content/common/render_frame_metadata.mojom";
import "services/viz/public/interfaces/compositing/compositor_frame_sink.mojom";
// This interface provides CompositorFrameSink and a
// RenderFrameMetadataObserverClient for the renderer. While also
// providing an observer of RenderFrameMetadata to the browser, which is needed
// to be able to control the modes of observation.
interface FrameSinkProvider {
int32 widget_id,
viz.mojom.CompositorFrameSink& compositor_frame_sink_request,
viz.mojom.CompositorFrameSinkClient compositor_frame_sink_client);
int32 widget_id,
RenderFrameMetadataObserver render_frame_metadata_observer);