Index: mojo/dart/packages/mojo_services/lib/mojo/ui/view_trees.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/ui/view_trees.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/ui/view_trees.mojom.dart |
index 37bea0b710a1ab74c1bfd459ac30a356762a3c48..ae6e8184d6934935f2b7169c8e0df56f8bdec4de 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/ui/view_trees.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/ui/view_trees.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/ui/layouts.mojom.dart' as layouts_mojom; |
import 'package:mojo_services/mojo/ui/views.mojom.dart' as views_mojom; |
@@ -71,6 +73,8 @@ class _ViewTreeOnLayoutParams extends bindings.Struct { |
} |
+ |
+ |
class ViewTreeOnLayoutResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -129,6 +133,8 @@ class ViewTreeOnLayoutResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _ViewTreeOnRootUnavailableParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -196,6 +202,8 @@ class _ViewTreeOnRootUnavailableParams extends bindings.Struct { |
} |
+ |
+ |
class ViewTreeOnRootUnavailableResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -254,6 +262,8 @@ class ViewTreeOnRootUnavailableResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _ViewTreeHostRequestLayoutParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -312,6 +322,8 @@ class _ViewTreeHostRequestLayoutParams extends bindings.Struct { |
} |
+ |
+ |
class _ViewTreeHostSetRootParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(24, 0) |
@@ -389,6 +401,8 @@ class _ViewTreeHostSetRootParams extends bindings.Struct { |
} |
+ |
+ |
class _ViewTreeHostResetRootParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -447,6 +461,8 @@ class _ViewTreeHostResetRootParams extends bindings.Struct { |
} |
+ |
+ |
class _ViewTreeHostLayoutRootParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -515,6 +531,8 @@ class _ViewTreeHostLayoutRootParams extends bindings.Struct { |
} |
+ |
+ |
class ViewTreeHostLayoutRootResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -582,9 +600,23 @@ class ViewTreeHostLayoutRootResponseParams extends bindings.Struct { |
} |
} |
+ |
+ |
+ |
const int _ViewTree_onLayoutName = 0; |
const int _ViewTree_onRootUnavailableName = 1; |
+ |
+ |
+class _ViewTreeServiceDescription implements service_describer.ServiceDescription { |
+dynamic getTopLevelInterface([Function responseFactory = null]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory = null]) => |
+ null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory = null]) => null; |
+} |
+ |
abstract class ViewTree { |
static const String serviceName = null; |
dynamic onLayout([Function responseFactory = null]); |
@@ -607,6 +639,9 @@ class _ViewTreeProxyImpl extends bindings.Proxy { |
return new _ViewTreeProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _ViewTreeServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
case _ViewTree_onLayoutName: |
@@ -845,6 +880,9 @@ class ViewTreeStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _ViewTreeServiceDescription(); |
} |
const int _ViewTreeHost_requestLayoutName = 0; |
@@ -852,6 +890,17 @@ const int _ViewTreeHost_setRootName = 1; |
const int _ViewTreeHost_resetRootName = 2; |
const int _ViewTreeHost_layoutRootName = 3; |
+ |
+ |
+class _ViewTreeHostServiceDescription implements service_describer.ServiceDescription { |
+dynamic getTopLevelInterface([Function responseFactory = null]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory = null]) => |
+ null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory = null]) => null; |
+} |
+ |
abstract class ViewTreeHost { |
static const String serviceName = null; |
void requestLayout(); |
@@ -876,6 +925,9 @@ class _ViewTreeHostProxyImpl extends bindings.Proxy { |
return new _ViewTreeHostProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _ViewTreeHostServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
case _ViewTreeHost_layoutRootName: |
@@ -1102,6 +1154,11 @@ class ViewTreeHostStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _ViewTreeHostServiceDescription(); |
} |
+ |
+ |