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

Side by Side Diff: mojo/dart/packages/mojo_services/lib/mojo/ui/view_associates.mojom.dart

Issue 1983453002: Dart: Refactor Stubs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Merge Created 4 years, 7 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 library view_associates_mojom; 5 library view_associates_mojom;
6 import 'dart:async'; 6 import 'dart:async';
7 import 'package:mojo/bindings.dart' as bindings; 7 import 'package:mojo/bindings.dart' as bindings;
8 import 'package:mojo/core.dart' as core; 8 import 'package:mojo/core.dart' as core;
9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic e_describer; 9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic e_describer;
10 import 'package:mojo_services/mojo/gfx/composition/hit_tests.mojom.dart' as hit_ tests_mojom; 10 import 'package:mojo_services/mojo/gfx/composition/hit_tests.mojom.dart' as hit_ tests_mojom;
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 responseFactory(null); 821 responseFactory(null);
822 } 822 }
823 823
824 abstract class ViewAssociate { 824 abstract class ViewAssociate {
825 static const String serviceName = "mojo::ui::ViewAssociate"; 825 static const String serviceName = "mojo::ui::ViewAssociate";
826 dynamic connect(Object inspector,[Function responseFactory = null]); 826 dynamic connect(Object inspector,[Function responseFactory = null]);
827 void connectToViewService(view_token_mojom.ViewToken viewToken, String service Name_, core.MojoMessagePipeEndpoint pipe); 827 void connectToViewService(view_token_mojom.ViewToken viewToken, String service Name_, core.MojoMessagePipeEndpoint pipe);
828 void connectToViewTreeService(view_tree_token_mojom.ViewTreeToken viewTreeToke n, String serviceName_, core.MojoMessagePipeEndpoint pipe); 828 void connectToViewTreeService(view_tree_token_mojom.ViewTreeToken viewTreeToke n, String serviceName_, core.MojoMessagePipeEndpoint pipe);
829 } 829 }
830 830
831 831 class _ViewAssociateProxyControl
832 class _ViewAssociateProxyControl extends bindings.ProxyMessageHandler 832 extends bindings.ProxyMessageHandler
833 implements bindings.ProxyControl { 833 implements bindings.ProxyControl {
834 _ViewAssociateProxyControl.fromEndpoint( 834 _ViewAssociateProxyControl.fromEndpoint(
835 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); 835 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint);
836 836
837 _ViewAssociateProxyControl.fromHandle( 837 _ViewAssociateProxyControl.fromHandle(
838 core.MojoHandle handle) : super.fromHandle(handle); 838 core.MojoHandle handle) : super.fromHandle(handle);
839 839
840 _ViewAssociateProxyControl.unbound() : super.unbound(); 840 _ViewAssociateProxyControl.unbound() : super.unbound();
841 841
842 service_describer.ServiceDescription get serviceDescription => 842 service_describer.ServiceDescription get serviceDescription =>
843 new _ViewAssociateServiceDescription(); 843 new _ViewAssociateServiceDescription();
844 844
845 String get serviceName => ViewAssociate.serviceName; 845 String get serviceName => ViewAssociate.serviceName;
846 846
847 @override
848 void handleResponse(bindings.ServiceMessage message) { 847 void handleResponse(bindings.ServiceMessage message) {
849 switch (message.header.type) { 848 switch (message.header.type) {
850 case _viewAssociateMethodConnectName: 849 case _viewAssociateMethodConnectName:
851 var r = ViewAssociateConnectResponseParams.deserialize( 850 var r = ViewAssociateConnectResponseParams.deserialize(
852 message.payload); 851 message.payload);
853 if (!message.header.hasRequestId) { 852 if (!message.header.hasRequestId) {
854 proxyError("Expected a message with a valid request Id."); 853 proxyError("Expected a message with a valid request Id.");
855 return; 854 return;
856 } 855 }
857 Completer c = completerMap[message.header.requestId]; 856 Completer c = completerMap[message.header.requestId];
(...skipping 16 matching lines...) Expand all
874 } 873 }
875 } 874 }
876 875
877 @override 876 @override
878 String toString() { 877 String toString() {
879 var superString = super.toString(); 878 var superString = super.toString();
880 return "_ViewAssociateProxyControl($superString)"; 879 return "_ViewAssociateProxyControl($superString)";
881 } 880 }
882 } 881 }
883 882
884 883 class ViewAssociateProxy
885 class ViewAssociateProxy extends bindings.Proxy 884 extends bindings.Proxy
886 implements ViewAssociate { 885 implements ViewAssociate {
887 ViewAssociateProxy.fromEndpoint( 886 ViewAssociateProxy.fromEndpoint(
888 core.MojoMessagePipeEndpoint endpoint) 887 core.MojoMessagePipeEndpoint endpoint)
889 : super(new _ViewAssociateProxyControl.fromEndpoint(endpoint)); 888 : super(new _ViewAssociateProxyControl.fromEndpoint(endpoint));
890 889
891 ViewAssociateProxy.fromHandle(core.MojoHandle handle) 890 ViewAssociateProxy.fromHandle(core.MojoHandle handle)
892 : super(new _ViewAssociateProxyControl.fromHandle(handle)); 891 : super(new _ViewAssociateProxyControl.fromHandle(handle));
893 892
894 ViewAssociateProxy.unbound() 893 ViewAssociateProxy.unbound()
895 : super(new _ViewAssociateProxyControl.unbound()); 894 : super(new _ViewAssociateProxyControl.unbound());
896 895
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 } 935 }
937 var params = new _ViewAssociateConnectToViewTreeServiceParams(); 936 var params = new _ViewAssociateConnectToViewTreeServiceParams();
938 params.viewTreeToken = viewTreeToken; 937 params.viewTreeToken = viewTreeToken;
939 params.serviceName_ = serviceName_; 938 params.serviceName_ = serviceName_;
940 params.pipe = pipe; 939 params.pipe = pipe;
941 ctrl.sendMessage(params, 940 ctrl.sendMessage(params,
942 _viewAssociateMethodConnectToViewTreeServiceName); 941 _viewAssociateMethodConnectToViewTreeServiceName);
943 } 942 }
944 } 943 }
945 944
946 945 class _ViewAssociateStubControl
947 class ViewAssociateStub extends bindings.Stub { 946 extends bindings.StubMessageHandler
947 implements bindings.StubControl<ViewAssociate> {
948 ViewAssociate _impl; 948 ViewAssociate _impl;
949 949
950 ViewAssociateStub.fromEndpoint( 950 _ViewAssociateStubControl.fromEndpoint(
951 core.MojoMessagePipeEndpoint endpoint, [ViewAssociate impl]) 951 core.MojoMessagePipeEndpoint endpoint, [ViewAssociate impl])
952 : super.fromEndpoint(endpoint, autoBegin: impl != null) { 952 : super.fromEndpoint(endpoint, autoBegin: impl != null) {
953 _impl = impl; 953 _impl = impl;
954 } 954 }
955 955
956 ViewAssociateStub.fromHandle( 956 _ViewAssociateStubControl.fromHandle(
957 core.MojoHandle handle, [ViewAssociate impl]) 957 core.MojoHandle handle, [ViewAssociate impl])
958 : super.fromHandle(handle, autoBegin: impl != null) { 958 : super.fromHandle(handle, autoBegin: impl != null) {
959 _impl = impl; 959 _impl = impl;
960 } 960 }
961 961
962 ViewAssociateStub.unbound([this._impl]) : super.unbound(); 962 _ViewAssociateStubControl.unbound([this._impl]) : super.unbound();
963
964 static ViewAssociateStub newFromEndpoint(
965 core.MojoMessagePipeEndpoint endpoint) {
966 assert(endpoint.setDescription("For ViewAssociateStub"));
967 return new ViewAssociateStub.fromEndpoint(endpoint);
968 }
969 963
970 964
971 ViewAssociateConnectResponseParams _viewAssociateConnectResponseParamsFactory( ViewAssociateInfo info) { 965 ViewAssociateConnectResponseParams _viewAssociateConnectResponseParamsFactory( ViewAssociateInfo info) {
972 var result = new ViewAssociateConnectResponseParams(); 966 var result = new ViewAssociateConnectResponseParams();
973 result.info = info; 967 result.info = info;
974 return result; 968 return result;
975 } 969 }
976 970
977 dynamic handleMessage(bindings.ServiceMessage message) { 971 dynamic handleMessage(bindings.ServiceMessage message) {
978 if (bindings.ControlMessageHandler.isControlMessage(message)) { 972 if (bindings.ControlMessageHandler.isControlMessage(message)) {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
1035 } 1029 }
1036 1030
1037 @override 1031 @override
1038 void bind(core.MojoMessagePipeEndpoint endpoint) { 1032 void bind(core.MojoMessagePipeEndpoint endpoint) {
1039 super.bind(endpoint); 1033 super.bind(endpoint);
1040 if (!isOpen && (_impl != null)) { 1034 if (!isOpen && (_impl != null)) {
1041 beginHandlingEvents(); 1035 beginHandlingEvents();
1042 } 1036 }
1043 } 1037 }
1044 1038
1039 @override
1045 String toString() { 1040 String toString() {
1046 var superString = super.toString(); 1041 var superString = super.toString();
1047 return "ViewAssociateStub($superString)"; 1042 return "_ViewAssociateStubControl($superString)";
1048 } 1043 }
1049 1044
1050 int get version => 0; 1045 int get version => 0;
1051 1046
1052 static service_describer.ServiceDescription _cachedServiceDescription; 1047 static service_describer.ServiceDescription _cachedServiceDescription;
1053 static service_describer.ServiceDescription get serviceDescription { 1048 static service_describer.ServiceDescription get serviceDescription {
1054 if (_cachedServiceDescription == null) { 1049 if (_cachedServiceDescription == null) {
1055 _cachedServiceDescription = new _ViewAssociateServiceDescription(); 1050 _cachedServiceDescription = new _ViewAssociateServiceDescription();
1056 } 1051 }
1057 return _cachedServiceDescription; 1052 return _cachedServiceDescription;
1058 } 1053 }
1059 } 1054 }
1060 1055
1056 class ViewAssociateStub
1057 extends bindings.Stub<ViewAssociate>
1058 implements ViewAssociate {
1059 ViewAssociateStub.fromEndpoint(
1060 core.MojoMessagePipeEndpoint endpoint, [ViewAssociate impl])
1061 : super(new _ViewAssociateStubControl.fromEndpoint(endpoint, impl));
1062
1063 ViewAssociateStub.fromHandle(
1064 core.MojoHandle handle, [ViewAssociate impl])
1065 : super(new _ViewAssociateStubControl.fromHandle(handle, impl));
1066
1067 ViewAssociateStub.unbound([ViewAssociate impl])
1068 : super(new _ViewAssociateStubControl.unbound(impl));
1069
1070 static ViewAssociateStub newFromEndpoint(
1071 core.MojoMessagePipeEndpoint endpoint) {
1072 assert(endpoint.setDescription("For ViewAssociateStub"));
1073 return new ViewAssociateStub.fromEndpoint(endpoint);
1074 }
1075
1076 static service_describer.ServiceDescription get serviceDescription =>
1077 _ViewAssociateStubControl.serviceDescription;
1078
1079
1080 dynamic connect(Object inspector,[Function responseFactory = null]) {
1081 return impl.connect(inspector,responseFactory);
1082 }
1083 void connectToViewService(view_token_mojom.ViewToken viewToken, String service Name_, core.MojoMessagePipeEndpoint pipe) {
1084 return impl.connectToViewService(viewToken, serviceName_, pipe);
1085 }
1086 void connectToViewTreeService(view_tree_token_mojom.ViewTreeToken viewTreeToke n, String serviceName_, core.MojoMessagePipeEndpoint pipe) {
1087 return impl.connectToViewTreeService(viewTreeToken, serviceName_, pipe);
1088 }
1089 }
1090
1061 const int _viewInspectorMethodGetHitTesterName = 0; 1091 const int _viewInspectorMethodGetHitTesterName = 0;
1062 const int _viewInspectorMethodResolveScenesName = 1; 1092 const int _viewInspectorMethodResolveScenesName = 1;
1063 1093
1064 class _ViewInspectorServiceDescription implements service_describer.ServiceDescr iption { 1094 class _ViewInspectorServiceDescription implements service_describer.ServiceDescr iption {
1065 dynamic getTopLevelInterface([Function responseFactory]) => 1095 dynamic getTopLevelInterface([Function responseFactory]) =>
1066 responseFactory(null); 1096 responseFactory(null);
1067 1097
1068 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => 1098 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) =>
1069 responseFactory(null); 1099 responseFactory(null);
1070 1100
1071 dynamic getAllTypeDefinitions([Function responseFactory]) => 1101 dynamic getAllTypeDefinitions([Function responseFactory]) =>
1072 responseFactory(null); 1102 responseFactory(null);
1073 } 1103 }
1074 1104
1075 abstract class ViewInspector { 1105 abstract class ViewInspector {
1076 static const String serviceName = null; 1106 static const String serviceName = null;
1077 dynamic getHitTester(view_tree_token_mojom.ViewTreeToken viewTreeToken,Object hitTester,[Function responseFactory = null]); 1107 dynamic getHitTester(view_tree_token_mojom.ViewTreeToken viewTreeToken,Object hitTester,[Function responseFactory = null]);
1078 dynamic resolveScenes(List<scene_token_mojom.SceneToken> sceneTokens,[Function responseFactory = null]); 1108 dynamic resolveScenes(List<scene_token_mojom.SceneToken> sceneTokens,[Function responseFactory = null]);
1079 } 1109 }
1080 1110
1081 1111 class _ViewInspectorProxyControl
1082 class _ViewInspectorProxyControl extends bindings.ProxyMessageHandler 1112 extends bindings.ProxyMessageHandler
1083 implements bindings.ProxyControl { 1113 implements bindings.ProxyControl {
1084 _ViewInspectorProxyControl.fromEndpoint( 1114 _ViewInspectorProxyControl.fromEndpoint(
1085 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); 1115 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint);
1086 1116
1087 _ViewInspectorProxyControl.fromHandle( 1117 _ViewInspectorProxyControl.fromHandle(
1088 core.MojoHandle handle) : super.fromHandle(handle); 1118 core.MojoHandle handle) : super.fromHandle(handle);
1089 1119
1090 _ViewInspectorProxyControl.unbound() : super.unbound(); 1120 _ViewInspectorProxyControl.unbound() : super.unbound();
1091 1121
1092 service_describer.ServiceDescription get serviceDescription => 1122 service_describer.ServiceDescription get serviceDescription =>
1093 new _ViewInspectorServiceDescription(); 1123 new _ViewInspectorServiceDescription();
1094 1124
1095 String get serviceName => ViewInspector.serviceName; 1125 String get serviceName => ViewInspector.serviceName;
1096 1126
1097 @override
1098 void handleResponse(bindings.ServiceMessage message) { 1127 void handleResponse(bindings.ServiceMessage message) {
1099 switch (message.header.type) { 1128 switch (message.header.type) {
1100 case _viewInspectorMethodGetHitTesterName: 1129 case _viewInspectorMethodGetHitTesterName:
1101 var r = ViewInspectorGetHitTesterResponseParams.deserialize( 1130 var r = ViewInspectorGetHitTesterResponseParams.deserialize(
1102 message.payload); 1131 message.payload);
1103 if (!message.header.hasRequestId) { 1132 if (!message.header.hasRequestId) {
1104 proxyError("Expected a message with a valid request Id."); 1133 proxyError("Expected a message with a valid request Id.");
1105 return; 1134 return;
1106 } 1135 }
1107 Completer c = completerMap[message.header.requestId]; 1136 Completer c = completerMap[message.header.requestId];
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1144 } 1173 }
1145 } 1174 }
1146 1175
1147 @override 1176 @override
1148 String toString() { 1177 String toString() {
1149 var superString = super.toString(); 1178 var superString = super.toString();
1150 return "_ViewInspectorProxyControl($superString)"; 1179 return "_ViewInspectorProxyControl($superString)";
1151 } 1180 }
1152 } 1181 }
1153 1182
1154 1183 class ViewInspectorProxy
1155 class ViewInspectorProxy extends bindings.Proxy 1184 extends bindings.Proxy
1156 implements ViewInspector { 1185 implements ViewInspector {
1157 ViewInspectorProxy.fromEndpoint( 1186 ViewInspectorProxy.fromEndpoint(
1158 core.MojoMessagePipeEndpoint endpoint) 1187 core.MojoMessagePipeEndpoint endpoint)
1159 : super(new _ViewInspectorProxyControl.fromEndpoint(endpoint)); 1188 : super(new _ViewInspectorProxyControl.fromEndpoint(endpoint));
1160 1189
1161 ViewInspectorProxy.fromHandle(core.MojoHandle handle) 1190 ViewInspectorProxy.fromHandle(core.MojoHandle handle)
1162 : super(new _ViewInspectorProxyControl.fromHandle(handle)); 1191 : super(new _ViewInspectorProxyControl.fromHandle(handle));
1163 1192
1164 ViewInspectorProxy.unbound() 1193 ViewInspectorProxy.unbound()
1165 : super(new _ViewInspectorProxyControl.unbound()); 1194 : super(new _ViewInspectorProxyControl.unbound());
1166 1195
(...skipping 25 matching lines...) Expand all
1192 var params = new _ViewInspectorResolveScenesParams(); 1221 var params = new _ViewInspectorResolveScenesParams();
1193 params.sceneTokens = sceneTokens; 1222 params.sceneTokens = sceneTokens;
1194 return ctrl.sendMessageWithRequestId( 1223 return ctrl.sendMessageWithRequestId(
1195 params, 1224 params,
1196 _viewInspectorMethodResolveScenesName, 1225 _viewInspectorMethodResolveScenesName,
1197 -1, 1226 -1,
1198 bindings.MessageHeader.kMessageExpectsResponse); 1227 bindings.MessageHeader.kMessageExpectsResponse);
1199 } 1228 }
1200 } 1229 }
1201 1230
1202 1231 class _ViewInspectorStubControl
1203 class ViewInspectorStub extends bindings.Stub { 1232 extends bindings.StubMessageHandler
1233 implements bindings.StubControl<ViewInspector> {
1204 ViewInspector _impl; 1234 ViewInspector _impl;
1205 1235
1206 ViewInspectorStub.fromEndpoint( 1236 _ViewInspectorStubControl.fromEndpoint(
1207 core.MojoMessagePipeEndpoint endpoint, [ViewInspector impl]) 1237 core.MojoMessagePipeEndpoint endpoint, [ViewInspector impl])
1208 : super.fromEndpoint(endpoint, autoBegin: impl != null) { 1238 : super.fromEndpoint(endpoint, autoBegin: impl != null) {
1209 _impl = impl; 1239 _impl = impl;
1210 } 1240 }
1211 1241
1212 ViewInspectorStub.fromHandle( 1242 _ViewInspectorStubControl.fromHandle(
1213 core.MojoHandle handle, [ViewInspector impl]) 1243 core.MojoHandle handle, [ViewInspector impl])
1214 : super.fromHandle(handle, autoBegin: impl != null) { 1244 : super.fromHandle(handle, autoBegin: impl != null) {
1215 _impl = impl; 1245 _impl = impl;
1216 } 1246 }
1217 1247
1218 ViewInspectorStub.unbound([this._impl]) : super.unbound(); 1248 _ViewInspectorStubControl.unbound([this._impl]) : super.unbound();
1219
1220 static ViewInspectorStub newFromEndpoint(
1221 core.MojoMessagePipeEndpoint endpoint) {
1222 assert(endpoint.setDescription("For ViewInspectorStub"));
1223 return new ViewInspectorStub.fromEndpoint(endpoint);
1224 }
1225 1249
1226 1250
1227 ViewInspectorGetHitTesterResponseParams _viewInspectorGetHitTesterResponsePara msFactory(bool rendererChanged) { 1251 ViewInspectorGetHitTesterResponseParams _viewInspectorGetHitTesterResponsePara msFactory(bool rendererChanged) {
1228 var result = new ViewInspectorGetHitTesterResponseParams(); 1252 var result = new ViewInspectorGetHitTesterResponseParams();
1229 result.rendererChanged = rendererChanged; 1253 result.rendererChanged = rendererChanged;
1230 return result; 1254 return result;
1231 } 1255 }
1232 ViewInspectorResolveScenesResponseParams _viewInspectorResolveScenesResponsePa ramsFactory(List<view_token_mojom.ViewToken> viewTokens) { 1256 ViewInspectorResolveScenesResponseParams _viewInspectorResolveScenesResponsePa ramsFactory(List<view_token_mojom.ViewToken> viewTokens) {
1233 var result = new ViewInspectorResolveScenesResponseParams(); 1257 var result = new ViewInspectorResolveScenesResponseParams();
1234 result.viewTokens = viewTokens; 1258 result.viewTokens = viewTokens;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 } 1332 }
1309 1333
1310 @override 1334 @override
1311 void bind(core.MojoMessagePipeEndpoint endpoint) { 1335 void bind(core.MojoMessagePipeEndpoint endpoint) {
1312 super.bind(endpoint); 1336 super.bind(endpoint);
1313 if (!isOpen && (_impl != null)) { 1337 if (!isOpen && (_impl != null)) {
1314 beginHandlingEvents(); 1338 beginHandlingEvents();
1315 } 1339 }
1316 } 1340 }
1317 1341
1342 @override
1318 String toString() { 1343 String toString() {
1319 var superString = super.toString(); 1344 var superString = super.toString();
1320 return "ViewInspectorStub($superString)"; 1345 return "_ViewInspectorStubControl($superString)";
1321 } 1346 }
1322 1347
1323 int get version => 0; 1348 int get version => 0;
1324 1349
1325 static service_describer.ServiceDescription _cachedServiceDescription; 1350 static service_describer.ServiceDescription _cachedServiceDescription;
1326 static service_describer.ServiceDescription get serviceDescription { 1351 static service_describer.ServiceDescription get serviceDescription {
1327 if (_cachedServiceDescription == null) { 1352 if (_cachedServiceDescription == null) {
1328 _cachedServiceDescription = new _ViewInspectorServiceDescription(); 1353 _cachedServiceDescription = new _ViewInspectorServiceDescription();
1329 } 1354 }
1330 return _cachedServiceDescription; 1355 return _cachedServiceDescription;
1331 } 1356 }
1332 } 1357 }
1333 1358
1359 class ViewInspectorStub
1360 extends bindings.Stub<ViewInspector>
1361 implements ViewInspector {
1362 ViewInspectorStub.fromEndpoint(
1363 core.MojoMessagePipeEndpoint endpoint, [ViewInspector impl])
1364 : super(new _ViewInspectorStubControl.fromEndpoint(endpoint, impl));
1365
1366 ViewInspectorStub.fromHandle(
1367 core.MojoHandle handle, [ViewInspector impl])
1368 : super(new _ViewInspectorStubControl.fromHandle(handle, impl));
1369
1370 ViewInspectorStub.unbound([ViewInspector impl])
1371 : super(new _ViewInspectorStubControl.unbound(impl));
1372
1373 static ViewInspectorStub newFromEndpoint(
1374 core.MojoMessagePipeEndpoint endpoint) {
1375 assert(endpoint.setDescription("For ViewInspectorStub"));
1376 return new ViewInspectorStub.fromEndpoint(endpoint);
1377 }
1378
1379 static service_describer.ServiceDescription get serviceDescription =>
1380 _ViewInspectorStubControl.serviceDescription;
1381
1382
1383 dynamic getHitTester(view_tree_token_mojom.ViewTreeToken viewTreeToken,Object hitTester,[Function responseFactory = null]) {
1384 return impl.getHitTester(viewTreeToken,hitTester,responseFactory);
1385 }
1386 dynamic resolveScenes(List<scene_token_mojom.SceneToken> sceneTokens,[Function responseFactory = null]) {
1387 return impl.resolveScenes(sceneTokens,responseFactory);
1388 }
1389 }
1390
1334 1391
1335 1392
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698