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..bcf35ec58c53f23882719115d16ccdfa76a2137b 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart |
@@ -5,9 +5,12 @@ |
library location_mojom; |
import 'dart:async'; |
+import 'dart:collection'; |
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; |
+ |
@@ -184,5 +187,87 @@ class Location extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _location_Location__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'Location' |
+ ..fullIdentifier = 'mojo.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), |
+ ]; |
+} |
+ |
+ |
+ |
+ |
+ |
+ |
+Map<String, mojom_types.UserDefinedType> _initDescriptions() { |
+ var map = new HashMap<String, mojom_types.UserDefinedType>(); |
+map["_location_Location__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _location_Location__(); |
+ |
+ return map; |
+} |
+ |
+var _MojomDesc; |
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { |
+ if (_MojomDesc == null) { |
+ _MojomDesc = _initDescriptions(); |
+ } |
+ return _MojomDesc; |
+} |
+ |