| Index: mojo/dart/packages/mojo_services/lib/keyboard/keyboard.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/keyboard/keyboard.mojom.dart b/mojo/dart/packages/mojo_services/lib/keyboard/keyboard.mojom.dart
|
| index a96ed8d398dd076a6923fef31d4f03bea74388ae..f705e1cf22b994349841aafb5fe65bdf2463fc63 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/keyboard/keyboard.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/keyboard/keyboard.mojom.dart
|
| @@ -5,11 +5,13 @@
|
| library keyboard_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;
|
| import 'package:mojo_services/mojo/native_viewport.mojom.dart' as native_viewport_mojom;
|
| -
|
| class SubmitAction extends bindings.MojoEnum {
|
| static const SubmitAction done = const SubmitAction._(0);
|
|
|
| @@ -47,12 +49,24 @@ class SubmitAction extends bindings.MojoEnum {
|
| switch(this) {
|
| case done:
|
| return 'SubmitAction.done';
|
| + default:
|
| + return null;
|
| }
|
| }
|
|
|
| int toJson() => mojoEnumValue;
|
| }
|
|
|
| +mojom_types.MojomEnum _keyboard_SubmitAction__() {
|
| + return new mojom_types.MojomEnum()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = 'SubmitAction'
|
| + ..fullIdentifier = 'keyboard.SubmitAction')
|
| + ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Done')
|
| + ..enumTypeKey = '_keyboard_SubmitAction__'
|
| + ..intValue = 0,];
|
| +}
|
| class KeyboardType extends bindings.MojoEnum {
|
| static const KeyboardType text = const KeyboardType._(0);
|
| static const KeyboardType number = const KeyboardType._(1);
|
| @@ -111,12 +125,34 @@ class KeyboardType extends bindings.MojoEnum {
|
| return 'KeyboardType.phone';
|
| case datetime:
|
| return 'KeyboardType.datetime';
|
| + default:
|
| + return null;
|
| }
|
| }
|
|
|
| int toJson() => mojoEnumValue;
|
| }
|
|
|
| +mojom_types.MojomEnum _keyboard_KeyboardType__() {
|
| + return new mojom_types.MojomEnum()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = 'KeyboardType'
|
| + ..fullIdentifier = 'keyboard.KeyboardType')
|
| + ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Text')
|
| + ..enumTypeKey = '_keyboard_KeyboardType__'
|
| + ..intValue = 0,new mojom_types.EnumValue()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Number')
|
| + ..enumTypeKey = '_keyboard_KeyboardType__'
|
| + ..intValue = 1,new mojom_types.EnumValue()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Phone')
|
| + ..enumTypeKey = '_keyboard_KeyboardType__'
|
| + ..intValue = 2,new mojom_types.EnumValue()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Datetime')
|
| + ..enumTypeKey = '_keyboard_KeyboardType__'
|
| + ..intValue = 3,];
|
| +}
|
| +
|
|
|
|
|
| class CompletionData extends bindings.Struct {
|
| @@ -211,6 +247,31 @@ class CompletionData extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_CompletionData__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = 'CompletionData'
|
| + ..fullIdentifier = 'keyboard.CompletionData')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Id')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Position')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Text')
|
| + ..type = (new mojom_types.Type()
|
| +..stringType = (new mojom_types.StringType()..nullable = false)),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Label')
|
| + ..type = (new mojom_types.Type()
|
| +..stringType = (new mojom_types.StringType()..nullable = false)),
|
| + ];
|
| +}
|
|
|
|
|
| class CorrectionData extends bindings.Struct {
|
| @@ -296,6 +357,27 @@ class CorrectionData extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_CorrectionData__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = 'CorrectionData'
|
| + ..fullIdentifier = 'keyboard.CorrectionData')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Offset')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'OldText')
|
| + ..type = (new mojom_types.Type()
|
| +..stringType = (new mojom_types.StringType()..nullable = false)),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'NewText')
|
| + ..type = (new mojom_types.Type()
|
| +..stringType = (new mojom_types.StringType()..nullable = false)),
|
| + ];
|
| +}
|
|
|
|
|
| class _KeyboardClientCommitCompletionParams extends bindings.Struct {
|
| @@ -364,6 +446,22 @@ class _KeyboardClientCommitCompletionParams extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_KeyboardClient_CommitCompletion_Params__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = '_KeyboardClientCommitCompletionParams'
|
| + ..fullIdentifier = 'keyboard._KeyboardClientCommitCompletionParams')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Completion')
|
| + ..type = (new mojom_types.Type()
|
| + ..typeReference = (new mojom_types.TypeReference()
|
| +
|
| + ..identifier = '_keyboard_CompletionData__'
|
| + ..typeKey = '_keyboard_CompletionData__'
|
| + )),
|
| + ];
|
| +}
|
|
|
|
|
| class _KeyboardClientCommitCorrectionParams extends bindings.Struct {
|
| @@ -432,6 +530,22 @@ class _KeyboardClientCommitCorrectionParams extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_KeyboardClient_CommitCorrection_Params__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = '_KeyboardClientCommitCorrectionParams'
|
| + ..fullIdentifier = 'keyboard._KeyboardClientCommitCorrectionParams')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Correction')
|
| + ..type = (new mojom_types.Type()
|
| + ..typeReference = (new mojom_types.TypeReference()
|
| +
|
| + ..identifier = '_keyboard_CorrectionData__'
|
| + ..typeKey = '_keyboard_CorrectionData__'
|
| + )),
|
| + ];
|
| +}
|
|
|
|
|
| class _KeyboardClientCommitTextParams extends bindings.Struct {
|
| @@ -508,6 +622,22 @@ class _KeyboardClientCommitTextParams extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_KeyboardClient_CommitText_Params__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = '_KeyboardClientCommitTextParams'
|
| + ..fullIdentifier = 'keyboard._KeyboardClientCommitTextParams')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Text')
|
| + ..type = (new mojom_types.Type()
|
| +..stringType = (new mojom_types.StringType()..nullable = false)),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'NewCursorPosition')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
|
| + ];
|
| +}
|
|
|
|
|
| class _KeyboardClientDeleteSurroundingTextParams extends bindings.Struct {
|
| @@ -584,6 +714,21 @@ class _KeyboardClientDeleteSurroundingTextParams extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_KeyboardClient_DeleteSurroundingText_Params__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = '_KeyboardClientDeleteSurroundingTextParams'
|
| + ..fullIdentifier = 'keyboard._KeyboardClientDeleteSurroundingTextParams')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'BeforeLength')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'AfterLength')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
|
| + ];
|
| +}
|
|
|
|
|
| class _KeyboardClientSetComposingRegionParams extends bindings.Struct {
|
| @@ -660,6 +805,21 @@ class _KeyboardClientSetComposingRegionParams extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_KeyboardClient_SetComposingRegion_Params__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = '_KeyboardClientSetComposingRegionParams'
|
| + ..fullIdentifier = 'keyboard._KeyboardClientSetComposingRegionParams')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Start')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'End')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
|
| + ];
|
| +}
|
|
|
|
|
| class _KeyboardClientSetComposingTextParams extends bindings.Struct {
|
| @@ -736,6 +896,22 @@ class _KeyboardClientSetComposingTextParams extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_KeyboardClient_SetComposingText_Params__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = '_KeyboardClientSetComposingTextParams'
|
| + ..fullIdentifier = 'keyboard._KeyboardClientSetComposingTextParams')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Text')
|
| + ..type = (new mojom_types.Type()
|
| +..stringType = (new mojom_types.StringType()..nullable = false)),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'NewCursorPosition')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
|
| + ];
|
| +}
|
|
|
|
|
| class _KeyboardClientSetSelectionParams extends bindings.Struct {
|
| @@ -812,6 +988,21 @@ class _KeyboardClientSetSelectionParams extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_KeyboardClient_SetSelection_Params__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = '_KeyboardClientSetSelectionParams'
|
| + ..fullIdentifier = 'keyboard._KeyboardClientSetSelectionParams')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Start')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'End')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
|
| + ];
|
| +}
|
|
|
|
|
| class _KeyboardClientSubmitParams extends bindings.Struct {
|
| @@ -883,6 +1074,22 @@ class _KeyboardClientSubmitParams extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_KeyboardClient_Submit_Params__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = '_KeyboardClientSubmitParams'
|
| + ..fullIdentifier = 'keyboard._KeyboardClientSubmitParams')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Action')
|
| + ..type = (new mojom_types.Type()
|
| + ..typeReference = (new mojom_types.TypeReference()
|
| +
|
| + ..identifier = '_keyboard_SubmitAction__'
|
| + ..typeKey = '_keyboard_SubmitAction__'
|
| + )),
|
| + ];
|
| +}
|
|
|
|
|
| class _KeyboardServiceShowParams extends bindings.Struct {
|
| @@ -961,6 +1168,31 @@ class _KeyboardServiceShowParams extends bindings.Struct {
|
| 'Object containing handles cannot be encoded to JSON.');
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_KeyboardService_Show_Params__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = '_KeyboardServiceShowParams'
|
| + ..fullIdentifier = 'keyboard._KeyboardServiceShowParams')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Client')
|
| + ..type = (new mojom_types.Type()
|
| + ..typeReference = (new mojom_types.TypeReference()
|
| +
|
| + ..identifier = '_keyboard_KeyboardClient__'
|
| + ..typeKey = '_keyboard_KeyboardClient__'
|
| + )),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Type')
|
| + ..type = (new mojom_types.Type()
|
| + ..typeReference = (new mojom_types.TypeReference()
|
| +
|
| + ..identifier = '_keyboard_KeyboardType__'
|
| + ..typeKey = '_keyboard_KeyboardType__'
|
| + )),
|
| + ];
|
| +}
|
|
|
|
|
| class _KeyboardServiceShowByRequestParams extends bindings.Struct {
|
| @@ -1019,6 +1251,13 @@ class _KeyboardServiceShowByRequestParams extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_KeyboardService_ShowByRequest_Params__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = '_KeyboardServiceShowByRequestParams'
|
| + ..fullIdentifier = 'keyboard._KeyboardServiceShowByRequestParams')
|
| + ..fields = <mojom_types.StructField>[];
|
| +}
|
|
|
|
|
| class _KeyboardServiceHideParams extends bindings.Struct {
|
| @@ -1077,6 +1316,13 @@ class _KeyboardServiceHideParams extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_KeyboardService_Hide_Params__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = '_KeyboardServiceHideParams'
|
| + ..fullIdentifier = 'keyboard._KeyboardServiceHideParams')
|
| + ..fields = <mojom_types.StructField>[];
|
| +}
|
|
|
|
|
| class _KeyboardServiceSetTextParams extends bindings.Struct {
|
| @@ -1144,6 +1390,18 @@ class _KeyboardServiceSetTextParams extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_KeyboardService_SetText_Params__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = '_KeyboardServiceSetTextParams'
|
| + ..fullIdentifier = 'keyboard._KeyboardServiceSetTextParams')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Text')
|
| + ..type = (new mojom_types.Type()
|
| +..stringType = (new mojom_types.StringType()..nullable = false)),
|
| + ];
|
| +}
|
|
|
|
|
| class _KeyboardServiceSetSelectionParams extends bindings.Struct {
|
| @@ -1220,6 +1478,21 @@ class _KeyboardServiceSetSelectionParams extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_KeyboardService_SetSelection_Params__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = '_KeyboardServiceSetSelectionParams'
|
| + ..fullIdentifier = 'keyboard._KeyboardServiceSetSelectionParams')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Start')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'End')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
|
| + ];
|
| +}
|
|
|
|
|
| class _KeyboardServiceFactoryCreateKeyboardServiceParams extends bindings.Struct {
|
| @@ -1294,6 +1567,34 @@ class _KeyboardServiceFactoryCreateKeyboardServiceParams extends bindings.Struct
|
| 'Object containing handles cannot be encoded to JSON.');
|
| }
|
| }
|
| +mojom_types.MojomStruct _keyboard_KeyboardServiceFactory_CreateKeyboardService_Params__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = '_KeyboardServiceFactoryCreateKeyboardServiceParams'
|
| + ..fullIdentifier = 'keyboard._KeyboardServiceFactoryCreateKeyboardServiceParams')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyEventDispatcher')
|
| + ..type = (new mojom_types.Type()
|
| + ..typeReference = (new mojom_types.TypeReference()
|
| +
|
| + ..isInterfaceRequest = true
|
| + ..identifier = '_native_viewport_NativeViewportEventDispatcher__'
|
| + ..typeKey = '_native_viewport_NativeViewportEventDispatcher__'
|
| + )),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'ServiceRequest')
|
| + ..type = (new mojom_types.Type()
|
| + ..typeReference = (new mojom_types.TypeReference()
|
| +
|
| + ..isInterfaceRequest = true
|
| + ..identifier = '_keyboard_KeyboardService__'
|
| + ..typeKey = '_keyboard_KeyboardService__'
|
| + )),
|
| + ];
|
| +}
|
| +
|
|
|
| const int _KeyboardClient_commitCompletionName = 0;
|
| const int _KeyboardClient_commitCorrectionName = 1;
|
| @@ -1304,6 +1605,45 @@ const int _KeyboardClient_setComposingTextName = 5;
|
| const int _KeyboardClient_setSelectionName = 6;
|
| const int _KeyboardClient_submitName = 7;
|
|
|
| +mojom_types.MojomInterface _keyboard_KeyboardClient__() {
|
| + return new mojom_types.MojomInterface()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = 'KeyboardClient'
|
| + ..fullIdentifier = 'keyboard.KeyboardClient')
|
| + ..interfaceName = 'KeyboardClient'
|
| + ..methods = <int, mojom_types.MojomMethod>{
|
| +_KeyboardClient_commitCompletionName: new mojom_types.MojomMethod()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'CommitCompletion')
|
| + ..ordinal = _KeyboardClient_commitCompletionName..parameters = _keyboard_KeyboardClient_CommitCompletion_Params__(),_KeyboardClient_commitCorrectionName: new mojom_types.MojomMethod()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'CommitCorrection')
|
| + ..ordinal = _KeyboardClient_commitCorrectionName..parameters = _keyboard_KeyboardClient_CommitCorrection_Params__(),_KeyboardClient_commitTextName: new mojom_types.MojomMethod()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'CommitText')
|
| + ..ordinal = _KeyboardClient_commitTextName..parameters = _keyboard_KeyboardClient_CommitText_Params__(),_KeyboardClient_deleteSurroundingTextName: new mojom_types.MojomMethod()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'DeleteSurroundingText')
|
| + ..ordinal = _KeyboardClient_deleteSurroundingTextName..parameters = _keyboard_KeyboardClient_DeleteSurroundingText_Params__(),_KeyboardClient_setComposingRegionName: new mojom_types.MojomMethod()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'SetComposingRegion')
|
| + ..ordinal = _KeyboardClient_setComposingRegionName..parameters = _keyboard_KeyboardClient_SetComposingRegion_Params__(),_KeyboardClient_setComposingTextName: new mojom_types.MojomMethod()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'SetComposingText')
|
| + ..ordinal = _KeyboardClient_setComposingTextName..parameters = _keyboard_KeyboardClient_SetComposingText_Params__(),_KeyboardClient_setSelectionName: new mojom_types.MojomMethod()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'SetSelection')
|
| + ..ordinal = _KeyboardClient_setSelectionName..parameters = _keyboard_KeyboardClient_SetSelection_Params__(),_KeyboardClient_submitName: new mojom_types.MojomMethod()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Submit')
|
| + ..ordinal = _KeyboardClient_submitName..parameters = _keyboard_KeyboardClient_Submit_Params__(),
|
| + };
|
| +}
|
| +
|
| +class _KeyboardClientServiceDescription implements service_describer.ServiceDescription {
|
| +dynamic getTopLevelInterface([Function responseFactory = null]) {
|
| + return _keyboard_KeyboardClient__();
|
| + }
|
| + dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) {
|
| + return getAllMojomTypeDefinitions()[typeKey];
|
| + }
|
| + dynamic getAllTypeDefinitions([Function responseFactory = null]) {
|
| + return getAllMojomTypeDefinitions();
|
| + }
|
| +}
|
| +
|
| abstract class KeyboardClient {
|
| static const String serviceName = null;
|
| void commitCompletion(CompletionData completion);
|
| @@ -1332,6 +1672,9 @@ class _KeyboardClientProxyImpl extends bindings.Proxy {
|
| return new _KeyboardClientProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _KeyboardClientServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -1578,6 +1921,10 @@ class KeyboardClientStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _KeyboardClientServiceDescription();
|
| }
|
|
|
| const int _KeyboardService_showName = 0;
|
| @@ -1586,6 +1933,39 @@ const int _KeyboardService_hideName = 2;
|
| const int _KeyboardService_setTextName = 3;
|
| const int _KeyboardService_setSelectionName = 4;
|
|
|
| +mojom_types.MojomInterface _keyboard_KeyboardService__() {
|
| + return new mojom_types.MojomInterface()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = 'KeyboardService'
|
| + ..fullIdentifier = 'keyboard.KeyboardService')
|
| + ..interfaceName = 'KeyboardService'
|
| + ..methods = <int, mojom_types.MojomMethod>{
|
| +_KeyboardService_showName: new mojom_types.MojomMethod()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Show')
|
| + ..ordinal = _KeyboardService_showName..parameters = _keyboard_KeyboardService_Show_Params__(),_KeyboardService_showByRequestName: new mojom_types.MojomMethod()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'ShowByRequest')
|
| + ..ordinal = _KeyboardService_showByRequestName..parameters = _keyboard_KeyboardService_ShowByRequest_Params__(),_KeyboardService_hideName: new mojom_types.MojomMethod()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Hide')
|
| + ..ordinal = _KeyboardService_hideName..parameters = _keyboard_KeyboardService_Hide_Params__(),_KeyboardService_setTextName: new mojom_types.MojomMethod()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'SetText')
|
| + ..ordinal = _KeyboardService_setTextName..parameters = _keyboard_KeyboardService_SetText_Params__(),_KeyboardService_setSelectionName: new mojom_types.MojomMethod()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'SetSelection')
|
| + ..ordinal = _KeyboardService_setSelectionName..parameters = _keyboard_KeyboardService_SetSelection_Params__(),
|
| + };
|
| +}
|
| +
|
| +class _KeyboardServiceServiceDescription implements service_describer.ServiceDescription {
|
| +dynamic getTopLevelInterface([Function responseFactory = null]) {
|
| + return _keyboard_KeyboardService__();
|
| + }
|
| + dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) {
|
| + return getAllMojomTypeDefinitions()[typeKey];
|
| + }
|
| + dynamic getAllTypeDefinitions([Function responseFactory = null]) {
|
| + return getAllMojomTypeDefinitions();
|
| + }
|
| +}
|
| +
|
| abstract class KeyboardService {
|
| static const String serviceName = "keyboard::KeyboardService";
|
| void show(Object client, KeyboardType type);
|
| @@ -1611,6 +1991,9 @@ class _KeyboardServiceProxyImpl extends bindings.Proxy {
|
| return new _KeyboardServiceProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _KeyboardServiceServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -1810,10 +2193,39 @@ class KeyboardServiceStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _KeyboardServiceServiceDescription();
|
| }
|
|
|
| const int _KeyboardServiceFactory_createKeyboardServiceName = 0;
|
|
|
| +mojom_types.MojomInterface _keyboard_KeyboardServiceFactory__() {
|
| + return new mojom_types.MojomInterface()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = 'KeyboardServiceFactory'
|
| + ..fullIdentifier = 'keyboard.KeyboardServiceFactory')
|
| + ..interfaceName = 'KeyboardServiceFactory'
|
| + ..methods = <int, mojom_types.MojomMethod>{
|
| +_KeyboardServiceFactory_createKeyboardServiceName: new mojom_types.MojomMethod()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'CreateKeyboardService')
|
| + ..ordinal = _KeyboardServiceFactory_createKeyboardServiceName..parameters = _keyboard_KeyboardServiceFactory_CreateKeyboardService_Params__(),
|
| + };
|
| +}
|
| +
|
| +class _KeyboardServiceFactoryServiceDescription implements service_describer.ServiceDescription {
|
| +dynamic getTopLevelInterface([Function responseFactory = null]) {
|
| + return _keyboard_KeyboardServiceFactory__();
|
| + }
|
| + dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) {
|
| + return getAllMojomTypeDefinitions()[typeKey];
|
| + }
|
| + dynamic getAllTypeDefinitions([Function responseFactory = null]) {
|
| + return getAllMojomTypeDefinitions();
|
| + }
|
| +}
|
| +
|
| abstract class KeyboardServiceFactory {
|
| static const String serviceName = "keyboard::KeyboardServiceFactory";
|
| void createKeyboardService(Object keyEventDispatcher, Object serviceRequest);
|
| @@ -1835,6 +2247,9 @@ class _KeyboardServiceFactoryProxyImpl extends bindings.Proxy {
|
| return new _KeyboardServiceFactoryProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _KeyboardServiceFactoryServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -1979,6 +2394,95 @@ class KeyboardServiceFactoryStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _KeyboardServiceFactoryServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +Map<String, mojom_types.UserDefinedType> _initDescriptions() {
|
| + var map = new HashMap<String, mojom_types.UserDefinedType>();
|
| +map["_keyboard_SubmitAction__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..enumType = _keyboard_SubmitAction__();
|
| +map["_keyboard_KeyboardType__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..enumType = _keyboard_KeyboardType__();
|
| +map["_keyboard_CompletionData__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_CompletionData__();
|
| +map["_keyboard_CorrectionData__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_CorrectionData__();
|
| +map["_keyboard_KeyboardClient_CommitCompletion_Params__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_KeyboardClient_CommitCompletion_Params__();
|
| +map["_keyboard_KeyboardClient_CommitCorrection_Params__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_KeyboardClient_CommitCorrection_Params__();
|
| +map["_keyboard_KeyboardClient_CommitText_Params__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_KeyboardClient_CommitText_Params__();
|
| +map["_keyboard_KeyboardClient_DeleteSurroundingText_Params__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_KeyboardClient_DeleteSurroundingText_Params__();
|
| +map["_keyboard_KeyboardClient_SetComposingRegion_Params__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_KeyboardClient_SetComposingRegion_Params__();
|
| +map["_keyboard_KeyboardClient_SetComposingText_Params__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_KeyboardClient_SetComposingText_Params__();
|
| +map["_keyboard_KeyboardClient_SetSelection_Params__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_KeyboardClient_SetSelection_Params__();
|
| +map["_keyboard_KeyboardClient_Submit_Params__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_KeyboardClient_Submit_Params__();
|
| +map["_keyboard_KeyboardService_Show_Params__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_KeyboardService_Show_Params__();
|
| +map["_keyboard_KeyboardService_ShowByRequest_Params__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_KeyboardService_ShowByRequest_Params__();
|
| +map["_keyboard_KeyboardService_Hide_Params__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_KeyboardService_Hide_Params__();
|
| +map["_keyboard_KeyboardService_SetText_Params__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_KeyboardService_SetText_Params__();
|
| +map["_keyboard_KeyboardService_SetSelection_Params__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_KeyboardService_SetSelection_Params__();
|
| +map["_keyboard_KeyboardServiceFactory_CreateKeyboardService_Params__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _keyboard_KeyboardServiceFactory_CreateKeyboardService_Params__();
|
| +map["_keyboard_KeyboardClient__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..interfaceType = _keyboard_KeyboardClient__();
|
| +map["_keyboard_KeyboardService__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..interfaceType = _keyboard_KeyboardService__();
|
| +map["_keyboard_KeyboardServiceFactory__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..interfaceType = _keyboard_KeyboardServiceFactory__();
|
| +native_viewport_mojom.getAllMojomTypeDefinitions().forEach((String s, mojom_types.UserDefinedType udt) {
|
| + map[s] = udt;
|
| +});
|
| +
|
| + return map;
|
| +}
|
| +
|
| +var _MojomDesc;
|
| +Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
|
| + if (_MojomDesc == null) {
|
| + _MojomDesc = _initDescriptions();
|
| + }
|
| + return _MojomDesc;
|
| +}
|
| +
|
|
|