| 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 views_mojom; | 5 library views_mojom; |
| 6 import 'dart:async'; | 6 import 'dart:async'; |
| 7 import 'package:mojo/bindings.dart' as bindings; | 7 import 'package:mojo/bindings.dart' as bindings; |
| 8 import 'package:mojo/core.dart' as core; | 8 import 'package:mojo/core.dart' as core; |
| 9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; | 9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; |
| 10 import 'package:mojo/mojo/service_provider.mojom.dart' as service_provider_mojom
; | 10 import 'package:mojo/mojo/service_provider.mojom.dart' as service_provider_mojom
; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 } | 78 } |
| 79 | 79 |
| 80 Map toJson() { | 80 Map toJson() { |
| 81 Map map = new Map(); | 81 Map map = new Map(); |
| 82 map["value"] = value; | 82 map["value"] = value; |
| 83 return map; | 83 return map; |
| 84 } | 84 } |
| 85 } | 85 } |
| 86 | 86 |
| 87 | 87 |
| 88 | |
| 89 | |
| 90 class _ViewOwnerGetTokenParams extends bindings.Struct { | 88 class _ViewOwnerGetTokenParams extends bindings.Struct { |
| 91 static const List<bindings.StructDataHeader> kVersions = const [ | 89 static const List<bindings.StructDataHeader> kVersions = const [ |
| 92 const bindings.StructDataHeader(8, 0) | 90 const bindings.StructDataHeader(8, 0) |
| 93 ]; | 91 ]; |
| 94 | 92 |
| 95 _ViewOwnerGetTokenParams() : super(kVersions.last.size); | 93 _ViewOwnerGetTokenParams() : super(kVersions.last.size); |
| 96 | 94 |
| 97 static _ViewOwnerGetTokenParams deserialize(bindings.Message message) { | 95 static _ViewOwnerGetTokenParams deserialize(bindings.Message message) { |
| 98 var decoder = new bindings.Decoder(message); | 96 var decoder = new bindings.Decoder(message); |
| 99 var result = decode(decoder); | 97 var result = decode(decoder); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 return "_ViewOwnerGetTokenParams("")"; | 136 return "_ViewOwnerGetTokenParams("")"; |
| 139 } | 137 } |
| 140 | 138 |
| 141 Map toJson() { | 139 Map toJson() { |
| 142 Map map = new Map(); | 140 Map map = new Map(); |
| 143 return map; | 141 return map; |
| 144 } | 142 } |
| 145 } | 143 } |
| 146 | 144 |
| 147 | 145 |
| 148 | |
| 149 | |
| 150 class ViewOwnerGetTokenResponseParams extends bindings.Struct { | 146 class ViewOwnerGetTokenResponseParams extends bindings.Struct { |
| 151 static const List<bindings.StructDataHeader> kVersions = const [ | 147 static const List<bindings.StructDataHeader> kVersions = const [ |
| 152 const bindings.StructDataHeader(16, 0) | 148 const bindings.StructDataHeader(16, 0) |
| 153 ]; | 149 ]; |
| 154 ViewToken token = null; | 150 ViewToken token = null; |
| 155 | 151 |
| 156 ViewOwnerGetTokenResponseParams() : super(kVersions.last.size); | 152 ViewOwnerGetTokenResponseParams() : super(kVersions.last.size); |
| 157 | 153 |
| 158 static ViewOwnerGetTokenResponseParams deserialize(bindings.Message message) { | 154 static ViewOwnerGetTokenResponseParams deserialize(bindings.Message message) { |
| 159 var decoder = new bindings.Decoder(message); | 155 var decoder = new bindings.Decoder(message); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 } | 209 } |
| 214 | 210 |
| 215 Map toJson() { | 211 Map toJson() { |
| 216 Map map = new Map(); | 212 Map map = new Map(); |
| 217 map["token"] = token; | 213 map["token"] = token; |
| 218 return map; | 214 return map; |
| 219 } | 215 } |
| 220 } | 216 } |
| 221 | 217 |
| 222 | 218 |
| 223 | |
| 224 | |
| 225 class _ViewGetTokenParams extends bindings.Struct { | 219 class _ViewGetTokenParams extends bindings.Struct { |
| 226 static const List<bindings.StructDataHeader> kVersions = const [ | 220 static const List<bindings.StructDataHeader> kVersions = const [ |
| 227 const bindings.StructDataHeader(8, 0) | 221 const bindings.StructDataHeader(8, 0) |
| 228 ]; | 222 ]; |
| 229 | 223 |
| 230 _ViewGetTokenParams() : super(kVersions.last.size); | 224 _ViewGetTokenParams() : super(kVersions.last.size); |
| 231 | 225 |
| 232 static _ViewGetTokenParams deserialize(bindings.Message message) { | 226 static _ViewGetTokenParams deserialize(bindings.Message message) { |
| 233 var decoder = new bindings.Decoder(message); | 227 var decoder = new bindings.Decoder(message); |
| 234 var result = decode(decoder); | 228 var result = decode(decoder); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 return "_ViewGetTokenParams("")"; | 267 return "_ViewGetTokenParams("")"; |
| 274 } | 268 } |
| 275 | 269 |
| 276 Map toJson() { | 270 Map toJson() { |
| 277 Map map = new Map(); | 271 Map map = new Map(); |
| 278 return map; | 272 return map; |
| 279 } | 273 } |
| 280 } | 274 } |
| 281 | 275 |
| 282 | 276 |
| 283 | |
| 284 | |
| 285 class ViewGetTokenResponseParams extends bindings.Struct { | 277 class ViewGetTokenResponseParams extends bindings.Struct { |
| 286 static const List<bindings.StructDataHeader> kVersions = const [ | 278 static const List<bindings.StructDataHeader> kVersions = const [ |
| 287 const bindings.StructDataHeader(16, 0) | 279 const bindings.StructDataHeader(16, 0) |
| 288 ]; | 280 ]; |
| 289 ViewToken token = null; | 281 ViewToken token = null; |
| 290 | 282 |
| 291 ViewGetTokenResponseParams() : super(kVersions.last.size); | 283 ViewGetTokenResponseParams() : super(kVersions.last.size); |
| 292 | 284 |
| 293 static ViewGetTokenResponseParams deserialize(bindings.Message message) { | 285 static ViewGetTokenResponseParams deserialize(bindings.Message message) { |
| 294 var decoder = new bindings.Decoder(message); | 286 var decoder = new bindings.Decoder(message); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 } | 340 } |
| 349 | 341 |
| 350 Map toJson() { | 342 Map toJson() { |
| 351 Map map = new Map(); | 343 Map map = new Map(); |
| 352 map["token"] = token; | 344 map["token"] = token; |
| 353 return map; | 345 return map; |
| 354 } | 346 } |
| 355 } | 347 } |
| 356 | 348 |
| 357 | 349 |
| 358 | |
| 359 | |
| 360 class _ViewGetServiceProviderParams extends bindings.Struct { | 350 class _ViewGetServiceProviderParams extends bindings.Struct { |
| 361 static const List<bindings.StructDataHeader> kVersions = const [ | 351 static const List<bindings.StructDataHeader> kVersions = const [ |
| 362 const bindings.StructDataHeader(16, 0) | 352 const bindings.StructDataHeader(16, 0) |
| 363 ]; | 353 ]; |
| 364 Object serviceProvider = null; | 354 Object serviceProvider = null; |
| 365 | 355 |
| 366 _ViewGetServiceProviderParams() : super(kVersions.last.size); | 356 _ViewGetServiceProviderParams() : super(kVersions.last.size); |
| 367 | 357 |
| 368 static _ViewGetServiceProviderParams deserialize(bindings.Message message) { | 358 static _ViewGetServiceProviderParams deserialize(bindings.Message message) { |
| 369 var decoder = new bindings.Decoder(message); | 359 var decoder = new bindings.Decoder(message); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 "serviceProvider: $serviceProvider" ")"; | 411 "serviceProvider: $serviceProvider" ")"; |
| 422 } | 412 } |
| 423 | 413 |
| 424 Map toJson() { | 414 Map toJson() { |
| 425 throw new bindings.MojoCodecError( | 415 throw new bindings.MojoCodecError( |
| 426 'Object containing handles cannot be encoded to JSON.'); | 416 'Object containing handles cannot be encoded to JSON.'); |
| 427 } | 417 } |
| 428 } | 418 } |
| 429 | 419 |
| 430 | 420 |
| 431 | |
| 432 | |
| 433 class _ViewCreateSceneParams extends bindings.Struct { | 421 class _ViewCreateSceneParams extends bindings.Struct { |
| 434 static const List<bindings.StructDataHeader> kVersions = const [ | 422 static const List<bindings.StructDataHeader> kVersions = const [ |
| 435 const bindings.StructDataHeader(16, 0) | 423 const bindings.StructDataHeader(16, 0) |
| 436 ]; | 424 ]; |
| 437 Object scene = null; | 425 Object scene = null; |
| 438 | 426 |
| 439 _ViewCreateSceneParams() : super(kVersions.last.size); | 427 _ViewCreateSceneParams() : super(kVersions.last.size); |
| 440 | 428 |
| 441 static _ViewCreateSceneParams deserialize(bindings.Message message) { | 429 static _ViewCreateSceneParams deserialize(bindings.Message message) { |
| 442 var decoder = new bindings.Decoder(message); | 430 var decoder = new bindings.Decoder(message); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 "scene: $scene" ")"; | 482 "scene: $scene" ")"; |
| 495 } | 483 } |
| 496 | 484 |
| 497 Map toJson() { | 485 Map toJson() { |
| 498 throw new bindings.MojoCodecError( | 486 throw new bindings.MojoCodecError( |
| 499 'Object containing handles cannot be encoded to JSON.'); | 487 'Object containing handles cannot be encoded to JSON.'); |
| 500 } | 488 } |
| 501 } | 489 } |
| 502 | 490 |
| 503 | 491 |
| 504 | |
| 505 | |
| 506 class _ViewRequestLayoutParams extends bindings.Struct { | 492 class _ViewRequestLayoutParams extends bindings.Struct { |
| 507 static const List<bindings.StructDataHeader> kVersions = const [ | 493 static const List<bindings.StructDataHeader> kVersions = const [ |
| 508 const bindings.StructDataHeader(8, 0) | 494 const bindings.StructDataHeader(8, 0) |
| 509 ]; | 495 ]; |
| 510 | 496 |
| 511 _ViewRequestLayoutParams() : super(kVersions.last.size); | 497 _ViewRequestLayoutParams() : super(kVersions.last.size); |
| 512 | 498 |
| 513 static _ViewRequestLayoutParams deserialize(bindings.Message message) { | 499 static _ViewRequestLayoutParams deserialize(bindings.Message message) { |
| 514 var decoder = new bindings.Decoder(message); | 500 var decoder = new bindings.Decoder(message); |
| 515 var result = decode(decoder); | 501 var result = decode(decoder); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 return "_ViewRequestLayoutParams("")"; | 540 return "_ViewRequestLayoutParams("")"; |
| 555 } | 541 } |
| 556 | 542 |
| 557 Map toJson() { | 543 Map toJson() { |
| 558 Map map = new Map(); | 544 Map map = new Map(); |
| 559 return map; | 545 return map; |
| 560 } | 546 } |
| 561 } | 547 } |
| 562 | 548 |
| 563 | 549 |
| 564 | |
| 565 | |
| 566 class _ViewAddChildParams extends bindings.Struct { | 550 class _ViewAddChildParams extends bindings.Struct { |
| 567 static const List<bindings.StructDataHeader> kVersions = const [ | 551 static const List<bindings.StructDataHeader> kVersions = const [ |
| 568 const bindings.StructDataHeader(24, 0) | 552 const bindings.StructDataHeader(24, 0) |
| 569 ]; | 553 ]; |
| 570 int childKey = 0; | 554 int childKey = 0; |
| 571 Object childViewOwner = null; | 555 Object childViewOwner = null; |
| 572 | 556 |
| 573 _ViewAddChildParams() : super(kVersions.last.size); | 557 _ViewAddChildParams() : super(kVersions.last.size); |
| 574 | 558 |
| 575 static _ViewAddChildParams deserialize(bindings.Message message) { | 559 static _ViewAddChildParams deserialize(bindings.Message message) { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 "childViewOwner: $childViewOwner" ")"; | 624 "childViewOwner: $childViewOwner" ")"; |
| 641 } | 625 } |
| 642 | 626 |
| 643 Map toJson() { | 627 Map toJson() { |
| 644 throw new bindings.MojoCodecError( | 628 throw new bindings.MojoCodecError( |
| 645 'Object containing handles cannot be encoded to JSON.'); | 629 'Object containing handles cannot be encoded to JSON.'); |
| 646 } | 630 } |
| 647 } | 631 } |
| 648 | 632 |
| 649 | 633 |
| 650 | |
| 651 | |
| 652 class _ViewRemoveChildParams extends bindings.Struct { | 634 class _ViewRemoveChildParams extends bindings.Struct { |
| 653 static const List<bindings.StructDataHeader> kVersions = const [ | 635 static const List<bindings.StructDataHeader> kVersions = const [ |
| 654 const bindings.StructDataHeader(16, 0) | 636 const bindings.StructDataHeader(16, 0) |
| 655 ]; | 637 ]; |
| 656 int childKey = 0; | 638 int childKey = 0; |
| 657 Object transferredViewOwner = null; | 639 Object transferredViewOwner = null; |
| 658 | 640 |
| 659 _ViewRemoveChildParams() : super(kVersions.last.size); | 641 _ViewRemoveChildParams() : super(kVersions.last.size); |
| 660 | 642 |
| 661 static _ViewRemoveChildParams deserialize(bindings.Message message) { | 643 static _ViewRemoveChildParams deserialize(bindings.Message message) { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 "transferredViewOwner: $transferredViewOwner" ")"; | 708 "transferredViewOwner: $transferredViewOwner" ")"; |
| 727 } | 709 } |
| 728 | 710 |
| 729 Map toJson() { | 711 Map toJson() { |
| 730 throw new bindings.MojoCodecError( | 712 throw new bindings.MojoCodecError( |
| 731 'Object containing handles cannot be encoded to JSON.'); | 713 'Object containing handles cannot be encoded to JSON.'); |
| 732 } | 714 } |
| 733 } | 715 } |
| 734 | 716 |
| 735 | 717 |
| 736 | |
| 737 | |
| 738 class _ViewLayoutChildParams extends bindings.Struct { | 718 class _ViewLayoutChildParams extends bindings.Struct { |
| 739 static const List<bindings.StructDataHeader> kVersions = const [ | 719 static const List<bindings.StructDataHeader> kVersions = const [ |
| 740 const bindings.StructDataHeader(24, 0) | 720 const bindings.StructDataHeader(24, 0) |
| 741 ]; | 721 ]; |
| 742 int childKey = 0; | 722 int childKey = 0; |
| 743 layouts_mojom.ViewLayoutParams childLayoutParams = null; | 723 layouts_mojom.ViewLayoutParams childLayoutParams = null; |
| 744 | 724 |
| 745 _ViewLayoutChildParams() : super(kVersions.last.size); | 725 _ViewLayoutChildParams() : super(kVersions.last.size); |
| 746 | 726 |
| 747 static _ViewLayoutChildParams deserialize(bindings.Message message) { | 727 static _ViewLayoutChildParams deserialize(bindings.Message message) { |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 815 | 795 |
| 816 Map toJson() { | 796 Map toJson() { |
| 817 Map map = new Map(); | 797 Map map = new Map(); |
| 818 map["childKey"] = childKey; | 798 map["childKey"] = childKey; |
| 819 map["childLayoutParams"] = childLayoutParams; | 799 map["childLayoutParams"] = childLayoutParams; |
| 820 return map; | 800 return map; |
| 821 } | 801 } |
| 822 } | 802 } |
| 823 | 803 |
| 824 | 804 |
| 825 | |
| 826 | |
| 827 class ViewLayoutChildResponseParams extends bindings.Struct { | 805 class ViewLayoutChildResponseParams extends bindings.Struct { |
| 828 static const List<bindings.StructDataHeader> kVersions = const [ | 806 static const List<bindings.StructDataHeader> kVersions = const [ |
| 829 const bindings.StructDataHeader(16, 0) | 807 const bindings.StructDataHeader(16, 0) |
| 830 ]; | 808 ]; |
| 831 layouts_mojom.ViewLayoutInfo info = null; | 809 layouts_mojom.ViewLayoutInfo info = null; |
| 832 | 810 |
| 833 ViewLayoutChildResponseParams() : super(kVersions.last.size); | 811 ViewLayoutChildResponseParams() : super(kVersions.last.size); |
| 834 | 812 |
| 835 static ViewLayoutChildResponseParams deserialize(bindings.Message message) { | 813 static ViewLayoutChildResponseParams deserialize(bindings.Message message) { |
| 836 var decoder = new bindings.Decoder(message); | 814 var decoder = new bindings.Decoder(message); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 890 } | 868 } |
| 891 | 869 |
| 892 Map toJson() { | 870 Map toJson() { |
| 893 Map map = new Map(); | 871 Map map = new Map(); |
| 894 map["info"] = info; | 872 map["info"] = info; |
| 895 return map; | 873 return map; |
| 896 } | 874 } |
| 897 } | 875 } |
| 898 | 876 |
| 899 | 877 |
| 900 | |
| 901 | |
| 902 class _ViewListenerOnLayoutParams extends bindings.Struct { | 878 class _ViewListenerOnLayoutParams extends bindings.Struct { |
| 903 static const List<bindings.StructDataHeader> kVersions = const [ | 879 static const List<bindings.StructDataHeader> kVersions = const [ |
| 904 const bindings.StructDataHeader(24, 0) | 880 const bindings.StructDataHeader(24, 0) |
| 905 ]; | 881 ]; |
| 906 layouts_mojom.ViewLayoutParams layoutParams = null; | 882 layouts_mojom.ViewLayoutParams layoutParams = null; |
| 907 List<int> childrenNeedingLayout = null; | 883 List<int> childrenNeedingLayout = null; |
| 908 | 884 |
| 909 _ViewListenerOnLayoutParams() : super(kVersions.last.size); | 885 _ViewListenerOnLayoutParams() : super(kVersions.last.size); |
| 910 | 886 |
| 911 static _ViewListenerOnLayoutParams deserialize(bindings.Message message) { | 887 static _ViewListenerOnLayoutParams deserialize(bindings.Message message) { |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 979 | 955 |
| 980 Map toJson() { | 956 Map toJson() { |
| 981 Map map = new Map(); | 957 Map map = new Map(); |
| 982 map["layoutParams"] = layoutParams; | 958 map["layoutParams"] = layoutParams; |
| 983 map["childrenNeedingLayout"] = childrenNeedingLayout; | 959 map["childrenNeedingLayout"] = childrenNeedingLayout; |
| 984 return map; | 960 return map; |
| 985 } | 961 } |
| 986 } | 962 } |
| 987 | 963 |
| 988 | 964 |
| 989 | |
| 990 | |
| 991 class ViewListenerOnLayoutResponseParams extends bindings.Struct { | 965 class ViewListenerOnLayoutResponseParams extends bindings.Struct { |
| 992 static const List<bindings.StructDataHeader> kVersions = const [ | 966 static const List<bindings.StructDataHeader> kVersions = const [ |
| 993 const bindings.StructDataHeader(16, 0) | 967 const bindings.StructDataHeader(16, 0) |
| 994 ]; | 968 ]; |
| 995 layouts_mojom.ViewLayoutResult result = null; | 969 layouts_mojom.ViewLayoutResult result = null; |
| 996 | 970 |
| 997 ViewListenerOnLayoutResponseParams() : super(kVersions.last.size); | 971 ViewListenerOnLayoutResponseParams() : super(kVersions.last.size); |
| 998 | 972 |
| 999 static ViewListenerOnLayoutResponseParams deserialize(bindings.Message message
) { | 973 static ViewListenerOnLayoutResponseParams deserialize(bindings.Message message
) { |
| 1000 var decoder = new bindings.Decoder(message); | 974 var decoder = new bindings.Decoder(message); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1054 } | 1028 } |
| 1055 | 1029 |
| 1056 Map toJson() { | 1030 Map toJson() { |
| 1057 Map map = new Map(); | 1031 Map map = new Map(); |
| 1058 map["result"] = result; | 1032 map["result"] = result; |
| 1059 return map; | 1033 return map; |
| 1060 } | 1034 } |
| 1061 } | 1035 } |
| 1062 | 1036 |
| 1063 | 1037 |
| 1064 | |
| 1065 | |
| 1066 class _ViewListenerOnChildUnavailableParams extends bindings.Struct { | 1038 class _ViewListenerOnChildUnavailableParams extends bindings.Struct { |
| 1067 static const List<bindings.StructDataHeader> kVersions = const [ | 1039 static const List<bindings.StructDataHeader> kVersions = const [ |
| 1068 const bindings.StructDataHeader(16, 0) | 1040 const bindings.StructDataHeader(16, 0) |
| 1069 ]; | 1041 ]; |
| 1070 int childKey = 0; | 1042 int childKey = 0; |
| 1071 | 1043 |
| 1072 _ViewListenerOnChildUnavailableParams() : super(kVersions.last.size); | 1044 _ViewListenerOnChildUnavailableParams() : super(kVersions.last.size); |
| 1073 | 1045 |
| 1074 static _ViewListenerOnChildUnavailableParams deserialize(bindings.Message mess
age) { | 1046 static _ViewListenerOnChildUnavailableParams deserialize(bindings.Message mess
age) { |
| 1075 var decoder = new bindings.Decoder(message); | 1047 var decoder = new bindings.Decoder(message); |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1128 } | 1100 } |
| 1129 | 1101 |
| 1130 Map toJson() { | 1102 Map toJson() { |
| 1131 Map map = new Map(); | 1103 Map map = new Map(); |
| 1132 map["childKey"] = childKey; | 1104 map["childKey"] = childKey; |
| 1133 return map; | 1105 return map; |
| 1134 } | 1106 } |
| 1135 } | 1107 } |
| 1136 | 1108 |
| 1137 | 1109 |
| 1138 | |
| 1139 | |
| 1140 class ViewListenerOnChildUnavailableResponseParams extends bindings.Struct { | 1110 class ViewListenerOnChildUnavailableResponseParams extends bindings.Struct { |
| 1141 static const List<bindings.StructDataHeader> kVersions = const [ | 1111 static const List<bindings.StructDataHeader> kVersions = const [ |
| 1142 const bindings.StructDataHeader(8, 0) | 1112 const bindings.StructDataHeader(8, 0) |
| 1143 ]; | 1113 ]; |
| 1144 | 1114 |
| 1145 ViewListenerOnChildUnavailableResponseParams() : super(kVersions.last.size); | 1115 ViewListenerOnChildUnavailableResponseParams() : super(kVersions.last.size); |
| 1146 | 1116 |
| 1147 static ViewListenerOnChildUnavailableResponseParams deserialize(bindings.Messa
ge message) { | 1117 static ViewListenerOnChildUnavailableResponseParams deserialize(bindings.Messa
ge message) { |
| 1148 var decoder = new bindings.Decoder(message); | 1118 var decoder = new bindings.Decoder(message); |
| 1149 var result = decode(decoder); | 1119 var result = decode(decoder); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1187 String toString() { | 1157 String toString() { |
| 1188 return "ViewListenerOnChildUnavailableResponseParams("")"; | 1158 return "ViewListenerOnChildUnavailableResponseParams("")"; |
| 1189 } | 1159 } |
| 1190 | 1160 |
| 1191 Map toJson() { | 1161 Map toJson() { |
| 1192 Map map = new Map(); | 1162 Map map = new Map(); |
| 1193 return map; | 1163 return map; |
| 1194 } | 1164 } |
| 1195 } | 1165 } |
| 1196 | 1166 |
| 1197 | |
| 1198 | |
| 1199 | |
| 1200 const int _ViewOwner_getTokenName = 0; | 1167 const int _ViewOwner_getTokenName = 0; |
| 1201 | 1168 |
| 1202 | |
| 1203 | |
| 1204 class _ViewOwnerServiceDescription implements service_describer.ServiceDescripti
on { | 1169 class _ViewOwnerServiceDescription implements service_describer.ServiceDescripti
on { |
| 1205 dynamic getTopLevelInterface([Function responseFactory]) => | 1170 dynamic getTopLevelInterface([Function responseFactory]) => |
| 1206 responseFactory(null); | 1171 responseFactory(null); |
| 1207 | 1172 |
| 1208 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 1173 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
| 1209 responseFactory(null); | 1174 responseFactory(null); |
| 1210 | 1175 |
| 1211 dynamic getAllTypeDefinitions([Function responseFactory]) => | 1176 dynamic getAllTypeDefinitions([Function responseFactory]) => |
| 1212 responseFactory(null); | 1177 responseFactory(null); |
| 1213 } | 1178 } |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1429 } | 1394 } |
| 1430 | 1395 |
| 1431 const int _View_getTokenName = 0; | 1396 const int _View_getTokenName = 0; |
| 1432 const int _View_getServiceProviderName = 1; | 1397 const int _View_getServiceProviderName = 1; |
| 1433 const int _View_createSceneName = 2; | 1398 const int _View_createSceneName = 2; |
| 1434 const int _View_requestLayoutName = 3; | 1399 const int _View_requestLayoutName = 3; |
| 1435 const int _View_addChildName = 4; | 1400 const int _View_addChildName = 4; |
| 1436 const int _View_removeChildName = 5; | 1401 const int _View_removeChildName = 5; |
| 1437 const int _View_layoutChildName = 6; | 1402 const int _View_layoutChildName = 6; |
| 1438 | 1403 |
| 1439 | |
| 1440 | |
| 1441 class _ViewServiceDescription implements service_describer.ServiceDescription { | 1404 class _ViewServiceDescription implements service_describer.ServiceDescription { |
| 1442 dynamic getTopLevelInterface([Function responseFactory]) => | 1405 dynamic getTopLevelInterface([Function responseFactory]) => |
| 1443 responseFactory(null); | 1406 responseFactory(null); |
| 1444 | 1407 |
| 1445 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 1408 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
| 1446 responseFactory(null); | 1409 responseFactory(null); |
| 1447 | 1410 |
| 1448 dynamic getAllTypeDefinitions([Function responseFactory]) => | 1411 dynamic getAllTypeDefinitions([Function responseFactory]) => |
| 1449 responseFactory(null); | 1412 responseFactory(null); |
| 1450 } | 1413 } |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1793 if (_cachedServiceDescription == null) { | 1756 if (_cachedServiceDescription == null) { |
| 1794 _cachedServiceDescription = new _ViewServiceDescription(); | 1757 _cachedServiceDescription = new _ViewServiceDescription(); |
| 1795 } | 1758 } |
| 1796 return _cachedServiceDescription; | 1759 return _cachedServiceDescription; |
| 1797 } | 1760 } |
| 1798 } | 1761 } |
| 1799 | 1762 |
| 1800 const int _ViewListener_onLayoutName = 0; | 1763 const int _ViewListener_onLayoutName = 0; |
| 1801 const int _ViewListener_onChildUnavailableName = 1; | 1764 const int _ViewListener_onChildUnavailableName = 1; |
| 1802 | 1765 |
| 1803 | |
| 1804 | |
| 1805 class _ViewListenerServiceDescription implements service_describer.ServiceDescri
ption { | 1766 class _ViewListenerServiceDescription implements service_describer.ServiceDescri
ption { |
| 1806 dynamic getTopLevelInterface([Function responseFactory]) => | 1767 dynamic getTopLevelInterface([Function responseFactory]) => |
| 1807 responseFactory(null); | 1768 responseFactory(null); |
| 1808 | 1769 |
| 1809 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 1770 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
| 1810 responseFactory(null); | 1771 responseFactory(null); |
| 1811 | 1772 |
| 1812 dynamic getAllTypeDefinitions([Function responseFactory]) => | 1773 dynamic getAllTypeDefinitions([Function responseFactory]) => |
| 1813 responseFactory(null); | 1774 responseFactory(null); |
| 1814 } | 1775 } |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2084 static service_describer.ServiceDescription get serviceDescription { | 2045 static service_describer.ServiceDescription get serviceDescription { |
| 2085 if (_cachedServiceDescription == null) { | 2046 if (_cachedServiceDescription == null) { |
| 2086 _cachedServiceDescription = new _ViewListenerServiceDescription(); | 2047 _cachedServiceDescription = new _ViewListenerServiceDescription(); |
| 2087 } | 2048 } |
| 2088 return _cachedServiceDescription; | 2049 return _cachedServiceDescription; |
| 2089 } | 2050 } |
| 2090 } | 2051 } |
| 2091 | 2052 |
| 2092 | 2053 |
| 2093 | 2054 |
| OLD | NEW |