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

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

Issue 2101043003: Plumb callbacks from mojo media service to client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 5 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
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 "ui/gfx/geometry/mojo/geometry.mojom"; 9 import "ui/gfx/geometry/mojo/geometry.mojom";
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // Executed if any error was encountered during decode or rendering. If 52 // Executed if any error was encountered during decode or rendering. If
53 // this error happens during an operation that has a completion callback, 53 // this error happens during an operation that has a completion callback,
54 // OnError() will be called before firing the completion callback. 54 // OnError() will be called before firing the completion callback.
55 OnError(); 55 OnError();
56 56
57 // Executed for the first video frame and whenever natural size changes. 57 // Executed for the first video frame and whenever natural size changes.
58 OnVideoNaturalSizeChange(gfx.mojom.Size size); 58 OnVideoNaturalSizeChange(gfx.mojom.Size size);
59 59
60 // Executed for the first video frame and whenever opacity changes. 60 // Executed for the first video frame and whenever opacity changes.
61 OnVideoOpacityChange(bool opaque); 61 OnVideoOpacityChange(bool opaque);
62
63 // Called periodically to pass statistics to the web player.
64 OnStatisticsUpdate(PipelineStatistics stats);
65
66 // Called when the remote renderering service is waiting on the decryption key is pending.
67 //OnWaitingForDecryptionKey();
halliwell 2016/06/27 21:47:19 uncomment?
slan 2016/06/27 22:19:39 Done + formatting.
62 }; 68 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698