Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(867)

Side by Side Diff: media/mojo/interfaces/video_renderer_sink.mojom

Issue 2643713003: Allow to use the DefaultRendererFactory from a Utility Process (Closed)
Patch Set: Rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/mojo/interfaces/renderer.mojom ('k') | media/mojo/services/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module media.mojom;
6
7 import "media/mojo/interfaces/media_types.mojom";
8 import "mojo/common/time.mojom";
9
10 interface VideoRendererSinkRenderCallback {
11
12 [Sync]
13 Render(mojo.common.mojom.TimeTicks deadline_min,
14 mojo.common.mojom.TimeTicks deadline_max,
15 bool background_rendering) => (VideoFrame? frame);
16
17 OnFrameDropped();
18 };
19
20 interface VideoRendererSink {
21
22 Start(associated VideoRendererSinkRenderCallback? render_callback);
23 Stop();
24 PaintSingleFrame(VideoFrame? frame, bool repaint_duplicate_frame);
25 };
OLDNEW
« no previous file with comments | « media/mojo/interfaces/renderer.mojom ('k') | media/mojo/services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698