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

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

Issue 1539673003: Generate Mojom Types in Dart (Take 2) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Update to master and regenerate mojoms 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/activity/activity.mojom.dart
diff --git a/mojo/dart/packages/mojo_services/lib/activity/activity.mojom.dart b/mojo/dart/packages/mojo_services/lib/activity/activity.mojom.dart
index 8ef40ded552be44ef7350575eb0e026b9b2324ec..10b6f812153a982f950bd8a826a18d14dd52b601 100644
--- a/mojo/dart/packages/mojo_services/lib/activity/activity.mojom.dart
+++ b/mojo/dart/packages/mojo_services/lib/activity/activity.mojom.dart
@@ -5,10 +5,12 @@
library activity_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;
+import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as service_describer;
class SystemUiVisibility extends bindings.MojoEnum {
static const SystemUiVisibility standard = const SystemUiVisibility._(0);
static const SystemUiVisibility fullscreen = const SystemUiVisibility._(1);
@@ -60,12 +62,30 @@ class SystemUiVisibility extends bindings.MojoEnum {
return 'SystemUiVisibility.fullscreen';
case immersive:
return 'SystemUiVisibility.immersive';
+ default:
+ return null;
}
}
int toJson() => mojoEnumValue;
}
+mojom_types.MojomEnum _activity_SystemUIVisibility__() {
+ return new mojom_types.MojomEnum()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'SystemUiVisibility'
+ ..fullIdentifier = 'activity.SystemUiVisibility')
+ ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Standard')
+ ..enumTypeKey = '_activity_SystemUIVisibility__'
+ ..intValue = 0,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Fullscreen')
+ ..enumTypeKey = '_activity_SystemUIVisibility__'
+ ..intValue = 1,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Immersive')
+ ..enumTypeKey = '_activity_SystemUIVisibility__'
+ ..intValue = 2,];
+}
class ScreenOrientation extends bindings.MojoEnum {
static const ScreenOrientation unspecified = const ScreenOrientation._(0);
static const ScreenOrientation landscape = const ScreenOrientation._(1);
@@ -124,12 +144,33 @@ class ScreenOrientation extends bindings.MojoEnum {
return 'ScreenOrientation.portrait';
case nosensor:
return 'ScreenOrientation.nosensor';
+ default:
+ return null;
}
}
int toJson() => mojoEnumValue;
}
+mojom_types.MojomEnum _activity_ScreenOrientation__() {
+ return new mojom_types.MojomEnum()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'ScreenOrientation'
+ ..fullIdentifier = 'activity.ScreenOrientation')
+ ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Unspecified')
+ ..enumTypeKey = '_activity_ScreenOrientation__'
+ ..intValue = 0,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Landscape')
+ ..enumTypeKey = '_activity_ScreenOrientation__'
+ ..intValue = 1,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Portrait')
+ ..enumTypeKey = '_activity_ScreenOrientation__'
+ ..intValue = 2,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Nosensor')
+ ..enumTypeKey = '_activity_ScreenOrientation__'
+ ..intValue = 3,];
+}
class HapticFeedbackType extends bindings.MojoEnum {
static const HapticFeedbackType longPress = const HapticFeedbackType._(0);
static const HapticFeedbackType virtualKey = const HapticFeedbackType._(1);
@@ -188,12 +229,33 @@ class HapticFeedbackType extends bindings.MojoEnum {
return 'HapticFeedbackType.keyboardTap';
case clockTick:
return 'HapticFeedbackType.clockTick';
+ default:
+ return null;
}
}
int toJson() => mojoEnumValue;
}
+mojom_types.MojomEnum _activity_HapticFeedbackType__() {
+ return new mojom_types.MojomEnum()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'HapticFeedbackType'
+ ..fullIdentifier = 'activity.HapticFeedbackType')
+ ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'LongPress')
+ ..enumTypeKey = '_activity_HapticFeedbackType__'
+ ..intValue = 0,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'VirtualKey')
+ ..enumTypeKey = '_activity_HapticFeedbackType__'
+ ..intValue = 1,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardTap')
+ ..enumTypeKey = '_activity_HapticFeedbackType__'
+ ..intValue = 2,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ClockTick')
+ ..enumTypeKey = '_activity_HapticFeedbackType__'
+ ..intValue = 3,];
+}
class AuralFeedbackType extends bindings.MojoEnum {
static const AuralFeedbackType click = const AuralFeedbackType._(0);
static const AuralFeedbackType navigationLeft = const AuralFeedbackType._(1);
@@ -259,12 +321,37 @@ class AuralFeedbackType extends bindings.MojoEnum {
return 'AuralFeedbackType.navigationRight';
case navigationDown:
return 'AuralFeedbackType.navigationDown';
+ default:
+ return null;
}
}
int toJson() => mojoEnumValue;
}
+mojom_types.MojomEnum _activity_AuralFeedbackType__() {
+ return new mojom_types.MojomEnum()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'AuralFeedbackType'
+ ..fullIdentifier = 'activity.AuralFeedbackType')
+ ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Click')
+ ..enumTypeKey = '_activity_AuralFeedbackType__'
+ ..intValue = 0,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NavigationLeft')
+ ..enumTypeKey = '_activity_AuralFeedbackType__'
+ ..intValue = 1,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NavigationUp')
+ ..enumTypeKey = '_activity_AuralFeedbackType__'
+ ..intValue = 2,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NavigationRight')
+ ..enumTypeKey = '_activity_AuralFeedbackType__'
+ ..intValue = 3,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NavigationDown')
+ ..enumTypeKey = '_activity_AuralFeedbackType__'
+ ..intValue = 4,];
+}
+
class StringExtra extends bindings.Struct {
@@ -341,6 +428,23 @@ class StringExtra extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_StringExtra__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'StringExtra'
+ ..fullIdentifier = 'activity.StringExtra')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Name')
+ ..type = (new mojom_types.Type()
+..stringType = (new mojom_types.StringType()..nullable = false)),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Value')
+ ..type = (new mojom_types.Type()
+..stringType = (new mojom_types.StringType()..nullable = false)),
+ ];
+}
class ComponentName extends bindings.Struct {
@@ -417,6 +521,23 @@ class ComponentName extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_ComponentName__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'ComponentName'
+ ..fullIdentifier = 'activity.ComponentName')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'PackageName')
+ ..type = (new mojom_types.Type()
+..stringType = (new mojom_types.StringType()..nullable = false)),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ClassName')
+ ..type = (new mojom_types.Type()
+..stringType = (new mojom_types.StringType()..nullable = false)),
+ ];
+}
class Intent extends bindings.Struct {
@@ -549,6 +670,55 @@ class Intent extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_Intent__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'Intent'
+ ..fullIdentifier = 'activity.Intent')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Action')
+ ..type = (new mojom_types.Type()
+..stringType = (new mojom_types.StringType()..nullable = false)),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Url')
+ ..type = (new mojom_types.Type()
+..stringType = (new mojom_types.StringType()..nullable = false)),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Flags')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Component')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+ ..nullable = true
+
+
+ ..identifier = '_activity_ComponentName__'
+ ..typeKey = '_activity_ComponentName__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'StringExtras')
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType()
+ ..nullable = true
+
+ ..elementType = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_activity_StringExtra__'
+ ..typeKey = '_activity_StringExtra__'
+ )))),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Type')
+ ..type = (new mojom_types.Type()
+..stringType = (new mojom_types.StringType()..nullable = true)),
+ ];
+}
class TaskDescription extends bindings.Struct {
@@ -625,6 +795,22 @@ class TaskDescription extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_TaskDescription__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'TaskDescription'
+ ..fullIdentifier = 'activity.TaskDescription')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Label')
+ ..type = (new mojom_types.Type()
+..stringType = (new mojom_types.StringType()..nullable = true)),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'PrimaryColor')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+ ];
+}
class _ActivityGetUserFeedbackParams extends bindings.Struct {
@@ -691,6 +877,23 @@ class _ActivityGetUserFeedbackParams extends bindings.Struct {
'Object containing handles cannot be encoded to JSON.');
}
}
+mojom_types.MojomStruct _activity_Activity_GetUserFeedback_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_ActivityGetUserFeedbackParams'
+ ..fullIdentifier = 'activity._ActivityGetUserFeedbackParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'UserFeedback')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..isInterfaceRequest = true
+ ..identifier = '_activity_UserFeedback__'
+ ..typeKey = '_activity_UserFeedback__'
+ )),
+ ];
+}
class _ActivityStartActivityParams extends bindings.Struct {
@@ -759,6 +962,22 @@ class _ActivityStartActivityParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_Activity_StartActivity_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_ActivityStartActivityParams'
+ ..fullIdentifier = 'activity._ActivityStartActivityParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Intent')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_activity_Intent__'
+ ..typeKey = '_activity_Intent__'
+ )),
+ ];
+}
class _ActivityFinishCurrentActivityParams extends bindings.Struct {
@@ -817,6 +1036,13 @@ class _ActivityFinishCurrentActivityParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_Activity_FinishCurrentActivity_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_ActivityFinishCurrentActivityParams'
+ ..fullIdentifier = 'activity._ActivityFinishCurrentActivityParams')
+ ..fields = <mojom_types.StructField>[];
+}
class _ActivitySetTaskDescriptionParams extends bindings.Struct {
@@ -885,6 +1111,22 @@ class _ActivitySetTaskDescriptionParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_Activity_SetTaskDescription_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_ActivitySetTaskDescriptionParams'
+ ..fullIdentifier = 'activity._ActivitySetTaskDescriptionParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Description')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_activity_TaskDescription__'
+ ..typeKey = '_activity_TaskDescription__'
+ )),
+ ];
+}
class _ActivitySetSystemUiVisibilityParams extends bindings.Struct {
@@ -956,6 +1198,22 @@ class _ActivitySetSystemUiVisibilityParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_Activity_SetSystemUIVisibility_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_ActivitySetSystemUiVisibilityParams'
+ ..fullIdentifier = 'activity._ActivitySetSystemUiVisibilityParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Visibility')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_activity_SystemUIVisibility__'
+ ..typeKey = '_activity_SystemUIVisibility__'
+ )),
+ ];
+}
class _ActivitySetRequestedOrientationParams extends bindings.Struct {
@@ -1027,6 +1285,22 @@ class _ActivitySetRequestedOrientationParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_Activity_SetRequestedOrientation_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_ActivitySetRequestedOrientationParams'
+ ..fullIdentifier = 'activity._ActivitySetRequestedOrientationParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Orientation')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_activity_ScreenOrientation__'
+ ..typeKey = '_activity_ScreenOrientation__'
+ )),
+ ];
+}
class _PathServiceGetAppDataDirParams extends bindings.Struct {
@@ -1085,6 +1359,13 @@ class _PathServiceGetAppDataDirParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_PathService_GetAppDataDir_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_PathServiceGetAppDataDirParams'
+ ..fullIdentifier = 'activity._PathServiceGetAppDataDirParams')
+ ..fields = <mojom_types.StructField>[];
+}
class PathServiceGetAppDataDirResponseParams extends bindings.Struct {
@@ -1152,6 +1433,18 @@ class PathServiceGetAppDataDirResponseParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_PathService_GetAppDataDir_ResponseParams__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'PathServiceGetAppDataDirResponseParams'
+ ..fullIdentifier = 'activity.PathServiceGetAppDataDirResponseParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Path')
+ ..type = (new mojom_types.Type()
+..stringType = (new mojom_types.StringType()..nullable = false)),
+ ];
+}
class _PathServiceGetFilesDirParams extends bindings.Struct {
@@ -1210,6 +1503,13 @@ class _PathServiceGetFilesDirParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_PathService_GetFilesDir_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_PathServiceGetFilesDirParams'
+ ..fullIdentifier = 'activity._PathServiceGetFilesDirParams')
+ ..fields = <mojom_types.StructField>[];
+}
class PathServiceGetFilesDirResponseParams extends bindings.Struct {
@@ -1277,6 +1577,18 @@ class PathServiceGetFilesDirResponseParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_PathService_GetFilesDir_ResponseParams__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'PathServiceGetFilesDirResponseParams'
+ ..fullIdentifier = 'activity.PathServiceGetFilesDirResponseParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Path')
+ ..type = (new mojom_types.Type()
+..stringType = (new mojom_types.StringType()..nullable = false)),
+ ];
+}
class _PathServiceGetCacheDirParams extends bindings.Struct {
@@ -1335,6 +1647,13 @@ class _PathServiceGetCacheDirParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_PathService_GetCacheDir_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_PathServiceGetCacheDirParams'
+ ..fullIdentifier = 'activity._PathServiceGetCacheDirParams')
+ ..fields = <mojom_types.StructField>[];
+}
class PathServiceGetCacheDirResponseParams extends bindings.Struct {
@@ -1402,6 +1721,18 @@ class PathServiceGetCacheDirResponseParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_PathService_GetCacheDir_ResponseParams__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'PathServiceGetCacheDirResponseParams'
+ ..fullIdentifier = 'activity.PathServiceGetCacheDirResponseParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Path')
+ ..type = (new mojom_types.Type()
+..stringType = (new mojom_types.StringType()..nullable = false)),
+ ];
+}
class _UserFeedbackPerformHapticFeedbackParams extends bindings.Struct {
@@ -1473,6 +1804,22 @@ class _UserFeedbackPerformHapticFeedbackParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_UserFeedback_PerformHapticFeedback_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_UserFeedbackPerformHapticFeedbackParams'
+ ..fullIdentifier = 'activity._UserFeedbackPerformHapticFeedbackParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Type')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_activity_HapticFeedbackType__'
+ ..typeKey = '_activity_HapticFeedbackType__'
+ )),
+ ];
+}
class _UserFeedbackPerformAuralFeedbackParams extends bindings.Struct {
@@ -1544,6 +1891,23 @@ class _UserFeedbackPerformAuralFeedbackParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _activity_UserFeedback_PerformAuralFeedback_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_UserFeedbackPerformAuralFeedbackParams'
+ ..fullIdentifier = 'activity._UserFeedbackPerformAuralFeedbackParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Type')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_activity_AuralFeedbackType__'
+ ..typeKey = '_activity_AuralFeedbackType__'
+ )),
+ ];
+}
+
const int _Activity_getUserFeedbackName = 0;
const int _Activity_startActivityName = 1;
@@ -1552,6 +1916,41 @@ const int _Activity_setTaskDescriptionName = 3;
const int _Activity_setSystemUiVisibilityName = 4;
const int _Activity_setRequestedOrientationName = 5;
+mojom_types.MojomInterface _activity_Activity__() {
+ return new mojom_types.MojomInterface()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'Activity'
+ ..fullIdentifier = 'activity.Activity')
+ ..interfaceName = 'Activity'
+ ..methods = <int, mojom_types.MojomMethod>{
+_Activity_getUserFeedbackName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'GetUserFeedback')
+ ..ordinal = _Activity_getUserFeedbackName..parameters = _activity_Activity_GetUserFeedback_Params__(),_Activity_startActivityName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'StartActivity')
+ ..ordinal = _Activity_startActivityName..parameters = _activity_Activity_StartActivity_Params__(),_Activity_finishCurrentActivityName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FinishCurrentActivity')
+ ..ordinal = _Activity_finishCurrentActivityName..parameters = _activity_Activity_FinishCurrentActivity_Params__(),_Activity_setTaskDescriptionName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SetTaskDescription')
+ ..ordinal = _Activity_setTaskDescriptionName..parameters = _activity_Activity_SetTaskDescription_Params__(),_Activity_setSystemUiVisibilityName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SetSystemUiVisibility')
+ ..ordinal = _Activity_setSystemUiVisibilityName..parameters = _activity_Activity_SetSystemUIVisibility_Params__(),_Activity_setRequestedOrientationName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SetRequestedOrientation')
+ ..ordinal = _Activity_setRequestedOrientationName..parameters = _activity_Activity_SetRequestedOrientation_Params__(),
+ };
+}
+
+class _ActivityServiceDescription implements service_describer.ServiceDescription {
+dynamic getTopLevelInterface([Function responseFactory = null]) {
+ return _activity_Activity__();
+ }
+ dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) {
+ return getAllMojomTypeDefinitions()[typeKey];
+ }
+ dynamic getAllTypeDefinitions([Function responseFactory = null]) {
+ return getAllMojomTypeDefinitions();
+ }
+}
+
abstract class Activity {
static const String serviceName = "activity::Activity";
void getUserFeedback(Object userFeedback);
@@ -1578,6 +1977,9 @@ class _ActivityProxyImpl extends bindings.Proxy {
return new _ActivityProxyImpl.fromEndpoint(endpoint);
}
+ service_describer.ServiceDescription get serviceDescription =>
+ new _ActivityServiceDescription();
+
void handleResponse(bindings.ServiceMessage message) {
switch (message.header.type) {
default:
@@ -1790,12 +2192,48 @@ class ActivityStub extends bindings.Stub {
}
int get version => 0;
+
+
+ service_describer.ServiceDescription get serviceDescription =>
+ new _ActivityServiceDescription();
}
const int _PathService_getAppDataDirName = 0;
const int _PathService_getFilesDirName = 1;
const int _PathService_getCacheDirName = 2;
+mojom_types.MojomInterface _activity_PathService__() {
+ return new mojom_types.MojomInterface()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'PathService'
+ ..fullIdentifier = 'activity.PathService')
+ ..interfaceName = 'PathService'
+ ..methods = <int, mojom_types.MojomMethod>{
+_PathService_getAppDataDirName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'GetAppDataDir')
+ ..ordinal = _PathService_getAppDataDirName
+ ..responseParams = _activity_PathService_GetAppDataDir_ResponseParams__()..parameters = _activity_PathService_GetAppDataDir_Params__(),_PathService_getFilesDirName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'GetFilesDir')
+ ..ordinal = _PathService_getFilesDirName
+ ..responseParams = _activity_PathService_GetFilesDir_ResponseParams__()..parameters = _activity_PathService_GetFilesDir_Params__(),_PathService_getCacheDirName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'GetCacheDir')
+ ..ordinal = _PathService_getCacheDirName
+ ..responseParams = _activity_PathService_GetCacheDir_ResponseParams__()..parameters = _activity_PathService_GetCacheDir_Params__(),
+ };
+}
+
+class _PathServiceServiceDescription implements service_describer.ServiceDescription {
+dynamic getTopLevelInterface([Function responseFactory = null]) {
+ return _activity_PathService__();
+ }
+ dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) {
+ return getAllMojomTypeDefinitions()[typeKey];
+ }
+ dynamic getAllTypeDefinitions([Function responseFactory = null]) {
+ return getAllMojomTypeDefinitions();
+ }
+}
+
abstract class PathService {
static const String serviceName = "activity::PathService";
dynamic getAppDataDir([Function responseFactory = null]);
@@ -1819,6 +2257,9 @@ class _PathServiceProxyImpl extends bindings.Proxy {
return new _PathServiceProxyImpl.fromEndpoint(endpoint);
}
+ service_describer.ServiceDescription get serviceDescription =>
+ new _PathServiceServiceDescription();
+
void handleResponse(bindings.ServiceMessage message) {
switch (message.header.type) {
case _PathService_getAppDataDirName:
@@ -2113,11 +2554,42 @@ class PathServiceStub extends bindings.Stub {
}
int get version => 0;
+
+
+ service_describer.ServiceDescription get serviceDescription =>
+ new _PathServiceServiceDescription();
}
const int _UserFeedback_performHapticFeedbackName = 0;
const int _UserFeedback_performAuralFeedbackName = 1;
+mojom_types.MojomInterface _activity_UserFeedback__() {
+ return new mojom_types.MojomInterface()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'UserFeedback'
+ ..fullIdentifier = 'activity.UserFeedback')
+ ..interfaceName = 'UserFeedback'
+ ..methods = <int, mojom_types.MojomMethod>{
+_UserFeedback_performHapticFeedbackName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'PerformHapticFeedback')
+ ..ordinal = _UserFeedback_performHapticFeedbackName..parameters = _activity_UserFeedback_PerformHapticFeedback_Params__(),_UserFeedback_performAuralFeedbackName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'PerformAuralFeedback')
+ ..ordinal = _UserFeedback_performAuralFeedbackName..parameters = _activity_UserFeedback_PerformAuralFeedback_Params__(),
+ };
+}
+
+class _UserFeedbackServiceDescription implements service_describer.ServiceDescription {
+dynamic getTopLevelInterface([Function responseFactory = null]) {
+ return _activity_UserFeedback__();
+ }
+ dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) {
+ return getAllMojomTypeDefinitions()[typeKey];
+ }
+ dynamic getAllTypeDefinitions([Function responseFactory = null]) {
+ return getAllMojomTypeDefinitions();
+ }
+}
+
abstract class UserFeedback {
static const String serviceName = null;
void performHapticFeedback(HapticFeedbackType type);
@@ -2140,6 +2612,9 @@ class _UserFeedbackProxyImpl extends bindings.Proxy {
return new _UserFeedbackProxyImpl.fromEndpoint(endpoint);
}
+ service_describer.ServiceDescription get serviceDescription =>
+ new _UserFeedbackServiceDescription();
+
void handleResponse(bindings.ServiceMessage message) {
switch (message.header.type) {
default:
@@ -2297,6 +2772,104 @@ class UserFeedbackStub extends bindings.Stub {
}
int get version => 0;
+
+
+ service_describer.ServiceDescription get serviceDescription =>
+ new _UserFeedbackServiceDescription();
}
+
+
+
+
+
+Map<String, mojom_types.UserDefinedType> _initDescriptions() {
+ var map = new HashMap<String, mojom_types.UserDefinedType>();
+map["_activity_SystemUIVisibility__"] =
+ new mojom_types.UserDefinedType()
+ ..enumType = _activity_SystemUIVisibility__();
+map["_activity_ScreenOrientation__"] =
+ new mojom_types.UserDefinedType()
+ ..enumType = _activity_ScreenOrientation__();
+map["_activity_HapticFeedbackType__"] =
+ new mojom_types.UserDefinedType()
+ ..enumType = _activity_HapticFeedbackType__();
+map["_activity_AuralFeedbackType__"] =
+ new mojom_types.UserDefinedType()
+ ..enumType = _activity_AuralFeedbackType__();
+map["_activity_StringExtra__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_StringExtra__();
+map["_activity_ComponentName__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_ComponentName__();
+map["_activity_Intent__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_Intent__();
+map["_activity_TaskDescription__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_TaskDescription__();
+map["_activity_Activity_GetUserFeedback_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_Activity_GetUserFeedback_Params__();
+map["_activity_Activity_StartActivity_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_Activity_StartActivity_Params__();
+map["_activity_Activity_FinishCurrentActivity_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_Activity_FinishCurrentActivity_Params__();
+map["_activity_Activity_SetTaskDescription_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_Activity_SetTaskDescription_Params__();
+map["_activity_Activity_SetSystemUIVisibility_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_Activity_SetSystemUIVisibility_Params__();
+map["_activity_Activity_SetRequestedOrientation_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_Activity_SetRequestedOrientation_Params__();
+map["_activity_PathService_GetAppDataDir_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_PathService_GetAppDataDir_Params__();
+map["_activity_PathService_GetAppDataDir_ResponseParams__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_PathService_GetAppDataDir_ResponseParams__();
+map["_activity_PathService_GetFilesDir_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_PathService_GetFilesDir_Params__();
+map["_activity_PathService_GetFilesDir_ResponseParams__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_PathService_GetFilesDir_ResponseParams__();
+map["_activity_PathService_GetCacheDir_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_PathService_GetCacheDir_Params__();
+map["_activity_PathService_GetCacheDir_ResponseParams__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_PathService_GetCacheDir_ResponseParams__();
+map["_activity_UserFeedback_PerformHapticFeedback_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_UserFeedback_PerformHapticFeedback_Params__();
+map["_activity_UserFeedback_PerformAuralFeedback_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _activity_UserFeedback_PerformAuralFeedback_Params__();
+map["_activity_Activity__"] =
+ new mojom_types.UserDefinedType()
+ ..interfaceType = _activity_Activity__();
+map["_activity_PathService__"] =
+ new mojom_types.UserDefinedType()
+ ..interfaceType = _activity_PathService__();
+map["_activity_UserFeedback__"] =
+ new mojom_types.UserDefinedType()
+ ..interfaceType = _activity_UserFeedback__();
+
+ return map;
+}
+
+var _MojomDesc;
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
+ if (_MojomDesc == null) {
+ _MojomDesc = _initDescriptions();
+ }
+ return _MojomDesc;
+}
+

Powered by Google App Engine
This is Rietveld 408576698