Index: mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/hit_tests.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/hit_tests.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/hit_tests.mojom.dart |
index c08228bae83b8e09db688b923831d970afa53d9c..30ba28b013d5cf3cda696ead85d23278f36c05fc 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/hit_tests.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/hit_tests.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/geometry.mojom.dart' as geometry_mojom; |
import 'package:mojo_services/mojo/gfx/composition/scene_token.mojom.dart' as scene_token_mojom; |
const int kHitIdNone = 0; |
@@ -119,6 +121,8 @@ class Hit extends bindings.Struct { |
} |
+ |
+ |
class HitTestResult extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -203,6 +207,8 @@ class HitTestResult extends bindings.Struct { |
} |
+ |
+ |
class _HitTesterHitTestParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -271,6 +277,8 @@ class _HitTesterHitTestParams extends bindings.Struct { |
} |
+ |
+ |
class HitTesterHitTestResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -338,8 +346,21 @@ class HitTesterHitTestResponseParams extends bindings.Struct { |
} |
} |
+ |
+ |
+ |
const int _HitTester_hitTestName = 0; |
+ |
+ |
+class _HitTesterServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class HitTester { |
static const String serviceName = null; |
dynamic hitTest(geometry_mojom.Point point,[Function responseFactory = null]); |
@@ -361,6 +382,9 @@ class _HitTesterProxyImpl extends bindings.Proxy { |
return new _HitTesterProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _HitTesterServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
case _HitTester_hitTestName: |
@@ -546,6 +570,10 @@ class HitTesterStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _HitTesterServiceDescription(); |
} |
+ |