| Index: mojo/dart/packages/mojo_services/lib/mojo/display.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/display.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/display.mojom.dart
|
| index a8195cf0778b576d5cafb244b3b6da36db04f0cf..08f477abd17c766ab708c688f217c0efb2639b1e 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/display.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/display.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;
|
| import 'package:mojo_services/mojo/context_provider.mojom.dart' as context_provider_mojom;
|
| import 'package:mojo_services/mojo/viewport_parameter_listener.mojom.dart' as viewport_parameter_listener_mojom;
|
| import 'package:mojo_services/mojo/surfaces.mojom.dart' as surfaces_mojom;
|
| @@ -82,6 +84,8 @@ class _DisplaySubmitFrameParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class DisplaySubmitFrameResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -140,6 +144,8 @@ class DisplaySubmitFrameResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _DisplayFactoryCreateParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(32, 0)
|
| @@ -221,8 +227,21 @@ class _DisplayFactoryCreateParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _Display_submitFrameName = 0;
|
|
|
| +
|
| +
|
| +class _DisplayServiceDescription implements service_describer.ServiceDescription {
|
| + dynamic getTopLevelInterface([Function responseFactory]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory]) => null;
|
| +}
|
| +
|
| abstract class Display {
|
| static const String serviceName = null;
|
| dynamic submitFrame(surfaces_mojom.Frame frame,[Function responseFactory = null]);
|
| @@ -244,6 +263,9 @@ class _DisplayProxyImpl extends bindings.Proxy {
|
| return new _DisplayProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _DisplayServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _Display_submitFrameName:
|
| @@ -428,10 +450,23 @@ class DisplayStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _DisplayServiceDescription();
|
| }
|
|
|
| const int _DisplayFactory_createName = 0;
|
|
|
| +
|
| +
|
| +class _DisplayFactoryServiceDescription implements service_describer.ServiceDescription {
|
| + dynamic getTopLevelInterface([Function responseFactory]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory]) => null;
|
| +}
|
| +
|
| abstract class DisplayFactory {
|
| static const String serviceName = "mojo::DisplayFactory";
|
| void create(Object contextProvider, Object returner, Object displayRequest);
|
| @@ -453,6 +488,9 @@ class _DisplayFactoryProxyImpl extends bindings.Proxy {
|
| return new _DisplayFactoryProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _DisplayFactoryServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -598,6 +636,10 @@ class DisplayFactoryStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _DisplayFactoryServiceDescription();
|
| }
|
|
|
|
|
| +
|
|
|