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

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

Issue 1433183002: Generate Mojom Types for Dart (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Simplify identifier_store for Go and Dart Created 5 years, 1 month 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/mojo/location.mojom.dart
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart
index d67da007034976b737d9fb4c7d86281982e14320..528d6fd320b3ed295d368718803fe9fbfdfecd36 100644
--- a/mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart
+++ b/mojo/dart/packages/mojo_services/lib/mojo/location.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/mojom_types.mojom.dart' as mojom_types;
+
@@ -185,4 +187,113 @@ class Location extends bindings.Struct {
}
}
+mojom_types.MojomStruct _location_Location__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Location')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Time')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UINT64),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'HasElapsedRealTimeNanos')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ElapsedRealTimeNanos')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UINT64),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Latitude')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.DOUBLE),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Longitude')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.DOUBLE),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'HasAltitude')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Altitude')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.DOUBLE),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'HasSpeed')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Speed')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.FLOAT),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'HasBearing')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Bearing')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.FLOAT),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'HasAccuracy')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Accuracy')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.FLOAT),
+ ];
+}
+
+
+
+
+
+
+
+
+
+var _MojomDesc__ = _initDescriptions();
+
+Map<String, mojom_types.UserDefinedType> _initDescriptions() {
+ var map = new Map<String, mojom_types.UserDefinedType>();
+
+ map["_location_Location__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _location_Location__();
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ return map;
+}
+
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
+ return _MojomDesc__;
+}
+

Powered by Google App Engine
This is Rietveld 408576698