OLD | NEW |
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 import "url/mojo/url.mojom"; | 10 import "url/mojo/url.mojom"; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 // Executed for the first video frame and whenever opacity changes. | 62 // Executed for the first video frame and whenever opacity changes. |
63 OnVideoOpacityChange(bool opaque); | 63 OnVideoOpacityChange(bool opaque); |
64 | 64 |
65 // Called periodically to pass statistics to the web player. See | 65 // Called periodically to pass statistics to the web player. See |
66 // media_types.mojom. | 66 // media_types.mojom. |
67 OnStatisticsUpdate(PipelineStatistics stats); | 67 OnStatisticsUpdate(PipelineStatistics stats); |
68 | 68 |
69 // Called when the remote renderering service is waiting on the decryption | 69 // Called when the remote renderering service is waiting on the decryption |
70 // key. | 70 // key. |
71 OnWaitingForDecryptionKey(); | 71 OnWaitingForDecryptionKey(); |
| 72 |
| 73 // Executed the first time the metadata is updated, and whenever the duration |
| 74 // changes. |
| 75 OnDurationChange(int64 duration_usec); |
72 }; | 76 }; |
OLD | NEW |