| Index: mojo/dart/packages/mojo_services/lib/mojo/media/rate_control.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/media/rate_control.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/media/rate_control.mojom.dart
|
| index 42390b3085fd9b206bd33a350e1351513c12aecb..ccde9fc577f651f81c45a2d9c6fc1b597bc92118 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/media/rate_control.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/media/rate_control.mojom.dart
|
| @@ -8,6 +8,8 @@ import 'dart:async';
|
|
|
| import 'package:mojo/bindings.dart' as bindings;
|
| import 'package:mojo/core.dart' as core;
|
| +import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types;
|
| +import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as service_describer;
|
|
|
|
|
|
|
| @@ -105,6 +107,8 @@ class TimelineQuad extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class TimelineTransform extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -193,6 +197,8 @@ class TimelineTransform extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _RateControlGetCurrentTransformParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -251,6 +257,8 @@ class _RateControlGetCurrentTransformParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class RateControlGetCurrentTransformResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -319,6 +327,8 @@ class RateControlGetCurrentTransformResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _RateControlSetCurrentQuadParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -387,6 +397,8 @@ class _RateControlSetCurrentQuadParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _RateControlSetTargetTimelineIdParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -454,6 +466,8 @@ class _RateControlSetTargetTimelineIdParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _RateControlSetRateParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -530,6 +544,8 @@ class _RateControlSetRateParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _RateControlSetRateAtReferenceTimeParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -615,6 +631,8 @@ class _RateControlSetRateAtReferenceTimeParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _RateControlSetRateAtTargetTimeParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -700,6 +718,8 @@ class _RateControlSetRateAtTargetTimeParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _RateControlCancelPendingChangesParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -757,6 +777,9 @@ class _RateControlCancelPendingChangesParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _RateControl_getCurrentTransformName = 0;
|
| const int _RateControl_setCurrentQuadName = 1;
|
| const int _RateControl_setTargetTimelineIdName = 2;
|
| @@ -765,6 +788,16 @@ const int _RateControl_setRateAtReferenceTimeName = 4;
|
| const int _RateControl_setRateAtTargetTimeName = 5;
|
| const int _RateControl_cancelPendingChangesName = 6;
|
|
|
| +
|
| +
|
| +class _RateControlServiceDescription implements service_describer.ServiceDescription {
|
| + dynamic getTopLevelInterface([Function responseFactory]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory]) => null;
|
| +}
|
| +
|
| abstract class RateControl {
|
| static const String serviceName = null;
|
| dynamic getCurrentTransform([Function responseFactory = null]);
|
| @@ -792,6 +825,9 @@ class _RateControlProxyImpl extends bindings.Proxy {
|
| return new _RateControlProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _RateControlServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _RateControl_getCurrentTransformName:
|
| @@ -1064,6 +1100,10 @@ class RateControlStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _RateControlServiceDescription();
|
| }
|
|
|
|
|
| +
|
|
|