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

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

Issue 2555853003: Break up common_custom_types.mojom. (Closed)
Patch Set: Created 4 years 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/media_types.mojom ('k') | mojo/common/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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module media.mojom; 5 module media.mojom;
6 6
7 import "media/mojo/interfaces/demuxer_stream.mojom"; 7 import "media/mojo/interfaces/demuxer_stream.mojom";
8 import "media/mojo/interfaces/media_types.mojom"; 8 import "media/mojo/interfaces/media_types.mojom";
9 import "mojo/common/common_custom_types.mojom"; 9 import "mojo/common/time.mojom";
10 import "mojo/common/unguessable_token.mojom";
10 import "ui/gfx/geometry/mojo/geometry.mojom"; 11 import "ui/gfx/geometry/mojo/geometry.mojom";
11 import "url/mojo/url.mojom"; 12 import "url/mojo/url.mojom";
12 13
13 interface Renderer { 14 interface Renderer {
14 // Initializes the Renderer with one or both of an audio and video stream, 15 // Initializes the Renderer with one or both of an audio and video stream,
15 // executing the callback with whether the initialization succeeded. 16 // executing the callback with whether the initialization succeeded.
16 Initialize(associated RendererClient client, 17 Initialize(associated RendererClient client,
17 DemuxerStream? audio, 18 DemuxerStream? audio,
18 DemuxerStream? video, 19 DemuxerStream? video,
19 url.mojom.Url? media_url, 20 url.mojom.Url? media_url,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 OnStatisticsUpdate(PipelineStatistics stats); 83 OnStatisticsUpdate(PipelineStatistics stats);
83 84
84 // Called when the remote renderering service is waiting on the decryption 85 // Called when the remote renderering service is waiting on the decryption
85 // key. 86 // key.
86 OnWaitingForDecryptionKey(); 87 OnWaitingForDecryptionKey();
87 88
88 // Executed the first time the metadata is updated, and whenever the duration 89 // Executed the first time the metadata is updated, and whenever the duration
89 // changes. 90 // changes.
90 OnDurationChange(mojo.common.mojom.TimeDelta duration); 91 OnDurationChange(mojo.common.mojom.TimeDelta duration);
91 }; 92 };
OLDNEW
« no previous file with comments | « media/mojo/interfaces/media_types.mojom ('k') | mojo/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698