| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 library keyboard_mojom; | 5 library keyboard_mojom; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'package:mojo/bindings.dart' as bindings; | 9 import 'package:mojo/bindings.dart' as bindings; |
| 10 import 'package:mojo/core.dart' as core; | 10 import 'package:mojo/core.dart' as core; |
| 11 import 'package:mojo/mojo/mojom_types.mojom.dart' as mojom_types; |
| 12 import 'package:mojo/mojo/service_describer.mojom.dart' as service_describer; |
| 11 import 'package:mojo_services/mojo/native_viewport.mojom.dart' as native_viewpor
t_mojom; | 13 import 'package:mojo_services/mojo/native_viewport.mojom.dart' as native_viewpor
t_mojom; |
| 12 class SubmitAction extends bindings.MojoEnum { | 14 class SubmitAction extends bindings.MojoEnum { |
| 13 static const DONE = const SubmitAction._(0); | 15 static const DONE = const SubmitAction._(0); |
| 14 | 16 |
| 15 const SubmitAction._(int v) : super(v); | 17 const SubmitAction._(int v) : super(v); |
| 16 | 18 |
| 17 static const Map<String, SubmitAction> valuesMap = const { | 19 static const Map<String, SubmitAction> valuesMap = const { |
| 18 "DONE": DONE, | 20 "DONE": DONE, |
| 19 }; | 21 }; |
| 20 static const List<SubmitAction> values = const [ | 22 static const List<SubmitAction> values = const [ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 39 throw new bindings.MojoCodecError( | 41 throw new bindings.MojoCodecError( |
| 40 'Bad value $v for enum SubmitAction.'); | 42 'Bad value $v for enum SubmitAction.'); |
| 41 } | 43 } |
| 42 return result; | 44 return result; |
| 43 } | 45 } |
| 44 | 46 |
| 45 String toString() { | 47 String toString() { |
| 46 switch(this) { | 48 switch(this) { |
| 47 case DONE: | 49 case DONE: |
| 48 return 'SubmitAction.DONE'; | 50 return 'SubmitAction.DONE'; |
| 51 default: |
| 52 return null; |
| 49 } | 53 } |
| 50 } | 54 } |
| 51 | 55 |
| 52 int toJson() => value; | 56 int toJson() => value; |
| 53 } | 57 } |
| 58 |
| 59 mojom_types.MojomEnum _keyboard_SubmitAction__() { |
| 60 return new mojom_types.MojomEnum() |
| 61 ..declData = (new mojom_types.DeclarationData()..shortName = "SubmitAction") |
| 62 ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue() |
| 63 ..declData = (new mojom_types.DeclarationData()..shortName = "DONE") |
| 64 ..enumTypeKey = '_keyboard_SubmitAction__' |
| 65 ..intValue = 0,]; |
| 66 } |
| 54 class KeyboardType extends bindings.MojoEnum { | 67 class KeyboardType extends bindings.MojoEnum { |
| 55 static const TEXT = const KeyboardType._(0); | 68 static const TEXT = const KeyboardType._(0); |
| 56 static const NUMBER = const KeyboardType._(1); | 69 static const NUMBER = const KeyboardType._(1); |
| 57 static const PHONE = const KeyboardType._(2); | 70 static const PHONE = const KeyboardType._(2); |
| 58 static const DATETIME = const KeyboardType._(3); | 71 static const DATETIME = const KeyboardType._(3); |
| 59 | 72 |
| 60 const KeyboardType._(int v) : super(v); | 73 const KeyboardType._(int v) : super(v); |
| 61 | 74 |
| 62 static const Map<String, KeyboardType> valuesMap = const { | 75 static const Map<String, KeyboardType> valuesMap = const { |
| 63 "TEXT": TEXT, | 76 "TEXT": TEXT, |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 String toString() { | 115 String toString() { |
| 103 switch(this) { | 116 switch(this) { |
| 104 case TEXT: | 117 case TEXT: |
| 105 return 'KeyboardType.TEXT'; | 118 return 'KeyboardType.TEXT'; |
| 106 case NUMBER: | 119 case NUMBER: |
| 107 return 'KeyboardType.NUMBER'; | 120 return 'KeyboardType.NUMBER'; |
| 108 case PHONE: | 121 case PHONE: |
| 109 return 'KeyboardType.PHONE'; | 122 return 'KeyboardType.PHONE'; |
| 110 case DATETIME: | 123 case DATETIME: |
| 111 return 'KeyboardType.DATETIME'; | 124 return 'KeyboardType.DATETIME'; |
| 125 default: |
| 126 return null; |
| 112 } | 127 } |
| 113 } | 128 } |
| 114 | 129 |
| 115 int toJson() => value; | 130 int toJson() => value; |
| 116 } | 131 } |
| 117 | 132 |
| 133 mojom_types.MojomEnum _keyboard_KeyboardType__() { |
| 134 return new mojom_types.MojomEnum() |
| 135 ..declData = (new mojom_types.DeclarationData()..shortName = "KeyboardType") |
| 136 ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue() |
| 137 ..declData = (new mojom_types.DeclarationData()..shortName = "TEXT") |
| 138 ..enumTypeKey = '_keyboard_KeyboardType__' |
| 139 ..intValue = 0,new mojom_types.EnumValue() |
| 140 ..declData = (new mojom_types.DeclarationData()..shortName = "NUMBER") |
| 141 ..enumTypeKey = '_keyboard_KeyboardType__' |
| 142 ..intValue = 1,new mojom_types.EnumValue() |
| 143 ..declData = (new mojom_types.DeclarationData()..shortName = "PHONE") |
| 144 ..enumTypeKey = '_keyboard_KeyboardType__' |
| 145 ..intValue = 2,new mojom_types.EnumValue() |
| 146 ..declData = (new mojom_types.DeclarationData()..shortName = "DATETIME") |
| 147 ..enumTypeKey = '_keyboard_KeyboardType__' |
| 148 ..intValue = 3,]; |
| 149 } |
| 150 |
| 118 | 151 |
| 119 | 152 |
| 120 class CompletionData extends bindings.Struct { | 153 class CompletionData extends bindings.Struct { |
| 121 static const List<bindings.StructDataHeader> kVersions = const [ | 154 static const List<bindings.StructDataHeader> kVersions = const [ |
| 122 const bindings.StructDataHeader(40, 0) | 155 const bindings.StructDataHeader(40, 0) |
| 123 ]; | 156 ]; |
| 124 int id = 0; | 157 int id = 0; |
| 125 int position = 0; | 158 int position = 0; |
| 126 String text = null; | 159 String text = null; |
| 127 String label = null; | 160 String label = null; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 Map toJson() { | 236 Map toJson() { |
| 204 Map map = new Map(); | 237 Map map = new Map(); |
| 205 map["id"] = id; | 238 map["id"] = id; |
| 206 map["position"] = position; | 239 map["position"] = position; |
| 207 map["text"] = text; | 240 map["text"] = text; |
| 208 map["label"] = label; | 241 map["label"] = label; |
| 209 return map; | 242 return map; |
| 210 } | 243 } |
| 211 } | 244 } |
| 212 | 245 |
| 246 mojom_types.MojomStruct _keyboard_CompletionData__() { |
| 247 return new mojom_types.MojomStruct() |
| 248 ..declData = (new mojom_types.DeclarationData()..shortName = 'CompletionData
') |
| 249 ..fields = <mojom_types.StructField>[ |
| 250 new mojom_types.StructField() |
| 251 ..declData = (new mojom_types.DeclarationData()..shortName = 'Id') |
| 252 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN
T64), |
| 253 |
| 254 new mojom_types.StructField() |
| 255 ..declData = (new mojom_types.DeclarationData()..shortName = 'Position') |
| 256 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN
T32), |
| 257 |
| 258 new mojom_types.StructField() |
| 259 ..declData = (new mojom_types.DeclarationData()..shortName = 'Text') |
| 260 ..type = (new mojom_types.Type() |
| 261 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 262 |
| 263 new mojom_types.StructField() |
| 264 ..declData = (new mojom_types.DeclarationData()..shortName = 'Label') |
| 265 ..type = (new mojom_types.Type() |
| 266 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 267 ]; |
| 268 } |
| 269 |
| 213 | 270 |
| 214 class CorrectionData extends bindings.Struct { | 271 class CorrectionData extends bindings.Struct { |
| 215 static const List<bindings.StructDataHeader> kVersions = const [ | 272 static const List<bindings.StructDataHeader> kVersions = const [ |
| 216 const bindings.StructDataHeader(32, 0) | 273 const bindings.StructDataHeader(32, 0) |
| 217 ]; | 274 ]; |
| 218 int offset = 0; | 275 int offset = 0; |
| 219 String oldText = null; | 276 String oldText = null; |
| 220 String newText = null; | 277 String newText = null; |
| 221 | 278 |
| 222 CorrectionData() : super(kVersions.last.size); | 279 CorrectionData() : super(kVersions.last.size); |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 | 345 |
| 289 Map toJson() { | 346 Map toJson() { |
| 290 Map map = new Map(); | 347 Map map = new Map(); |
| 291 map["offset"] = offset; | 348 map["offset"] = offset; |
| 292 map["oldText"] = oldText; | 349 map["oldText"] = oldText; |
| 293 map["newText"] = newText; | 350 map["newText"] = newText; |
| 294 return map; | 351 return map; |
| 295 } | 352 } |
| 296 } | 353 } |
| 297 | 354 |
| 355 mojom_types.MojomStruct _keyboard_CorrectionData__() { |
| 356 return new mojom_types.MojomStruct() |
| 357 ..declData = (new mojom_types.DeclarationData()..shortName = 'CorrectionData
') |
| 358 ..fields = <mojom_types.StructField>[ |
| 359 new mojom_types.StructField() |
| 360 ..declData = (new mojom_types.DeclarationData()..shortName = 'Offset') |
| 361 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN
T32), |
| 362 |
| 363 new mojom_types.StructField() |
| 364 ..declData = (new mojom_types.DeclarationData()..shortName = 'OldText') |
| 365 ..type = (new mojom_types.Type() |
| 366 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 367 |
| 368 new mojom_types.StructField() |
| 369 ..declData = (new mojom_types.DeclarationData()..shortName = 'NewText') |
| 370 ..type = (new mojom_types.Type() |
| 371 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 372 ]; |
| 373 } |
| 374 |
| 298 | 375 |
| 299 class KeyboardClientCommitCompletionParams extends bindings.Struct { | 376 class KeyboardClientCommitCompletionParams extends bindings.Struct { |
| 300 static const List<bindings.StructDataHeader> kVersions = const [ | 377 static const List<bindings.StructDataHeader> kVersions = const [ |
| 301 const bindings.StructDataHeader(16, 0) | 378 const bindings.StructDataHeader(16, 0) |
| 302 ]; | 379 ]; |
| 303 CompletionData completion = null; | 380 CompletionData completion = null; |
| 304 | 381 |
| 305 KeyboardClientCommitCompletionParams() : super(kVersions.last.size); | 382 KeyboardClientCommitCompletionParams() : super(kVersions.last.size); |
| 306 | 383 |
| 307 static KeyboardClientCommitCompletionParams deserialize(bindings.Message messa
ge) { | 384 static KeyboardClientCommitCompletionParams deserialize(bindings.Message messa
ge) { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 "completion: $completion" ")"; | 433 "completion: $completion" ")"; |
| 357 } | 434 } |
| 358 | 435 |
| 359 Map toJson() { | 436 Map toJson() { |
| 360 Map map = new Map(); | 437 Map map = new Map(); |
| 361 map["completion"] = completion; | 438 map["completion"] = completion; |
| 362 return map; | 439 return map; |
| 363 } | 440 } |
| 364 } | 441 } |
| 365 | 442 |
| 443 mojom_types.MojomStruct _keyboard_KeyboardClient_CommitCompletion_Params__() { |
| 444 return new mojom_types.MojomStruct() |
| 445 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardClient
CommitCompletionParams') |
| 446 ..fields = <mojom_types.StructField>[ |
| 447 new mojom_types.StructField() |
| 448 ..declData = (new mojom_types.DeclarationData()..shortName = 'Completion
') |
| 449 ..type = (new mojom_types.Type() |
| 450 ..typeReference = (new mojom_types.TypeReference() |
| 451 |
| 452 ..identifier = '_keyboard_CompletionData__' |
| 453 ..typeKey = '_keyboard_CompletionData__' |
| 454 )), |
| 455 ]; |
| 456 } |
| 457 |
| 366 | 458 |
| 367 class KeyboardClientCommitCorrectionParams extends bindings.Struct { | 459 class KeyboardClientCommitCorrectionParams extends bindings.Struct { |
| 368 static const List<bindings.StructDataHeader> kVersions = const [ | 460 static const List<bindings.StructDataHeader> kVersions = const [ |
| 369 const bindings.StructDataHeader(16, 0) | 461 const bindings.StructDataHeader(16, 0) |
| 370 ]; | 462 ]; |
| 371 CorrectionData correction = null; | 463 CorrectionData correction = null; |
| 372 | 464 |
| 373 KeyboardClientCommitCorrectionParams() : super(kVersions.last.size); | 465 KeyboardClientCommitCorrectionParams() : super(kVersions.last.size); |
| 374 | 466 |
| 375 static KeyboardClientCommitCorrectionParams deserialize(bindings.Message messa
ge) { | 467 static KeyboardClientCommitCorrectionParams deserialize(bindings.Message messa
ge) { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 "correction: $correction" ")"; | 516 "correction: $correction" ")"; |
| 425 } | 517 } |
| 426 | 518 |
| 427 Map toJson() { | 519 Map toJson() { |
| 428 Map map = new Map(); | 520 Map map = new Map(); |
| 429 map["correction"] = correction; | 521 map["correction"] = correction; |
| 430 return map; | 522 return map; |
| 431 } | 523 } |
| 432 } | 524 } |
| 433 | 525 |
| 526 mojom_types.MojomStruct _keyboard_KeyboardClient_CommitCorrection_Params__() { |
| 527 return new mojom_types.MojomStruct() |
| 528 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardClient
CommitCorrectionParams') |
| 529 ..fields = <mojom_types.StructField>[ |
| 530 new mojom_types.StructField() |
| 531 ..declData = (new mojom_types.DeclarationData()..shortName = 'Correction
') |
| 532 ..type = (new mojom_types.Type() |
| 533 ..typeReference = (new mojom_types.TypeReference() |
| 534 |
| 535 ..identifier = '_keyboard_CorrectionData__' |
| 536 ..typeKey = '_keyboard_CorrectionData__' |
| 537 )), |
| 538 ]; |
| 539 } |
| 540 |
| 434 | 541 |
| 435 class KeyboardClientCommitTextParams extends bindings.Struct { | 542 class KeyboardClientCommitTextParams extends bindings.Struct { |
| 436 static const List<bindings.StructDataHeader> kVersions = const [ | 543 static const List<bindings.StructDataHeader> kVersions = const [ |
| 437 const bindings.StructDataHeader(24, 0) | 544 const bindings.StructDataHeader(24, 0) |
| 438 ]; | 545 ]; |
| 439 String text = null; | 546 String text = null; |
| 440 int newCursorPosition = 0; | 547 int newCursorPosition = 0; |
| 441 | 548 |
| 442 KeyboardClientCommitTextParams() : super(kVersions.last.size); | 549 KeyboardClientCommitTextParams() : super(kVersions.last.size); |
| 443 | 550 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 } | 607 } |
| 501 | 608 |
| 502 Map toJson() { | 609 Map toJson() { |
| 503 Map map = new Map(); | 610 Map map = new Map(); |
| 504 map["text"] = text; | 611 map["text"] = text; |
| 505 map["newCursorPosition"] = newCursorPosition; | 612 map["newCursorPosition"] = newCursorPosition; |
| 506 return map; | 613 return map; |
| 507 } | 614 } |
| 508 } | 615 } |
| 509 | 616 |
| 617 mojom_types.MojomStruct _keyboard_KeyboardClient_CommitText_Params__() { |
| 618 return new mojom_types.MojomStruct() |
| 619 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardClient
CommitTextParams') |
| 620 ..fields = <mojom_types.StructField>[ |
| 621 new mojom_types.StructField() |
| 622 ..declData = (new mojom_types.DeclarationData()..shortName = 'Text') |
| 623 ..type = (new mojom_types.Type() |
| 624 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 625 |
| 626 new mojom_types.StructField() |
| 627 ..declData = (new mojom_types.DeclarationData()..shortName = 'NewCursorP
osition') |
| 628 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN
T32), |
| 629 ]; |
| 630 } |
| 631 |
| 510 | 632 |
| 511 class KeyboardClientDeleteSurroundingTextParams extends bindings.Struct { | 633 class KeyboardClientDeleteSurroundingTextParams extends bindings.Struct { |
| 512 static const List<bindings.StructDataHeader> kVersions = const [ | 634 static const List<bindings.StructDataHeader> kVersions = const [ |
| 513 const bindings.StructDataHeader(16, 0) | 635 const bindings.StructDataHeader(16, 0) |
| 514 ]; | 636 ]; |
| 515 int beforeLength = 0; | 637 int beforeLength = 0; |
| 516 int afterLength = 0; | 638 int afterLength = 0; |
| 517 | 639 |
| 518 KeyboardClientDeleteSurroundingTextParams() : super(kVersions.last.size); | 640 KeyboardClientDeleteSurroundingTextParams() : super(kVersions.last.size); |
| 519 | 641 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 } | 698 } |
| 577 | 699 |
| 578 Map toJson() { | 700 Map toJson() { |
| 579 Map map = new Map(); | 701 Map map = new Map(); |
| 580 map["beforeLength"] = beforeLength; | 702 map["beforeLength"] = beforeLength; |
| 581 map["afterLength"] = afterLength; | 703 map["afterLength"] = afterLength; |
| 582 return map; | 704 return map; |
| 583 } | 705 } |
| 584 } | 706 } |
| 585 | 707 |
| 708 mojom_types.MojomStruct _keyboard_KeyboardClient_DeleteSurroundingText_Params__(
) { |
| 709 return new mojom_types.MojomStruct() |
| 710 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardClient
DeleteSurroundingTextParams') |
| 711 ..fields = <mojom_types.StructField>[ |
| 712 new mojom_types.StructField() |
| 713 ..declData = (new mojom_types.DeclarationData()..shortName = 'BeforeLeng
th') |
| 714 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN
T32), |
| 715 |
| 716 new mojom_types.StructField() |
| 717 ..declData = (new mojom_types.DeclarationData()..shortName = 'AfterLengt
h') |
| 718 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN
T32), |
| 719 ]; |
| 720 } |
| 721 |
| 586 | 722 |
| 587 class KeyboardClientSetComposingRegionParams extends bindings.Struct { | 723 class KeyboardClientSetComposingRegionParams extends bindings.Struct { |
| 588 static const List<bindings.StructDataHeader> kVersions = const [ | 724 static const List<bindings.StructDataHeader> kVersions = const [ |
| 589 const bindings.StructDataHeader(16, 0) | 725 const bindings.StructDataHeader(16, 0) |
| 590 ]; | 726 ]; |
| 591 int start = 0; | 727 int start = 0; |
| 592 int end = 0; | 728 int end = 0; |
| 593 | 729 |
| 594 KeyboardClientSetComposingRegionParams() : super(kVersions.last.size); | 730 KeyboardClientSetComposingRegionParams() : super(kVersions.last.size); |
| 595 | 731 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 } | 788 } |
| 653 | 789 |
| 654 Map toJson() { | 790 Map toJson() { |
| 655 Map map = new Map(); | 791 Map map = new Map(); |
| 656 map["start"] = start; | 792 map["start"] = start; |
| 657 map["end"] = end; | 793 map["end"] = end; |
| 658 return map; | 794 return map; |
| 659 } | 795 } |
| 660 } | 796 } |
| 661 | 797 |
| 798 mojom_types.MojomStruct _keyboard_KeyboardClient_SetComposingRegion_Params__() { |
| 799 return new mojom_types.MojomStruct() |
| 800 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardClient
SetComposingRegionParams') |
| 801 ..fields = <mojom_types.StructField>[ |
| 802 new mojom_types.StructField() |
| 803 ..declData = (new mojom_types.DeclarationData()..shortName = 'Start') |
| 804 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN
T32), |
| 805 |
| 806 new mojom_types.StructField() |
| 807 ..declData = (new mojom_types.DeclarationData()..shortName = 'End') |
| 808 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN
T32), |
| 809 ]; |
| 810 } |
| 811 |
| 662 | 812 |
| 663 class KeyboardClientSetComposingTextParams extends bindings.Struct { | 813 class KeyboardClientSetComposingTextParams extends bindings.Struct { |
| 664 static const List<bindings.StructDataHeader> kVersions = const [ | 814 static const List<bindings.StructDataHeader> kVersions = const [ |
| 665 const bindings.StructDataHeader(24, 0) | 815 const bindings.StructDataHeader(24, 0) |
| 666 ]; | 816 ]; |
| 667 String text = null; | 817 String text = null; |
| 668 int newCursorPosition = 0; | 818 int newCursorPosition = 0; |
| 669 | 819 |
| 670 KeyboardClientSetComposingTextParams() : super(kVersions.last.size); | 820 KeyboardClientSetComposingTextParams() : super(kVersions.last.size); |
| 671 | 821 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 728 } | 878 } |
| 729 | 879 |
| 730 Map toJson() { | 880 Map toJson() { |
| 731 Map map = new Map(); | 881 Map map = new Map(); |
| 732 map["text"] = text; | 882 map["text"] = text; |
| 733 map["newCursorPosition"] = newCursorPosition; | 883 map["newCursorPosition"] = newCursorPosition; |
| 734 return map; | 884 return map; |
| 735 } | 885 } |
| 736 } | 886 } |
| 737 | 887 |
| 888 mojom_types.MojomStruct _keyboard_KeyboardClient_SetComposingText_Params__() { |
| 889 return new mojom_types.MojomStruct() |
| 890 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardClient
SetComposingTextParams') |
| 891 ..fields = <mojom_types.StructField>[ |
| 892 new mojom_types.StructField() |
| 893 ..declData = (new mojom_types.DeclarationData()..shortName = 'Text') |
| 894 ..type = (new mojom_types.Type() |
| 895 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 896 |
| 897 new mojom_types.StructField() |
| 898 ..declData = (new mojom_types.DeclarationData()..shortName = 'NewCursorP
osition') |
| 899 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN
T32), |
| 900 ]; |
| 901 } |
| 902 |
| 738 | 903 |
| 739 class KeyboardClientSetSelectionParams extends bindings.Struct { | 904 class KeyboardClientSetSelectionParams extends bindings.Struct { |
| 740 static const List<bindings.StructDataHeader> kVersions = const [ | 905 static const List<bindings.StructDataHeader> kVersions = const [ |
| 741 const bindings.StructDataHeader(16, 0) | 906 const bindings.StructDataHeader(16, 0) |
| 742 ]; | 907 ]; |
| 743 int start = 0; | 908 int start = 0; |
| 744 int end = 0; | 909 int end = 0; |
| 745 | 910 |
| 746 KeyboardClientSetSelectionParams() : super(kVersions.last.size); | 911 KeyboardClientSetSelectionParams() : super(kVersions.last.size); |
| 747 | 912 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 } | 969 } |
| 805 | 970 |
| 806 Map toJson() { | 971 Map toJson() { |
| 807 Map map = new Map(); | 972 Map map = new Map(); |
| 808 map["start"] = start; | 973 map["start"] = start; |
| 809 map["end"] = end; | 974 map["end"] = end; |
| 810 return map; | 975 return map; |
| 811 } | 976 } |
| 812 } | 977 } |
| 813 | 978 |
| 979 mojom_types.MojomStruct _keyboard_KeyboardClient_SetSelection_Params__() { |
| 980 return new mojom_types.MojomStruct() |
| 981 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardClient
SetSelectionParams') |
| 982 ..fields = <mojom_types.StructField>[ |
| 983 new mojom_types.StructField() |
| 984 ..declData = (new mojom_types.DeclarationData()..shortName = 'Start') |
| 985 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN
T32), |
| 986 |
| 987 new mojom_types.StructField() |
| 988 ..declData = (new mojom_types.DeclarationData()..shortName = 'End') |
| 989 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN
T32), |
| 990 ]; |
| 991 } |
| 992 |
| 814 | 993 |
| 815 class KeyboardClientSubmitParams extends bindings.Struct { | 994 class KeyboardClientSubmitParams extends bindings.Struct { |
| 816 static const List<bindings.StructDataHeader> kVersions = const [ | 995 static const List<bindings.StructDataHeader> kVersions = const [ |
| 817 const bindings.StructDataHeader(16, 0) | 996 const bindings.StructDataHeader(16, 0) |
| 818 ]; | 997 ]; |
| 819 SubmitAction action = null; | 998 SubmitAction action = null; |
| 820 | 999 |
| 821 KeyboardClientSubmitParams() : super(kVersions.last.size); | 1000 KeyboardClientSubmitParams() : super(kVersions.last.size); |
| 822 | 1001 |
| 823 static KeyboardClientSubmitParams deserialize(bindings.Message message) { | 1002 static KeyboardClientSubmitParams deserialize(bindings.Message message) { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 "action: $action" ")"; | 1054 "action: $action" ")"; |
| 876 } | 1055 } |
| 877 | 1056 |
| 878 Map toJson() { | 1057 Map toJson() { |
| 879 Map map = new Map(); | 1058 Map map = new Map(); |
| 880 map["action"] = action; | 1059 map["action"] = action; |
| 881 return map; | 1060 return map; |
| 882 } | 1061 } |
| 883 } | 1062 } |
| 884 | 1063 |
| 1064 mojom_types.MojomStruct _keyboard_KeyboardClient_Submit_Params__() { |
| 1065 return new mojom_types.MojomStruct() |
| 1066 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardClient
SubmitParams') |
| 1067 ..fields = <mojom_types.StructField>[ |
| 1068 new mojom_types.StructField() |
| 1069 ..declData = (new mojom_types.DeclarationData()..shortName = 'Action') |
| 1070 ..type = (new mojom_types.Type() |
| 1071 ..typeReference = (new mojom_types.TypeReference() |
| 1072 |
| 1073 ..identifier = '_keyboard_SubmitAction__' |
| 1074 ..typeKey = '_keyboard_SubmitAction__' |
| 1075 )), |
| 1076 ]; |
| 1077 } |
| 1078 |
| 885 | 1079 |
| 886 class KeyboardServiceShowParams extends bindings.Struct { | 1080 class KeyboardServiceShowParams extends bindings.Struct { |
| 887 static const List<bindings.StructDataHeader> kVersions = const [ | 1081 static const List<bindings.StructDataHeader> kVersions = const [ |
| 888 const bindings.StructDataHeader(24, 0) | 1082 const bindings.StructDataHeader(24, 0) |
| 889 ]; | 1083 ]; |
| 890 Object client = null; | 1084 Object client = null; |
| 891 KeyboardType type = null; | 1085 KeyboardType type = null; |
| 892 | 1086 |
| 893 KeyboardServiceShowParams() : super(kVersions.last.size); | 1087 KeyboardServiceShowParams() : super(kVersions.last.size); |
| 894 | 1088 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 953 "client: $client" ", " | 1147 "client: $client" ", " |
| 954 "type: $type" ")"; | 1148 "type: $type" ")"; |
| 955 } | 1149 } |
| 956 | 1150 |
| 957 Map toJson() { | 1151 Map toJson() { |
| 958 throw new bindings.MojoCodecError( | 1152 throw new bindings.MojoCodecError( |
| 959 'Object containing handles cannot be encoded to JSON.'); | 1153 'Object containing handles cannot be encoded to JSON.'); |
| 960 } | 1154 } |
| 961 } | 1155 } |
| 962 | 1156 |
| 1157 mojom_types.MojomStruct _keyboard_KeyboardService_Show_Params__() { |
| 1158 return new mojom_types.MojomStruct() |
| 1159 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardServic
eShowParams') |
| 1160 ..fields = <mojom_types.StructField>[ |
| 1161 new mojom_types.StructField() |
| 1162 ..declData = (new mojom_types.DeclarationData()..shortName = 'Client') |
| 1163 ..type = (new mojom_types.Type() |
| 1164 ..typeReference = (new mojom_types.TypeReference() |
| 1165 |
| 1166 ..identifier = '_keyboard_KeyboardClient__' |
| 1167 ..typeKey = '_keyboard_KeyboardClient__' |
| 1168 )), |
| 1169 |
| 1170 new mojom_types.StructField() |
| 1171 ..declData = (new mojom_types.DeclarationData()..shortName = 'Type') |
| 1172 ..type = (new mojom_types.Type() |
| 1173 ..typeReference = (new mojom_types.TypeReference() |
| 1174 |
| 1175 ..identifier = '_keyboard_KeyboardType__' |
| 1176 ..typeKey = '_keyboard_KeyboardType__' |
| 1177 )), |
| 1178 ]; |
| 1179 } |
| 1180 |
| 963 | 1181 |
| 964 class KeyboardServiceShowByRequestParams extends bindings.Struct { | 1182 class KeyboardServiceShowByRequestParams extends bindings.Struct { |
| 965 static const List<bindings.StructDataHeader> kVersions = const [ | 1183 static const List<bindings.StructDataHeader> kVersions = const [ |
| 966 const bindings.StructDataHeader(8, 0) | 1184 const bindings.StructDataHeader(8, 0) |
| 967 ]; | 1185 ]; |
| 968 | 1186 |
| 969 KeyboardServiceShowByRequestParams() : super(kVersions.last.size); | 1187 KeyboardServiceShowByRequestParams() : super(kVersions.last.size); |
| 970 | 1188 |
| 971 static KeyboardServiceShowByRequestParams deserialize(bindings.Message message
) { | 1189 static KeyboardServiceShowByRequestParams deserialize(bindings.Message message
) { |
| 972 var decoder = new bindings.Decoder(message); | 1190 var decoder = new bindings.Decoder(message); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1011 String toString() { | 1229 String toString() { |
| 1012 return "KeyboardServiceShowByRequestParams("")"; | 1230 return "KeyboardServiceShowByRequestParams("")"; |
| 1013 } | 1231 } |
| 1014 | 1232 |
| 1015 Map toJson() { | 1233 Map toJson() { |
| 1016 Map map = new Map(); | 1234 Map map = new Map(); |
| 1017 return map; | 1235 return map; |
| 1018 } | 1236 } |
| 1019 } | 1237 } |
| 1020 | 1238 |
| 1239 mojom_types.MojomStruct _keyboard_KeyboardService_ShowByRequest_Params__() { |
| 1240 return new mojom_types.MojomStruct() |
| 1241 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardServic
eShowByRequestParams') |
| 1242 ..fields = <mojom_types.StructField>[]; |
| 1243 } |
| 1244 |
| 1021 | 1245 |
| 1022 class KeyboardServiceHideParams extends bindings.Struct { | 1246 class KeyboardServiceHideParams extends bindings.Struct { |
| 1023 static const List<bindings.StructDataHeader> kVersions = const [ | 1247 static const List<bindings.StructDataHeader> kVersions = const [ |
| 1024 const bindings.StructDataHeader(8, 0) | 1248 const bindings.StructDataHeader(8, 0) |
| 1025 ]; | 1249 ]; |
| 1026 | 1250 |
| 1027 KeyboardServiceHideParams() : super(kVersions.last.size); | 1251 KeyboardServiceHideParams() : super(kVersions.last.size); |
| 1028 | 1252 |
| 1029 static KeyboardServiceHideParams deserialize(bindings.Message message) { | 1253 static KeyboardServiceHideParams deserialize(bindings.Message message) { |
| 1030 var decoder = new bindings.Decoder(message); | 1254 var decoder = new bindings.Decoder(message); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1069 String toString() { | 1293 String toString() { |
| 1070 return "KeyboardServiceHideParams("")"; | 1294 return "KeyboardServiceHideParams("")"; |
| 1071 } | 1295 } |
| 1072 | 1296 |
| 1073 Map toJson() { | 1297 Map toJson() { |
| 1074 Map map = new Map(); | 1298 Map map = new Map(); |
| 1075 return map; | 1299 return map; |
| 1076 } | 1300 } |
| 1077 } | 1301 } |
| 1078 | 1302 |
| 1303 mojom_types.MojomStruct _keyboard_KeyboardService_Hide_Params__() { |
| 1304 return new mojom_types.MojomStruct() |
| 1305 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardServic
eHideParams') |
| 1306 ..fields = <mojom_types.StructField>[]; |
| 1307 } |
| 1308 |
| 1079 | 1309 |
| 1080 class KeyboardServiceSetTextParams extends bindings.Struct { | 1310 class KeyboardServiceSetTextParams extends bindings.Struct { |
| 1081 static const List<bindings.StructDataHeader> kVersions = const [ | 1311 static const List<bindings.StructDataHeader> kVersions = const [ |
| 1082 const bindings.StructDataHeader(16, 0) | 1312 const bindings.StructDataHeader(16, 0) |
| 1083 ]; | 1313 ]; |
| 1084 String text = null; | 1314 String text = null; |
| 1085 | 1315 |
| 1086 KeyboardServiceSetTextParams() : super(kVersions.last.size); | 1316 KeyboardServiceSetTextParams() : super(kVersions.last.size); |
| 1087 | 1317 |
| 1088 static KeyboardServiceSetTextParams deserialize(bindings.Message message) { | 1318 static KeyboardServiceSetTextParams deserialize(bindings.Message message) { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1136 "text: $text" ")"; | 1366 "text: $text" ")"; |
| 1137 } | 1367 } |
| 1138 | 1368 |
| 1139 Map toJson() { | 1369 Map toJson() { |
| 1140 Map map = new Map(); | 1370 Map map = new Map(); |
| 1141 map["text"] = text; | 1371 map["text"] = text; |
| 1142 return map; | 1372 return map; |
| 1143 } | 1373 } |
| 1144 } | 1374 } |
| 1145 | 1375 |
| 1376 mojom_types.MojomStruct _keyboard_KeyboardService_SetText_Params__() { |
| 1377 return new mojom_types.MojomStruct() |
| 1378 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardServic
eSetTextParams') |
| 1379 ..fields = <mojom_types.StructField>[ |
| 1380 new mojom_types.StructField() |
| 1381 ..declData = (new mojom_types.DeclarationData()..shortName = 'Text') |
| 1382 ..type = (new mojom_types.Type() |
| 1383 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 1384 ]; |
| 1385 } |
| 1386 |
| 1146 | 1387 |
| 1147 class KeyboardServiceSetSelectionParams extends bindings.Struct { | 1388 class KeyboardServiceSetSelectionParams extends bindings.Struct { |
| 1148 static const List<bindings.StructDataHeader> kVersions = const [ | 1389 static const List<bindings.StructDataHeader> kVersions = const [ |
| 1149 const bindings.StructDataHeader(16, 0) | 1390 const bindings.StructDataHeader(16, 0) |
| 1150 ]; | 1391 ]; |
| 1151 int start = 0; | 1392 int start = 0; |
| 1152 int end = 0; | 1393 int end = 0; |
| 1153 | 1394 |
| 1154 KeyboardServiceSetSelectionParams() : super(kVersions.last.size); | 1395 KeyboardServiceSetSelectionParams() : super(kVersions.last.size); |
| 1155 | 1396 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1212 } | 1453 } |
| 1213 | 1454 |
| 1214 Map toJson() { | 1455 Map toJson() { |
| 1215 Map map = new Map(); | 1456 Map map = new Map(); |
| 1216 map["start"] = start; | 1457 map["start"] = start; |
| 1217 map["end"] = end; | 1458 map["end"] = end; |
| 1218 return map; | 1459 return map; |
| 1219 } | 1460 } |
| 1220 } | 1461 } |
| 1221 | 1462 |
| 1463 mojom_types.MojomStruct _keyboard_KeyboardService_SetSelection_Params__() { |
| 1464 return new mojom_types.MojomStruct() |
| 1465 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardServic
eSetSelectionParams') |
| 1466 ..fields = <mojom_types.StructField>[ |
| 1467 new mojom_types.StructField() |
| 1468 ..declData = (new mojom_types.DeclarationData()..shortName = 'Start') |
| 1469 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN
T32), |
| 1470 |
| 1471 new mojom_types.StructField() |
| 1472 ..declData = (new mojom_types.DeclarationData()..shortName = 'End') |
| 1473 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN
T32), |
| 1474 ]; |
| 1475 } |
| 1476 |
| 1222 | 1477 |
| 1223 class KeyboardServiceFactoryCreateKeyboardServiceParams extends bindings.Struct
{ | 1478 class KeyboardServiceFactoryCreateKeyboardServiceParams extends bindings.Struct
{ |
| 1224 static const List<bindings.StructDataHeader> kVersions = const [ | 1479 static const List<bindings.StructDataHeader> kVersions = const [ |
| 1225 const bindings.StructDataHeader(16, 0) | 1480 const bindings.StructDataHeader(16, 0) |
| 1226 ]; | 1481 ]; |
| 1227 Object keyEventDispatcher = null; | 1482 Object keyEventDispatcher = null; |
| 1228 Object serviceRequest = null; | 1483 Object serviceRequest = null; |
| 1229 | 1484 |
| 1230 KeyboardServiceFactoryCreateKeyboardServiceParams() : super(kVersions.last.siz
e); | 1485 KeyboardServiceFactoryCreateKeyboardServiceParams() : super(kVersions.last.siz
e); |
| 1231 | 1486 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1286 "keyEventDispatcher: $keyEventDispatcher" ", " | 1541 "keyEventDispatcher: $keyEventDispatcher" ", " |
| 1287 "serviceRequest: $serviceRequest" ")"; | 1542 "serviceRequest: $serviceRequest" ")"; |
| 1288 } | 1543 } |
| 1289 | 1544 |
| 1290 Map toJson() { | 1545 Map toJson() { |
| 1291 throw new bindings.MojoCodecError( | 1546 throw new bindings.MojoCodecError( |
| 1292 'Object containing handles cannot be encoded to JSON.'); | 1547 'Object containing handles cannot be encoded to JSON.'); |
| 1293 } | 1548 } |
| 1294 } | 1549 } |
| 1295 | 1550 |
| 1551 mojom_types.MojomStruct _keyboard_KeyboardServiceFactory_CreateKeyboardService_P
arams__() { |
| 1552 return new mojom_types.MojomStruct() |
| 1553 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardServic
eFactoryCreateKeyboardServiceParams') |
| 1554 ..fields = <mojom_types.StructField>[ |
| 1555 new mojom_types.StructField() |
| 1556 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyEventDi
spatcher') |
| 1557 ..type = (new mojom_types.Type() |
| 1558 ..typeReference = (new mojom_types.TypeReference() |
| 1559 |
| 1560 ..isInterfaceRequest = true |
| 1561 ..identifier = '_native_viewport_NativeViewportEventDispatcher__' |
| 1562 ..typeKey = '_native_viewport_NativeViewportEventDispatcher__' |
| 1563 )), |
| 1564 |
| 1565 new mojom_types.StructField() |
| 1566 ..declData = (new mojom_types.DeclarationData()..shortName = 'ServiceReq
uest') |
| 1567 ..type = (new mojom_types.Type() |
| 1568 ..typeReference = (new mojom_types.TypeReference() |
| 1569 |
| 1570 ..isInterfaceRequest = true |
| 1571 ..identifier = '_keyboard_KeyboardService__' |
| 1572 ..typeKey = '_keyboard_KeyboardService__' |
| 1573 )), |
| 1574 ]; |
| 1575 } |
| 1576 |
| 1577 |
| 1296 const int kKeyboardClient_commitCompletion_name = 0; | 1578 const int kKeyboardClient_commitCompletion_name = 0; |
| 1297 const int kKeyboardClient_commitCorrection_name = 1; | 1579 const int kKeyboardClient_commitCorrection_name = 1; |
| 1298 const int kKeyboardClient_commitText_name = 2; | 1580 const int kKeyboardClient_commitText_name = 2; |
| 1299 const int kKeyboardClient_deleteSurroundingText_name = 3; | 1581 const int kKeyboardClient_deleteSurroundingText_name = 3; |
| 1300 const int kKeyboardClient_setComposingRegion_name = 4; | 1582 const int kKeyboardClient_setComposingRegion_name = 4; |
| 1301 const int kKeyboardClient_setComposingText_name = 5; | 1583 const int kKeyboardClient_setComposingText_name = 5; |
| 1302 const int kKeyboardClient_setSelection_name = 6; | 1584 const int kKeyboardClient_setSelection_name = 6; |
| 1303 const int kKeyboardClient_submit_name = 7; | 1585 const int kKeyboardClient_submit_name = 7; |
| 1304 | 1586 |
| 1305 const String KeyboardClientName = | 1587 const String KeyboardClientName = |
| 1306 'keyboard::KeyboardClient'; | 1588 'keyboard::KeyboardClient'; |
| 1307 | 1589 |
| 1590 mojom_types.MojomInterface _keyboard_KeyboardClient__() { |
| 1591 return new mojom_types.MojomInterface() |
| 1592 ..declData = (new mojom_types.DeclarationData()..shortName = "KeyboardClient
") |
| 1593 ..interfaceName = "KeyboardClient" |
| 1594 ..methods = <int, mojom_types.MojomMethod>{ |
| 1595 kKeyboardClient_commitCompletion_name: new mojom_types.MojomMethod() |
| 1596 ..declData = (new mojom_types.DeclarationData()..shortName = "CommitComp
letion") |
| 1597 ..ordinal = kKeyboardClient_commitCompletion_name..parameters = _keyboar
d_KeyboardClient_CommitCompletion_Params__(),kKeyboardClient_commitCorrection_na
me: new mojom_types.MojomMethod() |
| 1598 ..declData = (new mojom_types.DeclarationData()..shortName = "CommitCorr
ection") |
| 1599 ..ordinal = kKeyboardClient_commitCorrection_name..parameters = _keyboar
d_KeyboardClient_CommitCorrection_Params__(),kKeyboardClient_commitText_name: ne
w mojom_types.MojomMethod() |
| 1600 ..declData = (new mojom_types.DeclarationData()..shortName = "CommitText
") |
| 1601 ..ordinal = kKeyboardClient_commitText_name..parameters = _keyboard_Keyb
oardClient_CommitText_Params__(),kKeyboardClient_deleteSurroundingText_name: new
mojom_types.MojomMethod() |
| 1602 ..declData = (new mojom_types.DeclarationData()..shortName = "DeleteSurr
oundingText") |
| 1603 ..ordinal = kKeyboardClient_deleteSurroundingText_name..parameters = _ke
yboard_KeyboardClient_DeleteSurroundingText_Params__(),kKeyboardClient_setCompos
ingRegion_name: new mojom_types.MojomMethod() |
| 1604 ..declData = (new mojom_types.DeclarationData()..shortName = "SetComposi
ngRegion") |
| 1605 ..ordinal = kKeyboardClient_setComposingRegion_name..parameters = _keybo
ard_KeyboardClient_SetComposingRegion_Params__(),kKeyboardClient_setComposingTex
t_name: new mojom_types.MojomMethod() |
| 1606 ..declData = (new mojom_types.DeclarationData()..shortName = "SetComposi
ngText") |
| 1607 ..ordinal = kKeyboardClient_setComposingText_name..parameters = _keyboar
d_KeyboardClient_SetComposingText_Params__(),kKeyboardClient_setSelection_name:
new mojom_types.MojomMethod() |
| 1608 ..declData = (new mojom_types.DeclarationData()..shortName = "SetSelecti
on") |
| 1609 ..ordinal = kKeyboardClient_setSelection_name..parameters = _keyboard_Ke
yboardClient_SetSelection_Params__(),kKeyboardClient_submit_name: new mojom_type
s.MojomMethod() |
| 1610 ..declData = (new mojom_types.DeclarationData()..shortName = "Submit") |
| 1611 ..ordinal = kKeyboardClient_submit_name..parameters = _keyboard_Keyboard
Client_Submit_Params__(), |
| 1612 }; |
| 1613 } |
| 1614 |
| 1615 class _KeyboardClientServiceDescription extends service_describer.ServiceDescrip
tion { |
| 1616 // Avoid infinite loop by overriding serviceDescription field. |
| 1617 final service_describer.ServiceDescription serviceDescription = null; |
| 1618 dynamic getTopLevelInterface([Function responseFactory = null]) { |
| 1619 return _keyboard_KeyboardClient__(); |
| 1620 } |
| 1621 dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) { |
| 1622 return getAllMojomTypeDefinitions()[typeKey]; |
| 1623 } |
| 1624 dynamic getAllTypeDefinitions([Function responseFactory = null]) { |
| 1625 return getAllMojomTypeDefinitions(); |
| 1626 } |
| 1627 } |
| 1628 |
| 1308 abstract class KeyboardClient { | 1629 abstract class KeyboardClient { |
| 1309 void commitCompletion(CompletionData completion); | 1630 void commitCompletion(CompletionData completion); |
| 1310 void commitCorrection(CorrectionData correction); | 1631 void commitCorrection(CorrectionData correction); |
| 1311 void commitText(String text, int newCursorPosition); | 1632 void commitText(String text, int newCursorPosition); |
| 1312 void deleteSurroundingText(int beforeLength, int afterLength); | 1633 void deleteSurroundingText(int beforeLength, int afterLength); |
| 1313 void setComposingRegion(int start, int end); | 1634 void setComposingRegion(int start, int end); |
| 1314 void setComposingText(String text, int newCursorPosition); | 1635 void setComposingText(String text, int newCursorPosition); |
| 1315 void setSelection(int start, int end); | 1636 void setSelection(int start, int end); |
| 1316 void submit(SubmitAction action); | 1637 void submit(SubmitAction action); |
| 1317 | 1638 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1328 KeyboardClientProxyImpl.unbound() : super.unbound(); | 1649 KeyboardClientProxyImpl.unbound() : super.unbound(); |
| 1329 | 1650 |
| 1330 static KeyboardClientProxyImpl newFromEndpoint( | 1651 static KeyboardClientProxyImpl newFromEndpoint( |
| 1331 core.MojoMessagePipeEndpoint endpoint) { | 1652 core.MojoMessagePipeEndpoint endpoint) { |
| 1332 assert(endpoint.setDescription("For KeyboardClientProxyImpl")); | 1653 assert(endpoint.setDescription("For KeyboardClientProxyImpl")); |
| 1333 return new KeyboardClientProxyImpl.fromEndpoint(endpoint); | 1654 return new KeyboardClientProxyImpl.fromEndpoint(endpoint); |
| 1334 } | 1655 } |
| 1335 | 1656 |
| 1336 String get name => KeyboardClientName; | 1657 String get name => KeyboardClientName; |
| 1337 | 1658 |
| 1659 service_describer.ServiceDescription get serviceDescription => |
| 1660 new _KeyboardClientServiceDescription(); |
| 1661 |
| 1338 void handleResponse(bindings.ServiceMessage message) { | 1662 void handleResponse(bindings.ServiceMessage message) { |
| 1339 switch (message.header.type) { | 1663 switch (message.header.type) { |
| 1340 default: | 1664 default: |
| 1341 proxyError("Unexpected message type: ${message.header.type}"); | 1665 proxyError("Unexpected message type: ${message.header.type}"); |
| 1342 close(immediate: true); | 1666 close(immediate: true); |
| 1343 break; | 1667 break; |
| 1344 } | 1668 } |
| 1345 } | 1669 } |
| 1346 | 1670 |
| 1347 String toString() { | 1671 String toString() { |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1583 assert(_impl == null); | 1907 assert(_impl == null); |
| 1584 _impl = d; | 1908 _impl = d; |
| 1585 } | 1909 } |
| 1586 | 1910 |
| 1587 String toString() { | 1911 String toString() { |
| 1588 var superString = super.toString(); | 1912 var superString = super.toString(); |
| 1589 return "KeyboardClientStub($superString)"; | 1913 return "KeyboardClientStub($superString)"; |
| 1590 } | 1914 } |
| 1591 | 1915 |
| 1592 int get version => 0; | 1916 int get version => 0; |
| 1917 |
| 1918 service_describer.ServiceDescription get serviceDescription => |
| 1919 new _KeyboardClientServiceDescription(); |
| 1593 } | 1920 } |
| 1594 | 1921 |
| 1595 const int kKeyboardService_show_name = 0; | 1922 const int kKeyboardService_show_name = 0; |
| 1596 const int kKeyboardService_showByRequest_name = 1; | 1923 const int kKeyboardService_showByRequest_name = 1; |
| 1597 const int kKeyboardService_hide_name = 2; | 1924 const int kKeyboardService_hide_name = 2; |
| 1598 const int kKeyboardService_setText_name = 3; | 1925 const int kKeyboardService_setText_name = 3; |
| 1599 const int kKeyboardService_setSelection_name = 4; | 1926 const int kKeyboardService_setSelection_name = 4; |
| 1600 | 1927 |
| 1601 const String KeyboardServiceName = | 1928 const String KeyboardServiceName = |
| 1602 'keyboard::KeyboardService'; | 1929 'keyboard::KeyboardService'; |
| 1603 | 1930 |
| 1931 mojom_types.MojomInterface _keyboard_KeyboardService__() { |
| 1932 return new mojom_types.MojomInterface() |
| 1933 ..declData = (new mojom_types.DeclarationData()..shortName = "KeyboardServic
e") |
| 1934 ..interfaceName = "KeyboardService" |
| 1935 ..methods = <int, mojom_types.MojomMethod>{ |
| 1936 kKeyboardService_show_name: new mojom_types.MojomMethod() |
| 1937 ..declData = (new mojom_types.DeclarationData()..shortName = "Show") |
| 1938 ..ordinal = kKeyboardService_show_name..parameters = _keyboard_KeyboardS
ervice_Show_Params__(),kKeyboardService_showByRequest_name: new mojom_types.Mojo
mMethod() |
| 1939 ..declData = (new mojom_types.DeclarationData()..shortName = "ShowByRequ
est") |
| 1940 ..ordinal = kKeyboardService_showByRequest_name..parameters = _keyboard_
KeyboardService_ShowByRequest_Params__(),kKeyboardService_hide_name: new mojom_t
ypes.MojomMethod() |
| 1941 ..declData = (new mojom_types.DeclarationData()..shortName = "Hide") |
| 1942 ..ordinal = kKeyboardService_hide_name..parameters = _keyboard_KeyboardS
ervice_Hide_Params__(),kKeyboardService_setText_name: new mojom_types.MojomMetho
d() |
| 1943 ..declData = (new mojom_types.DeclarationData()..shortName = "SetText") |
| 1944 ..ordinal = kKeyboardService_setText_name..parameters = _keyboard_Keyboa
rdService_SetText_Params__(),kKeyboardService_setSelection_name: new mojom_types
.MojomMethod() |
| 1945 ..declData = (new mojom_types.DeclarationData()..shortName = "SetSelecti
on") |
| 1946 ..ordinal = kKeyboardService_setSelection_name..parameters = _keyboard_K
eyboardService_SetSelection_Params__(), |
| 1947 }; |
| 1948 } |
| 1949 |
| 1950 class _KeyboardServiceServiceDescription extends service_describer.ServiceDescri
ption { |
| 1951 // Avoid infinite loop by overriding serviceDescription field. |
| 1952 final service_describer.ServiceDescription serviceDescription = null; |
| 1953 dynamic getTopLevelInterface([Function responseFactory = null]) { |
| 1954 return _keyboard_KeyboardService__(); |
| 1955 } |
| 1956 dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) { |
| 1957 return getAllMojomTypeDefinitions()[typeKey]; |
| 1958 } |
| 1959 dynamic getAllTypeDefinitions([Function responseFactory = null]) { |
| 1960 return getAllMojomTypeDefinitions(); |
| 1961 } |
| 1962 } |
| 1963 |
| 1604 abstract class KeyboardService { | 1964 abstract class KeyboardService { |
| 1605 void show(Object client, KeyboardType type); | 1965 void show(Object client, KeyboardType type); |
| 1606 void showByRequest(); | 1966 void showByRequest(); |
| 1607 void hide(); | 1967 void hide(); |
| 1608 void setText(String text); | 1968 void setText(String text); |
| 1609 void setSelection(int start, int end); | 1969 void setSelection(int start, int end); |
| 1610 | 1970 |
| 1611 } | 1971 } |
| 1612 | 1972 |
| 1613 | 1973 |
| 1614 class KeyboardServiceProxyImpl extends bindings.Proxy { | 1974 class KeyboardServiceProxyImpl extends bindings.Proxy { |
| 1615 KeyboardServiceProxyImpl.fromEndpoint( | 1975 KeyboardServiceProxyImpl.fromEndpoint( |
| 1616 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); | 1976 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); |
| 1617 | 1977 |
| 1618 KeyboardServiceProxyImpl.fromHandle(core.MojoHandle handle) : | 1978 KeyboardServiceProxyImpl.fromHandle(core.MojoHandle handle) : |
| 1619 super.fromHandle(handle); | 1979 super.fromHandle(handle); |
| 1620 | 1980 |
| 1621 KeyboardServiceProxyImpl.unbound() : super.unbound(); | 1981 KeyboardServiceProxyImpl.unbound() : super.unbound(); |
| 1622 | 1982 |
| 1623 static KeyboardServiceProxyImpl newFromEndpoint( | 1983 static KeyboardServiceProxyImpl newFromEndpoint( |
| 1624 core.MojoMessagePipeEndpoint endpoint) { | 1984 core.MojoMessagePipeEndpoint endpoint) { |
| 1625 assert(endpoint.setDescription("For KeyboardServiceProxyImpl")); | 1985 assert(endpoint.setDescription("For KeyboardServiceProxyImpl")); |
| 1626 return new KeyboardServiceProxyImpl.fromEndpoint(endpoint); | 1986 return new KeyboardServiceProxyImpl.fromEndpoint(endpoint); |
| 1627 } | 1987 } |
| 1628 | 1988 |
| 1629 String get name => KeyboardServiceName; | 1989 String get name => KeyboardServiceName; |
| 1630 | 1990 |
| 1991 service_describer.ServiceDescription get serviceDescription => |
| 1992 new _KeyboardServiceServiceDescription(); |
| 1993 |
| 1631 void handleResponse(bindings.ServiceMessage message) { | 1994 void handleResponse(bindings.ServiceMessage message) { |
| 1632 switch (message.header.type) { | 1995 switch (message.header.type) { |
| 1633 default: | 1996 default: |
| 1634 proxyError("Unexpected message type: ${message.header.type}"); | 1997 proxyError("Unexpected message type: ${message.header.type}"); |
| 1635 close(immediate: true); | 1998 close(immediate: true); |
| 1636 break; | 1999 break; |
| 1637 } | 2000 } |
| 1638 } | 2001 } |
| 1639 | 2002 |
| 1640 String toString() { | 2003 String toString() { |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1826 assert(_impl == null); | 2189 assert(_impl == null); |
| 1827 _impl = d; | 2190 _impl = d; |
| 1828 } | 2191 } |
| 1829 | 2192 |
| 1830 String toString() { | 2193 String toString() { |
| 1831 var superString = super.toString(); | 2194 var superString = super.toString(); |
| 1832 return "KeyboardServiceStub($superString)"; | 2195 return "KeyboardServiceStub($superString)"; |
| 1833 } | 2196 } |
| 1834 | 2197 |
| 1835 int get version => 0; | 2198 int get version => 0; |
| 2199 |
| 2200 service_describer.ServiceDescription get serviceDescription => |
| 2201 new _KeyboardServiceServiceDescription(); |
| 1836 } | 2202 } |
| 1837 | 2203 |
| 1838 const int kKeyboardServiceFactory_createKeyboardService_name = 0; | 2204 const int kKeyboardServiceFactory_createKeyboardService_name = 0; |
| 1839 | 2205 |
| 1840 const String KeyboardServiceFactoryName = | 2206 const String KeyboardServiceFactoryName = |
| 1841 'keyboard::KeyboardServiceFactory'; | 2207 'keyboard::KeyboardServiceFactory'; |
| 1842 | 2208 |
| 2209 mojom_types.MojomInterface _keyboard_KeyboardServiceFactory__() { |
| 2210 return new mojom_types.MojomInterface() |
| 2211 ..declData = (new mojom_types.DeclarationData()..shortName = "KeyboardServic
eFactory") |
| 2212 ..interfaceName = "KeyboardServiceFactory" |
| 2213 ..methods = <int, mojom_types.MojomMethod>{ |
| 2214 kKeyboardServiceFactory_createKeyboardService_name: new mojom_types.MojomMethod(
) |
| 2215 ..declData = (new mojom_types.DeclarationData()..shortName = "CreateKeyb
oardService") |
| 2216 ..ordinal = kKeyboardServiceFactory_createKeyboardService_name..paramete
rs = _keyboard_KeyboardServiceFactory_CreateKeyboardService_Params__(), |
| 2217 }; |
| 2218 } |
| 2219 |
| 2220 class _KeyboardServiceFactoryServiceDescription extends service_describer.Servic
eDescription { |
| 2221 // Avoid infinite loop by overriding serviceDescription field. |
| 2222 final service_describer.ServiceDescription serviceDescription = null; |
| 2223 dynamic getTopLevelInterface([Function responseFactory = null]) { |
| 2224 return _keyboard_KeyboardServiceFactory__(); |
| 2225 } |
| 2226 dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) { |
| 2227 return getAllMojomTypeDefinitions()[typeKey]; |
| 2228 } |
| 2229 dynamic getAllTypeDefinitions([Function responseFactory = null]) { |
| 2230 return getAllMojomTypeDefinitions(); |
| 2231 } |
| 2232 } |
| 2233 |
| 1843 abstract class KeyboardServiceFactory { | 2234 abstract class KeyboardServiceFactory { |
| 1844 void createKeyboardService(Object keyEventDispatcher, Object serviceRequest); | 2235 void createKeyboardService(Object keyEventDispatcher, Object serviceRequest); |
| 1845 | 2236 |
| 1846 } | 2237 } |
| 1847 | 2238 |
| 1848 | 2239 |
| 1849 class KeyboardServiceFactoryProxyImpl extends bindings.Proxy { | 2240 class KeyboardServiceFactoryProxyImpl extends bindings.Proxy { |
| 1850 KeyboardServiceFactoryProxyImpl.fromEndpoint( | 2241 KeyboardServiceFactoryProxyImpl.fromEndpoint( |
| 1851 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); | 2242 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); |
| 1852 | 2243 |
| 1853 KeyboardServiceFactoryProxyImpl.fromHandle(core.MojoHandle handle) : | 2244 KeyboardServiceFactoryProxyImpl.fromHandle(core.MojoHandle handle) : |
| 1854 super.fromHandle(handle); | 2245 super.fromHandle(handle); |
| 1855 | 2246 |
| 1856 KeyboardServiceFactoryProxyImpl.unbound() : super.unbound(); | 2247 KeyboardServiceFactoryProxyImpl.unbound() : super.unbound(); |
| 1857 | 2248 |
| 1858 static KeyboardServiceFactoryProxyImpl newFromEndpoint( | 2249 static KeyboardServiceFactoryProxyImpl newFromEndpoint( |
| 1859 core.MojoMessagePipeEndpoint endpoint) { | 2250 core.MojoMessagePipeEndpoint endpoint) { |
| 1860 assert(endpoint.setDescription("For KeyboardServiceFactoryProxyImpl")); | 2251 assert(endpoint.setDescription("For KeyboardServiceFactoryProxyImpl")); |
| 1861 return new KeyboardServiceFactoryProxyImpl.fromEndpoint(endpoint); | 2252 return new KeyboardServiceFactoryProxyImpl.fromEndpoint(endpoint); |
| 1862 } | 2253 } |
| 1863 | 2254 |
| 1864 String get name => KeyboardServiceFactoryName; | 2255 String get name => KeyboardServiceFactoryName; |
| 1865 | 2256 |
| 2257 service_describer.ServiceDescription get serviceDescription => |
| 2258 new _KeyboardServiceFactoryServiceDescription(); |
| 2259 |
| 1866 void handleResponse(bindings.ServiceMessage message) { | 2260 void handleResponse(bindings.ServiceMessage message) { |
| 1867 switch (message.header.type) { | 2261 switch (message.header.type) { |
| 1868 default: | 2262 default: |
| 1869 proxyError("Unexpected message type: ${message.header.type}"); | 2263 proxyError("Unexpected message type: ${message.header.type}"); |
| 1870 close(immediate: true); | 2264 close(immediate: true); |
| 1871 break; | 2265 break; |
| 1872 } | 2266 } |
| 1873 } | 2267 } |
| 1874 | 2268 |
| 1875 String toString() { | 2269 String toString() { |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2002 assert(_impl == null); | 2396 assert(_impl == null); |
| 2003 _impl = d; | 2397 _impl = d; |
| 2004 } | 2398 } |
| 2005 | 2399 |
| 2006 String toString() { | 2400 String toString() { |
| 2007 var superString = super.toString(); | 2401 var superString = super.toString(); |
| 2008 return "KeyboardServiceFactoryStub($superString)"; | 2402 return "KeyboardServiceFactoryStub($superString)"; |
| 2009 } | 2403 } |
| 2010 | 2404 |
| 2011 int get version => 0; | 2405 int get version => 0; |
| 2406 |
| 2407 service_describer.ServiceDescription get serviceDescription => |
| 2408 new _KeyboardServiceFactoryServiceDescription(); |
| 2012 } | 2409 } |
| 2013 | 2410 |
| 2014 | 2411 |
| 2412 |
| 2413 |
| 2414 |
| 2415 |
| 2416 |
| 2417 |
| 2418 var _MojomDesc__ = _initDescriptions(); |
| 2419 |
| 2420 Map<String, mojom_types.UserDefinedType> _initDescriptions() { |
| 2421 var map = new Map<String, mojom_types.UserDefinedType>(); |
| 2422 |
| 2423 map["_keyboard_SubmitAction__"] = |
| 2424 new mojom_types.UserDefinedType() |
| 2425 ..enumType = _keyboard_SubmitAction__(); |
| 2426 |
| 2427 |
| 2428 map["_keyboard_KeyboardType__"] = |
| 2429 new mojom_types.UserDefinedType() |
| 2430 ..enumType = _keyboard_KeyboardType__(); |
| 2431 |
| 2432 |
| 2433 map["_keyboard_CompletionData__"] = |
| 2434 new mojom_types.UserDefinedType() |
| 2435 ..structType = _keyboard_CompletionData__(); |
| 2436 |
| 2437 |
| 2438 |
| 2439 |
| 2440 |
| 2441 |
| 2442 |
| 2443 |
| 2444 |
| 2445 |
| 2446 |
| 2447 map["_keyboard_CorrectionData__"] = |
| 2448 new mojom_types.UserDefinedType() |
| 2449 ..structType = _keyboard_CorrectionData__(); |
| 2450 |
| 2451 |
| 2452 |
| 2453 |
| 2454 |
| 2455 |
| 2456 |
| 2457 |
| 2458 |
| 2459 map["_keyboard_KeyboardClient_CommitCompletion_Params__"] = |
| 2460 new mojom_types.UserDefinedType() |
| 2461 ..structType = _keyboard_KeyboardClient_CommitCompletion_Params__(); |
| 2462 |
| 2463 |
| 2464 |
| 2465 |
| 2466 |
| 2467 map["_keyboard_KeyboardClient_CommitCorrection_Params__"] = |
| 2468 new mojom_types.UserDefinedType() |
| 2469 ..structType = _keyboard_KeyboardClient_CommitCorrection_Params__(); |
| 2470 |
| 2471 |
| 2472 |
| 2473 |
| 2474 |
| 2475 map["_keyboard_KeyboardClient_CommitText_Params__"] = |
| 2476 new mojom_types.UserDefinedType() |
| 2477 ..structType = _keyboard_KeyboardClient_CommitText_Params__(); |
| 2478 |
| 2479 |
| 2480 |
| 2481 |
| 2482 |
| 2483 |
| 2484 |
| 2485 map["_keyboard_KeyboardClient_DeleteSurroundingText_Params__"] = |
| 2486 new mojom_types.UserDefinedType() |
| 2487 ..structType = _keyboard_KeyboardClient_DeleteSurroundingText_Params__(); |
| 2488 |
| 2489 |
| 2490 |
| 2491 |
| 2492 |
| 2493 |
| 2494 |
| 2495 map["_keyboard_KeyboardClient_SetComposingRegion_Params__"] = |
| 2496 new mojom_types.UserDefinedType() |
| 2497 ..structType = _keyboard_KeyboardClient_SetComposingRegion_Params__(); |
| 2498 |
| 2499 |
| 2500 |
| 2501 |
| 2502 |
| 2503 |
| 2504 |
| 2505 map["_keyboard_KeyboardClient_SetComposingText_Params__"] = |
| 2506 new mojom_types.UserDefinedType() |
| 2507 ..structType = _keyboard_KeyboardClient_SetComposingText_Params__(); |
| 2508 |
| 2509 |
| 2510 |
| 2511 |
| 2512 |
| 2513 |
| 2514 |
| 2515 map["_keyboard_KeyboardClient_SetSelection_Params__"] = |
| 2516 new mojom_types.UserDefinedType() |
| 2517 ..structType = _keyboard_KeyboardClient_SetSelection_Params__(); |
| 2518 |
| 2519 |
| 2520 |
| 2521 |
| 2522 |
| 2523 |
| 2524 |
| 2525 map["_keyboard_KeyboardClient_Submit_Params__"] = |
| 2526 new mojom_types.UserDefinedType() |
| 2527 ..structType = _keyboard_KeyboardClient_Submit_Params__(); |
| 2528 |
| 2529 |
| 2530 |
| 2531 |
| 2532 |
| 2533 map["_keyboard_KeyboardService_Show_Params__"] = |
| 2534 new mojom_types.UserDefinedType() |
| 2535 ..structType = _keyboard_KeyboardService_Show_Params__(); |
| 2536 |
| 2537 |
| 2538 map["_keyboard_KeyboardClient__"] = |
| 2539 new mojom_types.UserDefinedType() |
| 2540 ..interfaceType = _keyboard_KeyboardClient__(); |
| 2541 |
| 2542 |
| 2543 |
| 2544 |
| 2545 |
| 2546 |
| 2547 map["_keyboard_KeyboardService_ShowByRequest_Params__"] = |
| 2548 new mojom_types.UserDefinedType() |
| 2549 ..structType = _keyboard_KeyboardService_ShowByRequest_Params__(); |
| 2550 |
| 2551 |
| 2552 |
| 2553 map["_keyboard_KeyboardService_Hide_Params__"] = |
| 2554 new mojom_types.UserDefinedType() |
| 2555 ..structType = _keyboard_KeyboardService_Hide_Params__(); |
| 2556 |
| 2557 |
| 2558 |
| 2559 map["_keyboard_KeyboardService_SetText_Params__"] = |
| 2560 new mojom_types.UserDefinedType() |
| 2561 ..structType = _keyboard_KeyboardService_SetText_Params__(); |
| 2562 |
| 2563 |
| 2564 |
| 2565 |
| 2566 |
| 2567 map["_keyboard_KeyboardService_SetSelection_Params__"] = |
| 2568 new mojom_types.UserDefinedType() |
| 2569 ..structType = _keyboard_KeyboardService_SetSelection_Params__(); |
| 2570 |
| 2571 |
| 2572 |
| 2573 |
| 2574 |
| 2575 |
| 2576 |
| 2577 map["_keyboard_KeyboardServiceFactory_CreateKeyboardService_Params__"] = |
| 2578 new mojom_types.UserDefinedType() |
| 2579 ..structType = _keyboard_KeyboardServiceFactory_CreateKeyboardService_Para
ms__(); |
| 2580 |
| 2581 |
| 2582 |
| 2583 |
| 2584 |
| 2585 |
| 2586 |
| 2587 |
| 2588 |
| 2589 map["_keyboard_KeyboardServiceFactory__"] = |
| 2590 new mojom_types.UserDefinedType() |
| 2591 ..interfaceType = _keyboard_KeyboardServiceFactory__(); |
| 2592 |
| 2593 native_viewport_mojom.getAllMojomTypeDefinitions().forEach((String s, mojom_type
s.UserDefinedType udt) { |
| 2594 map[s] = udt; |
| 2595 }); |
| 2596 return map; |
| 2597 } |
| 2598 |
| 2599 Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { |
| 2600 return _MojomDesc__; |
| 2601 } |
| 2602 |
| 2603 |
| OLD | NEW |