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

Unified Diff: mojo/dart/packages/mojo_services/lib/input/input.mojom.dart

Issue 1539673003: Generate Mojom Types in Dart (Take 2) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Merge with master Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: mojo/dart/packages/mojo_services/lib/input/input.mojom.dart
diff --git a/mojo/dart/packages/mojo_services/lib/input/input.mojom.dart b/mojo/dart/packages/mojo_services/lib/input/input.mojom.dart
index f41864971b8b2bc09fed1316fe24aba644ab1355..443c6798de3d18d71c82960242b42f198f7a0f01 100644
--- a/mojo/dart/packages/mojo_services/lib/input/input.mojom.dart
+++ b/mojo/dart/packages/mojo_services/lib/input/input.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;
@@ -69,6 +71,8 @@ class _InputClientOnBackButtonParams extends bindings.Struct {
}
+
+
class InputClientOnBackButtonResponseParams extends bindings.Struct {
static const List<bindings.StructDataHeader> kVersions = const [
const bindings.StructDataHeader(8, 0)
@@ -127,6 +131,8 @@ class InputClientOnBackButtonResponseParams extends bindings.Struct {
}
+
+
class _InputServiceSetClientParams extends bindings.Struct {
static const List<bindings.StructDataHeader> kVersions = const [
const bindings.StructDataHeader(16, 0)
@@ -192,8 +198,21 @@ class _InputServiceSetClientParams extends bindings.Struct {
}
}
+
+
+
const int _InputClient_onBackButtonName = 0;
+
+
+class _InputClientServiceDescription implements service_describer.ServiceDescription {
+ dynamic getTopLevelInterface([Function responseFactory]) => null;
+
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null;
+
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null;
+}
+
abstract class InputClient {
static const String serviceName = null;
dynamic onBackButton([Function responseFactory = null]);
@@ -215,6 +234,9 @@ class _InputClientProxyImpl extends bindings.Proxy {
return new _InputClientProxyImpl.fromEndpoint(endpoint);
}
+ service_describer.ServiceDescription get serviceDescription =>
+ new _InputClientServiceDescription();
+
void handleResponse(bindings.ServiceMessage message) {
switch (message.header.type) {
case _InputClient_onBackButtonName:
@@ -398,10 +420,23 @@ class InputClientStub extends bindings.Stub {
}
int get version => 0;
+
+ service_describer.ServiceDescription get serviceDescription =>
+ new _InputClientServiceDescription();
}
const int _InputService_setClientName = 0;
+
+
+class _InputServiceServiceDescription implements service_describer.ServiceDescription {
+ dynamic getTopLevelInterface([Function responseFactory]) => null;
+
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null;
+
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null;
+}
+
abstract class InputService {
static const String serviceName = "input::InputService";
void setClient(Object client);
@@ -423,6 +458,9 @@ class _InputServiceProxyImpl extends bindings.Proxy {
return new _InputServiceProxyImpl.fromEndpoint(endpoint);
}
+ service_describer.ServiceDescription get serviceDescription =>
+ new _InputServiceServiceDescription();
+
void handleResponse(bindings.ServiceMessage message) {
switch (message.header.type) {
default:
@@ -566,6 +604,10 @@ class InputServiceStub extends bindings.Stub {
}
int get version => 0;
+
+ service_describer.ServiceDescription get serviceDescription =>
+ new _InputServiceServiceDescription();
}
+

Powered by Google App Engine
This is Rietveld 408576698