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 activity_mojom; | 5 library activity_mojom; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:collection'; |
8 | 9 |
9 import 'package:mojo/bindings.dart' as bindings; | 10 import 'package:mojo/bindings.dart' as bindings; |
10 import 'package:mojo/core.dart' as core; | 11 import 'package:mojo/core.dart' as core; |
11 | 12 import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types; |
| 13 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; |
12 class SystemUiVisibility extends bindings.MojoEnum { | 14 class SystemUiVisibility extends bindings.MojoEnum { |
13 static const SystemUiVisibility standard = const SystemUiVisibility._(0); | 15 static const SystemUiVisibility standard = const SystemUiVisibility._(0); |
14 static const SystemUiVisibility fullscreen = const SystemUiVisibility._(1); | 16 static const SystemUiVisibility fullscreen = const SystemUiVisibility._(1); |
15 static const SystemUiVisibility immersive = const SystemUiVisibility._(2); | 17 static const SystemUiVisibility immersive = const SystemUiVisibility._(2); |
16 | 18 |
17 const SystemUiVisibility._(int v) : super(v); | 19 const SystemUiVisibility._(int v) : super(v); |
18 | 20 |
19 static const Map<String, SystemUiVisibility> valuesMap = const { | 21 static const Map<String, SystemUiVisibility> valuesMap = const { |
20 "standard": standard, | 22 "standard": standard, |
21 "fullscreen": fullscreen, | 23 "fullscreen": fullscreen, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 } | 55 } |
54 | 56 |
55 String toString() { | 57 String toString() { |
56 switch(this) { | 58 switch(this) { |
57 case standard: | 59 case standard: |
58 return 'SystemUiVisibility.standard'; | 60 return 'SystemUiVisibility.standard'; |
59 case fullscreen: | 61 case fullscreen: |
60 return 'SystemUiVisibility.fullscreen'; | 62 return 'SystemUiVisibility.fullscreen'; |
61 case immersive: | 63 case immersive: |
62 return 'SystemUiVisibility.immersive'; | 64 return 'SystemUiVisibility.immersive'; |
| 65 default: |
| 66 return null; |
63 } | 67 } |
64 } | 68 } |
65 | 69 |
66 int toJson() => mojoEnumValue; | 70 int toJson() => mojoEnumValue; |
67 } | 71 } |
68 | 72 |
| 73 mojom_types.MojomEnum _activity_SystemUIVisibility__() { |
| 74 return new mojom_types.MojomEnum() |
| 75 ..declData = (new mojom_types.DeclarationData() |
| 76 ..shortName = 'SystemUiVisibility' |
| 77 ..fullIdentifier = 'activity.SystemUiVisibility') |
| 78 ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue() |
| 79 ..declData = (new mojom_types.DeclarationData()..shortName = 'Standard') |
| 80 ..enumTypeKey = '_activity_SystemUIVisibility__' |
| 81 ..intValue = 0,new mojom_types.EnumValue() |
| 82 ..declData = (new mojom_types.DeclarationData()..shortName = 'Fullscreen
') |
| 83 ..enumTypeKey = '_activity_SystemUIVisibility__' |
| 84 ..intValue = 1,new mojom_types.EnumValue() |
| 85 ..declData = (new mojom_types.DeclarationData()..shortName = 'Immersive'
) |
| 86 ..enumTypeKey = '_activity_SystemUIVisibility__' |
| 87 ..intValue = 2,]; |
| 88 } |
69 class ScreenOrientation extends bindings.MojoEnum { | 89 class ScreenOrientation extends bindings.MojoEnum { |
70 static const ScreenOrientation unspecified = const ScreenOrientation._(0); | 90 static const ScreenOrientation unspecified = const ScreenOrientation._(0); |
71 static const ScreenOrientation landscape = const ScreenOrientation._(1); | 91 static const ScreenOrientation landscape = const ScreenOrientation._(1); |
72 static const ScreenOrientation portrait = const ScreenOrientation._(2); | 92 static const ScreenOrientation portrait = const ScreenOrientation._(2); |
73 static const ScreenOrientation nosensor = const ScreenOrientation._(3); | 93 static const ScreenOrientation nosensor = const ScreenOrientation._(3); |
74 | 94 |
75 const ScreenOrientation._(int v) : super(v); | 95 const ScreenOrientation._(int v) : super(v); |
76 | 96 |
77 static const Map<String, ScreenOrientation> valuesMap = const { | 97 static const Map<String, ScreenOrientation> valuesMap = const { |
78 "unspecified": unspecified, | 98 "unspecified": unspecified, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 String toString() { | 137 String toString() { |
118 switch(this) { | 138 switch(this) { |
119 case unspecified: | 139 case unspecified: |
120 return 'ScreenOrientation.unspecified'; | 140 return 'ScreenOrientation.unspecified'; |
121 case landscape: | 141 case landscape: |
122 return 'ScreenOrientation.landscape'; | 142 return 'ScreenOrientation.landscape'; |
123 case portrait: | 143 case portrait: |
124 return 'ScreenOrientation.portrait'; | 144 return 'ScreenOrientation.portrait'; |
125 case nosensor: | 145 case nosensor: |
126 return 'ScreenOrientation.nosensor'; | 146 return 'ScreenOrientation.nosensor'; |
| 147 default: |
| 148 return null; |
127 } | 149 } |
128 } | 150 } |
129 | 151 |
130 int toJson() => mojoEnumValue; | 152 int toJson() => mojoEnumValue; |
131 } | 153 } |
132 | 154 |
| 155 mojom_types.MojomEnum _activity_ScreenOrientation__() { |
| 156 return new mojom_types.MojomEnum() |
| 157 ..declData = (new mojom_types.DeclarationData() |
| 158 ..shortName = 'ScreenOrientation' |
| 159 ..fullIdentifier = 'activity.ScreenOrientation') |
| 160 ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue() |
| 161 ..declData = (new mojom_types.DeclarationData()..shortName = 'Unspecifie
d') |
| 162 ..enumTypeKey = '_activity_ScreenOrientation__' |
| 163 ..intValue = 0,new mojom_types.EnumValue() |
| 164 ..declData = (new mojom_types.DeclarationData()..shortName = 'Landscape'
) |
| 165 ..enumTypeKey = '_activity_ScreenOrientation__' |
| 166 ..intValue = 1,new mojom_types.EnumValue() |
| 167 ..declData = (new mojom_types.DeclarationData()..shortName = 'Portrait') |
| 168 ..enumTypeKey = '_activity_ScreenOrientation__' |
| 169 ..intValue = 2,new mojom_types.EnumValue() |
| 170 ..declData = (new mojom_types.DeclarationData()..shortName = 'Nosensor') |
| 171 ..enumTypeKey = '_activity_ScreenOrientation__' |
| 172 ..intValue = 3,]; |
| 173 } |
133 class HapticFeedbackType extends bindings.MojoEnum { | 174 class HapticFeedbackType extends bindings.MojoEnum { |
134 static const HapticFeedbackType longPress = const HapticFeedbackType._(0); | 175 static const HapticFeedbackType longPress = const HapticFeedbackType._(0); |
135 static const HapticFeedbackType virtualKey = const HapticFeedbackType._(1); | 176 static const HapticFeedbackType virtualKey = const HapticFeedbackType._(1); |
136 static const HapticFeedbackType keyboardTap = const HapticFeedbackType._(2); | 177 static const HapticFeedbackType keyboardTap = const HapticFeedbackType._(2); |
137 static const HapticFeedbackType clockTick = const HapticFeedbackType._(3); | 178 static const HapticFeedbackType clockTick = const HapticFeedbackType._(3); |
138 | 179 |
139 const HapticFeedbackType._(int v) : super(v); | 180 const HapticFeedbackType._(int v) : super(v); |
140 | 181 |
141 static const Map<String, HapticFeedbackType> valuesMap = const { | 182 static const Map<String, HapticFeedbackType> valuesMap = const { |
142 "longPress": longPress, | 183 "longPress": longPress, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 String toString() { | 222 String toString() { |
182 switch(this) { | 223 switch(this) { |
183 case longPress: | 224 case longPress: |
184 return 'HapticFeedbackType.longPress'; | 225 return 'HapticFeedbackType.longPress'; |
185 case virtualKey: | 226 case virtualKey: |
186 return 'HapticFeedbackType.virtualKey'; | 227 return 'HapticFeedbackType.virtualKey'; |
187 case keyboardTap: | 228 case keyboardTap: |
188 return 'HapticFeedbackType.keyboardTap'; | 229 return 'HapticFeedbackType.keyboardTap'; |
189 case clockTick: | 230 case clockTick: |
190 return 'HapticFeedbackType.clockTick'; | 231 return 'HapticFeedbackType.clockTick'; |
| 232 default: |
| 233 return null; |
191 } | 234 } |
192 } | 235 } |
193 | 236 |
194 int toJson() => mojoEnumValue; | 237 int toJson() => mojoEnumValue; |
195 } | 238 } |
196 | 239 |
| 240 mojom_types.MojomEnum _activity_HapticFeedbackType__() { |
| 241 return new mojom_types.MojomEnum() |
| 242 ..declData = (new mojom_types.DeclarationData() |
| 243 ..shortName = 'HapticFeedbackType' |
| 244 ..fullIdentifier = 'activity.HapticFeedbackType') |
| 245 ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue() |
| 246 ..declData = (new mojom_types.DeclarationData()..shortName = 'LongPress'
) |
| 247 ..enumTypeKey = '_activity_HapticFeedbackType__' |
| 248 ..intValue = 0,new mojom_types.EnumValue() |
| 249 ..declData = (new mojom_types.DeclarationData()..shortName = 'VirtualKey
') |
| 250 ..enumTypeKey = '_activity_HapticFeedbackType__' |
| 251 ..intValue = 1,new mojom_types.EnumValue() |
| 252 ..declData = (new mojom_types.DeclarationData()..shortName = 'KeyboardTa
p') |
| 253 ..enumTypeKey = '_activity_HapticFeedbackType__' |
| 254 ..intValue = 2,new mojom_types.EnumValue() |
| 255 ..declData = (new mojom_types.DeclarationData()..shortName = 'ClockTick'
) |
| 256 ..enumTypeKey = '_activity_HapticFeedbackType__' |
| 257 ..intValue = 3,]; |
| 258 } |
197 class AuralFeedbackType extends bindings.MojoEnum { | 259 class AuralFeedbackType extends bindings.MojoEnum { |
198 static const AuralFeedbackType click = const AuralFeedbackType._(0); | 260 static const AuralFeedbackType click = const AuralFeedbackType._(0); |
199 static const AuralFeedbackType navigationLeft = const AuralFeedbackType._(1); | 261 static const AuralFeedbackType navigationLeft = const AuralFeedbackType._(1); |
200 static const AuralFeedbackType navigationUp = const AuralFeedbackType._(2); | 262 static const AuralFeedbackType navigationUp = const AuralFeedbackType._(2); |
201 static const AuralFeedbackType navigationRight = const AuralFeedbackType._(3); | 263 static const AuralFeedbackType navigationRight = const AuralFeedbackType._(3); |
202 static const AuralFeedbackType navigationDown = const AuralFeedbackType._(4); | 264 static const AuralFeedbackType navigationDown = const AuralFeedbackType._(4); |
203 | 265 |
204 const AuralFeedbackType._(int v) : super(v); | 266 const AuralFeedbackType._(int v) : super(v); |
205 | 267 |
206 static const Map<String, AuralFeedbackType> valuesMap = const { | 268 static const Map<String, AuralFeedbackType> valuesMap = const { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 case click: | 314 case click: |
253 return 'AuralFeedbackType.click'; | 315 return 'AuralFeedbackType.click'; |
254 case navigationLeft: | 316 case navigationLeft: |
255 return 'AuralFeedbackType.navigationLeft'; | 317 return 'AuralFeedbackType.navigationLeft'; |
256 case navigationUp: | 318 case navigationUp: |
257 return 'AuralFeedbackType.navigationUp'; | 319 return 'AuralFeedbackType.navigationUp'; |
258 case navigationRight: | 320 case navigationRight: |
259 return 'AuralFeedbackType.navigationRight'; | 321 return 'AuralFeedbackType.navigationRight'; |
260 case navigationDown: | 322 case navigationDown: |
261 return 'AuralFeedbackType.navigationDown'; | 323 return 'AuralFeedbackType.navigationDown'; |
| 324 default: |
| 325 return null; |
262 } | 326 } |
263 } | 327 } |
264 | 328 |
265 int toJson() => mojoEnumValue; | 329 int toJson() => mojoEnumValue; |
266 } | 330 } |
267 | 331 |
| 332 mojom_types.MojomEnum _activity_AuralFeedbackType__() { |
| 333 return new mojom_types.MojomEnum() |
| 334 ..declData = (new mojom_types.DeclarationData() |
| 335 ..shortName = 'AuralFeedbackType' |
| 336 ..fullIdentifier = 'activity.AuralFeedbackType') |
| 337 ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue() |
| 338 ..declData = (new mojom_types.DeclarationData()..shortName = 'Click') |
| 339 ..enumTypeKey = '_activity_AuralFeedbackType__' |
| 340 ..intValue = 0,new mojom_types.EnumValue() |
| 341 ..declData = (new mojom_types.DeclarationData()..shortName = 'Navigation
Left') |
| 342 ..enumTypeKey = '_activity_AuralFeedbackType__' |
| 343 ..intValue = 1,new mojom_types.EnumValue() |
| 344 ..declData = (new mojom_types.DeclarationData()..shortName = 'Navigation
Up') |
| 345 ..enumTypeKey = '_activity_AuralFeedbackType__' |
| 346 ..intValue = 2,new mojom_types.EnumValue() |
| 347 ..declData = (new mojom_types.DeclarationData()..shortName = 'Navigation
Right') |
| 348 ..enumTypeKey = '_activity_AuralFeedbackType__' |
| 349 ..intValue = 3,new mojom_types.EnumValue() |
| 350 ..declData = (new mojom_types.DeclarationData()..shortName = 'Navigation
Down') |
| 351 ..enumTypeKey = '_activity_AuralFeedbackType__' |
| 352 ..intValue = 4,]; |
| 353 } |
| 354 |
268 | 355 |
269 | 356 |
270 class StringExtra extends bindings.Struct { | 357 class StringExtra extends bindings.Struct { |
271 static const List<bindings.StructDataHeader> kVersions = const [ | 358 static const List<bindings.StructDataHeader> kVersions = const [ |
272 const bindings.StructDataHeader(24, 0) | 359 const bindings.StructDataHeader(24, 0) |
273 ]; | 360 ]; |
274 String name = null; | 361 String name = null; |
275 String value = null; | 362 String value = null; |
276 | 363 |
277 StringExtra() : super(kVersions.last.size); | 364 StringExtra() : super(kVersions.last.size); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 "value: $value" ")"; | 421 "value: $value" ")"; |
335 } | 422 } |
336 | 423 |
337 Map toJson() { | 424 Map toJson() { |
338 Map map = new Map(); | 425 Map map = new Map(); |
339 map["name"] = name; | 426 map["name"] = name; |
340 map["value"] = value; | 427 map["value"] = value; |
341 return map; | 428 return map; |
342 } | 429 } |
343 } | 430 } |
| 431 mojom_types.MojomStruct _activity_StringExtra__() { |
| 432 return new mojom_types.MojomStruct() |
| 433 ..declData = (new mojom_types.DeclarationData() |
| 434 ..shortName = 'StringExtra' |
| 435 ..fullIdentifier = 'activity.StringExtra') |
| 436 ..fields = <mojom_types.StructField>[ |
| 437 new mojom_types.StructField() |
| 438 ..declData = (new mojom_types.DeclarationData()..shortName = 'Name') |
| 439 ..type = (new mojom_types.Type() |
| 440 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 441 |
| 442 new mojom_types.StructField() |
| 443 ..declData = (new mojom_types.DeclarationData()..shortName = 'Value') |
| 444 ..type = (new mojom_types.Type() |
| 445 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 446 ]; |
| 447 } |
344 | 448 |
345 | 449 |
346 class ComponentName extends bindings.Struct { | 450 class ComponentName extends bindings.Struct { |
347 static const List<bindings.StructDataHeader> kVersions = const [ | 451 static const List<bindings.StructDataHeader> kVersions = const [ |
348 const bindings.StructDataHeader(24, 0) | 452 const bindings.StructDataHeader(24, 0) |
349 ]; | 453 ]; |
350 String packageName = null; | 454 String packageName = null; |
351 String className = null; | 455 String className = null; |
352 | 456 |
353 ComponentName() : super(kVersions.last.size); | 457 ComponentName() : super(kVersions.last.size); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 "className: $className" ")"; | 514 "className: $className" ")"; |
411 } | 515 } |
412 | 516 |
413 Map toJson() { | 517 Map toJson() { |
414 Map map = new Map(); | 518 Map map = new Map(); |
415 map["packageName"] = packageName; | 519 map["packageName"] = packageName; |
416 map["className"] = className; | 520 map["className"] = className; |
417 return map; | 521 return map; |
418 } | 522 } |
419 } | 523 } |
| 524 mojom_types.MojomStruct _activity_ComponentName__() { |
| 525 return new mojom_types.MojomStruct() |
| 526 ..declData = (new mojom_types.DeclarationData() |
| 527 ..shortName = 'ComponentName' |
| 528 ..fullIdentifier = 'activity.ComponentName') |
| 529 ..fields = <mojom_types.StructField>[ |
| 530 new mojom_types.StructField() |
| 531 ..declData = (new mojom_types.DeclarationData()..shortName = 'PackageNam
e') |
| 532 ..type = (new mojom_types.Type() |
| 533 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 534 |
| 535 new mojom_types.StructField() |
| 536 ..declData = (new mojom_types.DeclarationData()..shortName = 'ClassName'
) |
| 537 ..type = (new mojom_types.Type() |
| 538 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 539 ]; |
| 540 } |
420 | 541 |
421 | 542 |
422 class Intent extends bindings.Struct { | 543 class Intent extends bindings.Struct { |
423 static const List<bindings.StructDataHeader> kVersions = const [ | 544 static const List<bindings.StructDataHeader> kVersions = const [ |
424 const bindings.StructDataHeader(56, 0) | 545 const bindings.StructDataHeader(56, 0) |
425 ]; | 546 ]; |
426 String action = null; | 547 String action = null; |
427 String url = null; | 548 String url = null; |
428 int flags = 0; | 549 int flags = 0; |
429 ComponentName component = null; | 550 ComponentName component = null; |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 Map map = new Map(); | 663 Map map = new Map(); |
543 map["action"] = action; | 664 map["action"] = action; |
544 map["url"] = url; | 665 map["url"] = url; |
545 map["flags"] = flags; | 666 map["flags"] = flags; |
546 map["component"] = component; | 667 map["component"] = component; |
547 map["stringExtras"] = stringExtras; | 668 map["stringExtras"] = stringExtras; |
548 map["type"] = type; | 669 map["type"] = type; |
549 return map; | 670 return map; |
550 } | 671 } |
551 } | 672 } |
| 673 mojom_types.MojomStruct _activity_Intent__() { |
| 674 return new mojom_types.MojomStruct() |
| 675 ..declData = (new mojom_types.DeclarationData() |
| 676 ..shortName = 'Intent' |
| 677 ..fullIdentifier = 'activity.Intent') |
| 678 ..fields = <mojom_types.StructField>[ |
| 679 new mojom_types.StructField() |
| 680 ..declData = (new mojom_types.DeclarationData()..shortName = 'Action') |
| 681 ..type = (new mojom_types.Type() |
| 682 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 683 |
| 684 new mojom_types.StructField() |
| 685 ..declData = (new mojom_types.DeclarationData()..shortName = 'Url') |
| 686 ..type = (new mojom_types.Type() |
| 687 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 688 |
| 689 new mojom_types.StructField() |
| 690 ..declData = (new mojom_types.DeclarationData()..shortName = 'Flags') |
| 691 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.ui
nt32), |
| 692 |
| 693 new mojom_types.StructField() |
| 694 ..declData = (new mojom_types.DeclarationData()..shortName = 'Component'
) |
| 695 ..type = (new mojom_types.Type() |
| 696 ..typeReference = (new mojom_types.TypeReference() |
| 697 ..nullable = true |
| 698 |
| 699 |
| 700 ..identifier = '_activity_ComponentName__' |
| 701 ..typeKey = '_activity_ComponentName__' |
| 702 )), |
| 703 |
| 704 new mojom_types.StructField() |
| 705 ..declData = (new mojom_types.DeclarationData()..shortName = 'StringExtr
as') |
| 706 ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType
() |
| 707 ..nullable = true |
| 708 |
| 709 ..elementType = (new mojom_types.Type() |
| 710 ..typeReference = (new mojom_types.TypeReference() |
| 711 |
| 712 ..identifier = '_activity_StringExtra__' |
| 713 ..typeKey = '_activity_StringExtra__' |
| 714 )))), |
| 715 |
| 716 new mojom_types.StructField() |
| 717 ..declData = (new mojom_types.DeclarationData()..shortName = 'Type') |
| 718 ..type = (new mojom_types.Type() |
| 719 ..stringType = (new mojom_types.StringType()..nullable = true)), |
| 720 ]; |
| 721 } |
552 | 722 |
553 | 723 |
554 class TaskDescription extends bindings.Struct { | 724 class TaskDescription extends bindings.Struct { |
555 static const List<bindings.StructDataHeader> kVersions = const [ | 725 static const List<bindings.StructDataHeader> kVersions = const [ |
556 const bindings.StructDataHeader(24, 0) | 726 const bindings.StructDataHeader(24, 0) |
557 ]; | 727 ]; |
558 String label = null; | 728 String label = null; |
559 int primaryColor = 0; | 729 int primaryColor = 0; |
560 | 730 |
561 TaskDescription() : super(kVersions.last.size); | 731 TaskDescription() : super(kVersions.last.size); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 "primaryColor: $primaryColor" ")"; | 788 "primaryColor: $primaryColor" ")"; |
619 } | 789 } |
620 | 790 |
621 Map toJson() { | 791 Map toJson() { |
622 Map map = new Map(); | 792 Map map = new Map(); |
623 map["label"] = label; | 793 map["label"] = label; |
624 map["primaryColor"] = primaryColor; | 794 map["primaryColor"] = primaryColor; |
625 return map; | 795 return map; |
626 } | 796 } |
627 } | 797 } |
| 798 mojom_types.MojomStruct _activity_TaskDescription__() { |
| 799 return new mojom_types.MojomStruct() |
| 800 ..declData = (new mojom_types.DeclarationData() |
| 801 ..shortName = 'TaskDescription' |
| 802 ..fullIdentifier = 'activity.TaskDescription') |
| 803 ..fields = <mojom_types.StructField>[ |
| 804 new mojom_types.StructField() |
| 805 ..declData = (new mojom_types.DeclarationData()..shortName = 'Label') |
| 806 ..type = (new mojom_types.Type() |
| 807 ..stringType = (new mojom_types.StringType()..nullable = true)), |
| 808 |
| 809 new mojom_types.StructField() |
| 810 ..declData = (new mojom_types.DeclarationData()..shortName = 'PrimaryCol
or') |
| 811 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.ui
nt32), |
| 812 ]; |
| 813 } |
628 | 814 |
629 | 815 |
630 class _ActivityGetUserFeedbackParams extends bindings.Struct { | 816 class _ActivityGetUserFeedbackParams extends bindings.Struct { |
631 static const List<bindings.StructDataHeader> kVersions = const [ | 817 static const List<bindings.StructDataHeader> kVersions = const [ |
632 const bindings.StructDataHeader(16, 0) | 818 const bindings.StructDataHeader(16, 0) |
633 ]; | 819 ]; |
634 Object userFeedback = null; | 820 Object userFeedback = null; |
635 | 821 |
636 _ActivityGetUserFeedbackParams() : super(kVersions.last.size); | 822 _ActivityGetUserFeedbackParams() : super(kVersions.last.size); |
637 | 823 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
684 String toString() { | 870 String toString() { |
685 return "_ActivityGetUserFeedbackParams(" | 871 return "_ActivityGetUserFeedbackParams(" |
686 "userFeedback: $userFeedback" ")"; | 872 "userFeedback: $userFeedback" ")"; |
687 } | 873 } |
688 | 874 |
689 Map toJson() { | 875 Map toJson() { |
690 throw new bindings.MojoCodecError( | 876 throw new bindings.MojoCodecError( |
691 'Object containing handles cannot be encoded to JSON.'); | 877 'Object containing handles cannot be encoded to JSON.'); |
692 } | 878 } |
693 } | 879 } |
| 880 mojom_types.MojomStruct _activity_Activity_GetUserFeedback_Params__() { |
| 881 return new mojom_types.MojomStruct() |
| 882 ..declData = (new mojom_types.DeclarationData() |
| 883 ..shortName = '_ActivityGetUserFeedbackParams' |
| 884 ..fullIdentifier = 'activity._ActivityGetUserFeedbackParams') |
| 885 ..fields = <mojom_types.StructField>[ |
| 886 new mojom_types.StructField() |
| 887 ..declData = (new mojom_types.DeclarationData()..shortName = 'UserFeedba
ck') |
| 888 ..type = (new mojom_types.Type() |
| 889 ..typeReference = (new mojom_types.TypeReference() |
| 890 |
| 891 ..isInterfaceRequest = true |
| 892 ..identifier = '_activity_UserFeedback__' |
| 893 ..typeKey = '_activity_UserFeedback__' |
| 894 )), |
| 895 ]; |
| 896 } |
694 | 897 |
695 | 898 |
696 class _ActivityStartActivityParams extends bindings.Struct { | 899 class _ActivityStartActivityParams extends bindings.Struct { |
697 static const List<bindings.StructDataHeader> kVersions = const [ | 900 static const List<bindings.StructDataHeader> kVersions = const [ |
698 const bindings.StructDataHeader(16, 0) | 901 const bindings.StructDataHeader(16, 0) |
699 ]; | 902 ]; |
700 Intent intent = null; | 903 Intent intent = null; |
701 | 904 |
702 _ActivityStartActivityParams() : super(kVersions.last.size); | 905 _ActivityStartActivityParams() : super(kVersions.last.size); |
703 | 906 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 return "_ActivityStartActivityParams(" | 955 return "_ActivityStartActivityParams(" |
753 "intent: $intent" ")"; | 956 "intent: $intent" ")"; |
754 } | 957 } |
755 | 958 |
756 Map toJson() { | 959 Map toJson() { |
757 Map map = new Map(); | 960 Map map = new Map(); |
758 map["intent"] = intent; | 961 map["intent"] = intent; |
759 return map; | 962 return map; |
760 } | 963 } |
761 } | 964 } |
| 965 mojom_types.MojomStruct _activity_Activity_StartActivity_Params__() { |
| 966 return new mojom_types.MojomStruct() |
| 967 ..declData = (new mojom_types.DeclarationData() |
| 968 ..shortName = '_ActivityStartActivityParams' |
| 969 ..fullIdentifier = 'activity._ActivityStartActivityParams') |
| 970 ..fields = <mojom_types.StructField>[ |
| 971 new mojom_types.StructField() |
| 972 ..declData = (new mojom_types.DeclarationData()..shortName = 'Intent') |
| 973 ..type = (new mojom_types.Type() |
| 974 ..typeReference = (new mojom_types.TypeReference() |
| 975 |
| 976 ..identifier = '_activity_Intent__' |
| 977 ..typeKey = '_activity_Intent__' |
| 978 )), |
| 979 ]; |
| 980 } |
762 | 981 |
763 | 982 |
764 class _ActivityFinishCurrentActivityParams extends bindings.Struct { | 983 class _ActivityFinishCurrentActivityParams extends bindings.Struct { |
765 static const List<bindings.StructDataHeader> kVersions = const [ | 984 static const List<bindings.StructDataHeader> kVersions = const [ |
766 const bindings.StructDataHeader(8, 0) | 985 const bindings.StructDataHeader(8, 0) |
767 ]; | 986 ]; |
768 | 987 |
769 _ActivityFinishCurrentActivityParams() : super(kVersions.last.size); | 988 _ActivityFinishCurrentActivityParams() : super(kVersions.last.size); |
770 | 989 |
771 static _ActivityFinishCurrentActivityParams deserialize(bindings.Message messa
ge) { | 990 static _ActivityFinishCurrentActivityParams deserialize(bindings.Message messa
ge) { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 | 1029 |
811 String toString() { | 1030 String toString() { |
812 return "_ActivityFinishCurrentActivityParams("")"; | 1031 return "_ActivityFinishCurrentActivityParams("")"; |
813 } | 1032 } |
814 | 1033 |
815 Map toJson() { | 1034 Map toJson() { |
816 Map map = new Map(); | 1035 Map map = new Map(); |
817 return map; | 1036 return map; |
818 } | 1037 } |
819 } | 1038 } |
| 1039 mojom_types.MojomStruct _activity_Activity_FinishCurrentActivity_Params__() { |
| 1040 return new mojom_types.MojomStruct() |
| 1041 ..declData = (new mojom_types.DeclarationData() |
| 1042 ..shortName = '_ActivityFinishCurrentActivityParams' |
| 1043 ..fullIdentifier = 'activity._ActivityFinishCurrentActivityParams') |
| 1044 ..fields = <mojom_types.StructField>[]; |
| 1045 } |
820 | 1046 |
821 | 1047 |
822 class _ActivitySetTaskDescriptionParams extends bindings.Struct { | 1048 class _ActivitySetTaskDescriptionParams extends bindings.Struct { |
823 static const List<bindings.StructDataHeader> kVersions = const [ | 1049 static const List<bindings.StructDataHeader> kVersions = const [ |
824 const bindings.StructDataHeader(16, 0) | 1050 const bindings.StructDataHeader(16, 0) |
825 ]; | 1051 ]; |
826 TaskDescription description = null; | 1052 TaskDescription description = null; |
827 | 1053 |
828 _ActivitySetTaskDescriptionParams() : super(kVersions.last.size); | 1054 _ActivitySetTaskDescriptionParams() : super(kVersions.last.size); |
829 | 1055 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
878 return "_ActivitySetTaskDescriptionParams(" | 1104 return "_ActivitySetTaskDescriptionParams(" |
879 "description: $description" ")"; | 1105 "description: $description" ")"; |
880 } | 1106 } |
881 | 1107 |
882 Map toJson() { | 1108 Map toJson() { |
883 Map map = new Map(); | 1109 Map map = new Map(); |
884 map["description"] = description; | 1110 map["description"] = description; |
885 return map; | 1111 return map; |
886 } | 1112 } |
887 } | 1113 } |
| 1114 mojom_types.MojomStruct _activity_Activity_SetTaskDescription_Params__() { |
| 1115 return new mojom_types.MojomStruct() |
| 1116 ..declData = (new mojom_types.DeclarationData() |
| 1117 ..shortName = '_ActivitySetTaskDescriptionParams' |
| 1118 ..fullIdentifier = 'activity._ActivitySetTaskDescriptionParams') |
| 1119 ..fields = <mojom_types.StructField>[ |
| 1120 new mojom_types.StructField() |
| 1121 ..declData = (new mojom_types.DeclarationData()..shortName = 'Descriptio
n') |
| 1122 ..type = (new mojom_types.Type() |
| 1123 ..typeReference = (new mojom_types.TypeReference() |
| 1124 |
| 1125 ..identifier = '_activity_TaskDescription__' |
| 1126 ..typeKey = '_activity_TaskDescription__' |
| 1127 )), |
| 1128 ]; |
| 1129 } |
888 | 1130 |
889 | 1131 |
890 class _ActivitySetSystemUiVisibilityParams extends bindings.Struct { | 1132 class _ActivitySetSystemUiVisibilityParams extends bindings.Struct { |
891 static const List<bindings.StructDataHeader> kVersions = const [ | 1133 static const List<bindings.StructDataHeader> kVersions = const [ |
892 const bindings.StructDataHeader(16, 0) | 1134 const bindings.StructDataHeader(16, 0) |
893 ]; | 1135 ]; |
894 SystemUiVisibility visibility = null; | 1136 SystemUiVisibility visibility = null; |
895 | 1137 |
896 _ActivitySetSystemUiVisibilityParams() : super(kVersions.last.size); | 1138 _ActivitySetSystemUiVisibilityParams() : super(kVersions.last.size); |
897 | 1139 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
949 return "_ActivitySetSystemUiVisibilityParams(" | 1191 return "_ActivitySetSystemUiVisibilityParams(" |
950 "visibility: $visibility" ")"; | 1192 "visibility: $visibility" ")"; |
951 } | 1193 } |
952 | 1194 |
953 Map toJson() { | 1195 Map toJson() { |
954 Map map = new Map(); | 1196 Map map = new Map(); |
955 map["visibility"] = visibility; | 1197 map["visibility"] = visibility; |
956 return map; | 1198 return map; |
957 } | 1199 } |
958 } | 1200 } |
| 1201 mojom_types.MojomStruct _activity_Activity_SetSystemUIVisibility_Params__() { |
| 1202 return new mojom_types.MojomStruct() |
| 1203 ..declData = (new mojom_types.DeclarationData() |
| 1204 ..shortName = '_ActivitySetSystemUiVisibilityParams' |
| 1205 ..fullIdentifier = 'activity._ActivitySetSystemUiVisibilityParams') |
| 1206 ..fields = <mojom_types.StructField>[ |
| 1207 new mojom_types.StructField() |
| 1208 ..declData = (new mojom_types.DeclarationData()..shortName = 'Visibility
') |
| 1209 ..type = (new mojom_types.Type() |
| 1210 ..typeReference = (new mojom_types.TypeReference() |
| 1211 |
| 1212 ..identifier = '_activity_SystemUIVisibility__' |
| 1213 ..typeKey = '_activity_SystemUIVisibility__' |
| 1214 )), |
| 1215 ]; |
| 1216 } |
959 | 1217 |
960 | 1218 |
961 class _ActivitySetRequestedOrientationParams extends bindings.Struct { | 1219 class _ActivitySetRequestedOrientationParams extends bindings.Struct { |
962 static const List<bindings.StructDataHeader> kVersions = const [ | 1220 static const List<bindings.StructDataHeader> kVersions = const [ |
963 const bindings.StructDataHeader(16, 0) | 1221 const bindings.StructDataHeader(16, 0) |
964 ]; | 1222 ]; |
965 ScreenOrientation orientation = null; | 1223 ScreenOrientation orientation = null; |
966 | 1224 |
967 _ActivitySetRequestedOrientationParams() : super(kVersions.last.size); | 1225 _ActivitySetRequestedOrientationParams() : super(kVersions.last.size); |
968 | 1226 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 return "_ActivitySetRequestedOrientationParams(" | 1278 return "_ActivitySetRequestedOrientationParams(" |
1021 "orientation: $orientation" ")"; | 1279 "orientation: $orientation" ")"; |
1022 } | 1280 } |
1023 | 1281 |
1024 Map toJson() { | 1282 Map toJson() { |
1025 Map map = new Map(); | 1283 Map map = new Map(); |
1026 map["orientation"] = orientation; | 1284 map["orientation"] = orientation; |
1027 return map; | 1285 return map; |
1028 } | 1286 } |
1029 } | 1287 } |
| 1288 mojom_types.MojomStruct _activity_Activity_SetRequestedOrientation_Params__() { |
| 1289 return new mojom_types.MojomStruct() |
| 1290 ..declData = (new mojom_types.DeclarationData() |
| 1291 ..shortName = '_ActivitySetRequestedOrientationParams' |
| 1292 ..fullIdentifier = 'activity._ActivitySetRequestedOrientationParams') |
| 1293 ..fields = <mojom_types.StructField>[ |
| 1294 new mojom_types.StructField() |
| 1295 ..declData = (new mojom_types.DeclarationData()..shortName = 'Orientatio
n') |
| 1296 ..type = (new mojom_types.Type() |
| 1297 ..typeReference = (new mojom_types.TypeReference() |
| 1298 |
| 1299 ..identifier = '_activity_ScreenOrientation__' |
| 1300 ..typeKey = '_activity_ScreenOrientation__' |
| 1301 )), |
| 1302 ]; |
| 1303 } |
1030 | 1304 |
1031 | 1305 |
1032 class _PathServiceGetAppDataDirParams extends bindings.Struct { | 1306 class _PathServiceGetAppDataDirParams extends bindings.Struct { |
1033 static const List<bindings.StructDataHeader> kVersions = const [ | 1307 static const List<bindings.StructDataHeader> kVersions = const [ |
1034 const bindings.StructDataHeader(8, 0) | 1308 const bindings.StructDataHeader(8, 0) |
1035 ]; | 1309 ]; |
1036 | 1310 |
1037 _PathServiceGetAppDataDirParams() : super(kVersions.last.size); | 1311 _PathServiceGetAppDataDirParams() : super(kVersions.last.size); |
1038 | 1312 |
1039 static _PathServiceGetAppDataDirParams deserialize(bindings.Message message) { | 1313 static _PathServiceGetAppDataDirParams deserialize(bindings.Message message) { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1078 | 1352 |
1079 String toString() { | 1353 String toString() { |
1080 return "_PathServiceGetAppDataDirParams("")"; | 1354 return "_PathServiceGetAppDataDirParams("")"; |
1081 } | 1355 } |
1082 | 1356 |
1083 Map toJson() { | 1357 Map toJson() { |
1084 Map map = new Map(); | 1358 Map map = new Map(); |
1085 return map; | 1359 return map; |
1086 } | 1360 } |
1087 } | 1361 } |
| 1362 mojom_types.MojomStruct _activity_PathService_GetAppDataDir_Params__() { |
| 1363 return new mojom_types.MojomStruct() |
| 1364 ..declData = (new mojom_types.DeclarationData() |
| 1365 ..shortName = '_PathServiceGetAppDataDirParams' |
| 1366 ..fullIdentifier = 'activity._PathServiceGetAppDataDirParams') |
| 1367 ..fields = <mojom_types.StructField>[]; |
| 1368 } |
1088 | 1369 |
1089 | 1370 |
1090 class PathServiceGetAppDataDirResponseParams extends bindings.Struct { | 1371 class PathServiceGetAppDataDirResponseParams extends bindings.Struct { |
1091 static const List<bindings.StructDataHeader> kVersions = const [ | 1372 static const List<bindings.StructDataHeader> kVersions = const [ |
1092 const bindings.StructDataHeader(16, 0) | 1373 const bindings.StructDataHeader(16, 0) |
1093 ]; | 1374 ]; |
1094 String path = null; | 1375 String path = null; |
1095 | 1376 |
1096 PathServiceGetAppDataDirResponseParams() : super(kVersions.last.size); | 1377 PathServiceGetAppDataDirResponseParams() : super(kVersions.last.size); |
1097 | 1378 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1145 return "PathServiceGetAppDataDirResponseParams(" | 1426 return "PathServiceGetAppDataDirResponseParams(" |
1146 "path: $path" ")"; | 1427 "path: $path" ")"; |
1147 } | 1428 } |
1148 | 1429 |
1149 Map toJson() { | 1430 Map toJson() { |
1150 Map map = new Map(); | 1431 Map map = new Map(); |
1151 map["path"] = path; | 1432 map["path"] = path; |
1152 return map; | 1433 return map; |
1153 } | 1434 } |
1154 } | 1435 } |
| 1436 mojom_types.MojomStruct _activity_PathService_GetAppDataDir_ResponseParams__() { |
| 1437 return new mojom_types.MojomStruct() |
| 1438 ..declData = (new mojom_types.DeclarationData() |
| 1439 ..shortName = 'PathServiceGetAppDataDirResponseParams' |
| 1440 ..fullIdentifier = 'activity.PathServiceGetAppDataDirResponseParams') |
| 1441 ..fields = <mojom_types.StructField>[ |
| 1442 new mojom_types.StructField() |
| 1443 ..declData = (new mojom_types.DeclarationData()..shortName = 'Path') |
| 1444 ..type = (new mojom_types.Type() |
| 1445 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 1446 ]; |
| 1447 } |
1155 | 1448 |
1156 | 1449 |
1157 class _PathServiceGetFilesDirParams extends bindings.Struct { | 1450 class _PathServiceGetFilesDirParams extends bindings.Struct { |
1158 static const List<bindings.StructDataHeader> kVersions = const [ | 1451 static const List<bindings.StructDataHeader> kVersions = const [ |
1159 const bindings.StructDataHeader(8, 0) | 1452 const bindings.StructDataHeader(8, 0) |
1160 ]; | 1453 ]; |
1161 | 1454 |
1162 _PathServiceGetFilesDirParams() : super(kVersions.last.size); | 1455 _PathServiceGetFilesDirParams() : super(kVersions.last.size); |
1163 | 1456 |
1164 static _PathServiceGetFilesDirParams deserialize(bindings.Message message) { | 1457 static _PathServiceGetFilesDirParams deserialize(bindings.Message message) { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1203 | 1496 |
1204 String toString() { | 1497 String toString() { |
1205 return "_PathServiceGetFilesDirParams("")"; | 1498 return "_PathServiceGetFilesDirParams("")"; |
1206 } | 1499 } |
1207 | 1500 |
1208 Map toJson() { | 1501 Map toJson() { |
1209 Map map = new Map(); | 1502 Map map = new Map(); |
1210 return map; | 1503 return map; |
1211 } | 1504 } |
1212 } | 1505 } |
| 1506 mojom_types.MojomStruct _activity_PathService_GetFilesDir_Params__() { |
| 1507 return new mojom_types.MojomStruct() |
| 1508 ..declData = (new mojom_types.DeclarationData() |
| 1509 ..shortName = '_PathServiceGetFilesDirParams' |
| 1510 ..fullIdentifier = 'activity._PathServiceGetFilesDirParams') |
| 1511 ..fields = <mojom_types.StructField>[]; |
| 1512 } |
1213 | 1513 |
1214 | 1514 |
1215 class PathServiceGetFilesDirResponseParams extends bindings.Struct { | 1515 class PathServiceGetFilesDirResponseParams extends bindings.Struct { |
1216 static const List<bindings.StructDataHeader> kVersions = const [ | 1516 static const List<bindings.StructDataHeader> kVersions = const [ |
1217 const bindings.StructDataHeader(16, 0) | 1517 const bindings.StructDataHeader(16, 0) |
1218 ]; | 1518 ]; |
1219 String path = null; | 1519 String path = null; |
1220 | 1520 |
1221 PathServiceGetFilesDirResponseParams() : super(kVersions.last.size); | 1521 PathServiceGetFilesDirResponseParams() : super(kVersions.last.size); |
1222 | 1522 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1270 return "PathServiceGetFilesDirResponseParams(" | 1570 return "PathServiceGetFilesDirResponseParams(" |
1271 "path: $path" ")"; | 1571 "path: $path" ")"; |
1272 } | 1572 } |
1273 | 1573 |
1274 Map toJson() { | 1574 Map toJson() { |
1275 Map map = new Map(); | 1575 Map map = new Map(); |
1276 map["path"] = path; | 1576 map["path"] = path; |
1277 return map; | 1577 return map; |
1278 } | 1578 } |
1279 } | 1579 } |
| 1580 mojom_types.MojomStruct _activity_PathService_GetFilesDir_ResponseParams__() { |
| 1581 return new mojom_types.MojomStruct() |
| 1582 ..declData = (new mojom_types.DeclarationData() |
| 1583 ..shortName = 'PathServiceGetFilesDirResponseParams' |
| 1584 ..fullIdentifier = 'activity.PathServiceGetFilesDirResponseParams') |
| 1585 ..fields = <mojom_types.StructField>[ |
| 1586 new mojom_types.StructField() |
| 1587 ..declData = (new mojom_types.DeclarationData()..shortName = 'Path') |
| 1588 ..type = (new mojom_types.Type() |
| 1589 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 1590 ]; |
| 1591 } |
1280 | 1592 |
1281 | 1593 |
1282 class _PathServiceGetCacheDirParams extends bindings.Struct { | 1594 class _PathServiceGetCacheDirParams extends bindings.Struct { |
1283 static const List<bindings.StructDataHeader> kVersions = const [ | 1595 static const List<bindings.StructDataHeader> kVersions = const [ |
1284 const bindings.StructDataHeader(8, 0) | 1596 const bindings.StructDataHeader(8, 0) |
1285 ]; | 1597 ]; |
1286 | 1598 |
1287 _PathServiceGetCacheDirParams() : super(kVersions.last.size); | 1599 _PathServiceGetCacheDirParams() : super(kVersions.last.size); |
1288 | 1600 |
1289 static _PathServiceGetCacheDirParams deserialize(bindings.Message message) { | 1601 static _PathServiceGetCacheDirParams deserialize(bindings.Message message) { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1328 | 1640 |
1329 String toString() { | 1641 String toString() { |
1330 return "_PathServiceGetCacheDirParams("")"; | 1642 return "_PathServiceGetCacheDirParams("")"; |
1331 } | 1643 } |
1332 | 1644 |
1333 Map toJson() { | 1645 Map toJson() { |
1334 Map map = new Map(); | 1646 Map map = new Map(); |
1335 return map; | 1647 return map; |
1336 } | 1648 } |
1337 } | 1649 } |
| 1650 mojom_types.MojomStruct _activity_PathService_GetCacheDir_Params__() { |
| 1651 return new mojom_types.MojomStruct() |
| 1652 ..declData = (new mojom_types.DeclarationData() |
| 1653 ..shortName = '_PathServiceGetCacheDirParams' |
| 1654 ..fullIdentifier = 'activity._PathServiceGetCacheDirParams') |
| 1655 ..fields = <mojom_types.StructField>[]; |
| 1656 } |
1338 | 1657 |
1339 | 1658 |
1340 class PathServiceGetCacheDirResponseParams extends bindings.Struct { | 1659 class PathServiceGetCacheDirResponseParams extends bindings.Struct { |
1341 static const List<bindings.StructDataHeader> kVersions = const [ | 1660 static const List<bindings.StructDataHeader> kVersions = const [ |
1342 const bindings.StructDataHeader(16, 0) | 1661 const bindings.StructDataHeader(16, 0) |
1343 ]; | 1662 ]; |
1344 String path = null; | 1663 String path = null; |
1345 | 1664 |
1346 PathServiceGetCacheDirResponseParams() : super(kVersions.last.size); | 1665 PathServiceGetCacheDirResponseParams() : super(kVersions.last.size); |
1347 | 1666 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1395 return "PathServiceGetCacheDirResponseParams(" | 1714 return "PathServiceGetCacheDirResponseParams(" |
1396 "path: $path" ")"; | 1715 "path: $path" ")"; |
1397 } | 1716 } |
1398 | 1717 |
1399 Map toJson() { | 1718 Map toJson() { |
1400 Map map = new Map(); | 1719 Map map = new Map(); |
1401 map["path"] = path; | 1720 map["path"] = path; |
1402 return map; | 1721 return map; |
1403 } | 1722 } |
1404 } | 1723 } |
| 1724 mojom_types.MojomStruct _activity_PathService_GetCacheDir_ResponseParams__() { |
| 1725 return new mojom_types.MojomStruct() |
| 1726 ..declData = (new mojom_types.DeclarationData() |
| 1727 ..shortName = 'PathServiceGetCacheDirResponseParams' |
| 1728 ..fullIdentifier = 'activity.PathServiceGetCacheDirResponseParams') |
| 1729 ..fields = <mojom_types.StructField>[ |
| 1730 new mojom_types.StructField() |
| 1731 ..declData = (new mojom_types.DeclarationData()..shortName = 'Path') |
| 1732 ..type = (new mojom_types.Type() |
| 1733 ..stringType = (new mojom_types.StringType()..nullable = false)), |
| 1734 ]; |
| 1735 } |
1405 | 1736 |
1406 | 1737 |
1407 class _UserFeedbackPerformHapticFeedbackParams extends bindings.Struct { | 1738 class _UserFeedbackPerformHapticFeedbackParams extends bindings.Struct { |
1408 static const List<bindings.StructDataHeader> kVersions = const [ | 1739 static const List<bindings.StructDataHeader> kVersions = const [ |
1409 const bindings.StructDataHeader(16, 0) | 1740 const bindings.StructDataHeader(16, 0) |
1410 ]; | 1741 ]; |
1411 HapticFeedbackType type = null; | 1742 HapticFeedbackType type = null; |
1412 | 1743 |
1413 _UserFeedbackPerformHapticFeedbackParams() : super(kVersions.last.size); | 1744 _UserFeedbackPerformHapticFeedbackParams() : super(kVersions.last.size); |
1414 | 1745 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1466 return "_UserFeedbackPerformHapticFeedbackParams(" | 1797 return "_UserFeedbackPerformHapticFeedbackParams(" |
1467 "type: $type" ")"; | 1798 "type: $type" ")"; |
1468 } | 1799 } |
1469 | 1800 |
1470 Map toJson() { | 1801 Map toJson() { |
1471 Map map = new Map(); | 1802 Map map = new Map(); |
1472 map["type"] = type; | 1803 map["type"] = type; |
1473 return map; | 1804 return map; |
1474 } | 1805 } |
1475 } | 1806 } |
| 1807 mojom_types.MojomStruct _activity_UserFeedback_PerformHapticFeedback_Params__()
{ |
| 1808 return new mojom_types.MojomStruct() |
| 1809 ..declData = (new mojom_types.DeclarationData() |
| 1810 ..shortName = '_UserFeedbackPerformHapticFeedbackParams' |
| 1811 ..fullIdentifier = 'activity._UserFeedbackPerformHapticFeedbackParams') |
| 1812 ..fields = <mojom_types.StructField>[ |
| 1813 new mojom_types.StructField() |
| 1814 ..declData = (new mojom_types.DeclarationData()..shortName = 'Type') |
| 1815 ..type = (new mojom_types.Type() |
| 1816 ..typeReference = (new mojom_types.TypeReference() |
| 1817 |
| 1818 ..identifier = '_activity_HapticFeedbackType__' |
| 1819 ..typeKey = '_activity_HapticFeedbackType__' |
| 1820 )), |
| 1821 ]; |
| 1822 } |
1476 | 1823 |
1477 | 1824 |
1478 class _UserFeedbackPerformAuralFeedbackParams extends bindings.Struct { | 1825 class _UserFeedbackPerformAuralFeedbackParams extends bindings.Struct { |
1479 static const List<bindings.StructDataHeader> kVersions = const [ | 1826 static const List<bindings.StructDataHeader> kVersions = const [ |
1480 const bindings.StructDataHeader(16, 0) | 1827 const bindings.StructDataHeader(16, 0) |
1481 ]; | 1828 ]; |
1482 AuralFeedbackType type = null; | 1829 AuralFeedbackType type = null; |
1483 | 1830 |
1484 _UserFeedbackPerformAuralFeedbackParams() : super(kVersions.last.size); | 1831 _UserFeedbackPerformAuralFeedbackParams() : super(kVersions.last.size); |
1485 | 1832 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1537 return "_UserFeedbackPerformAuralFeedbackParams(" | 1884 return "_UserFeedbackPerformAuralFeedbackParams(" |
1538 "type: $type" ")"; | 1885 "type: $type" ")"; |
1539 } | 1886 } |
1540 | 1887 |
1541 Map toJson() { | 1888 Map toJson() { |
1542 Map map = new Map(); | 1889 Map map = new Map(); |
1543 map["type"] = type; | 1890 map["type"] = type; |
1544 return map; | 1891 return map; |
1545 } | 1892 } |
1546 } | 1893 } |
| 1894 mojom_types.MojomStruct _activity_UserFeedback_PerformAuralFeedback_Params__() { |
| 1895 return new mojom_types.MojomStruct() |
| 1896 ..declData = (new mojom_types.DeclarationData() |
| 1897 ..shortName = '_UserFeedbackPerformAuralFeedbackParams' |
| 1898 ..fullIdentifier = 'activity._UserFeedbackPerformAuralFeedbackParams') |
| 1899 ..fields = <mojom_types.StructField>[ |
| 1900 new mojom_types.StructField() |
| 1901 ..declData = (new mojom_types.DeclarationData()..shortName = 'Type') |
| 1902 ..type = (new mojom_types.Type() |
| 1903 ..typeReference = (new mojom_types.TypeReference() |
| 1904 |
| 1905 ..identifier = '_activity_AuralFeedbackType__' |
| 1906 ..typeKey = '_activity_AuralFeedbackType__' |
| 1907 )), |
| 1908 ]; |
| 1909 } |
| 1910 |
1547 | 1911 |
1548 const int _Activity_getUserFeedbackName = 0; | 1912 const int _Activity_getUserFeedbackName = 0; |
1549 const int _Activity_startActivityName = 1; | 1913 const int _Activity_startActivityName = 1; |
1550 const int _Activity_finishCurrentActivityName = 2; | 1914 const int _Activity_finishCurrentActivityName = 2; |
1551 const int _Activity_setTaskDescriptionName = 3; | 1915 const int _Activity_setTaskDescriptionName = 3; |
1552 const int _Activity_setSystemUiVisibilityName = 4; | 1916 const int _Activity_setSystemUiVisibilityName = 4; |
1553 const int _Activity_setRequestedOrientationName = 5; | 1917 const int _Activity_setRequestedOrientationName = 5; |
1554 | 1918 |
| 1919 mojom_types.MojomInterface _activity_Activity__() { |
| 1920 return new mojom_types.MojomInterface() |
| 1921 ..declData = (new mojom_types.DeclarationData() |
| 1922 ..shortName = 'Activity' |
| 1923 ..fullIdentifier = 'activity.Activity') |
| 1924 ..interfaceName = 'Activity' |
| 1925 ..methods = <int, mojom_types.MojomMethod>{ |
| 1926 _Activity_getUserFeedbackName: new mojom_types.MojomMethod() |
| 1927 ..declData = (new mojom_types.DeclarationData()..shortName = 'GetUserFee
dback') |
| 1928 ..ordinal = _Activity_getUserFeedbackName..parameters = _activity_Activi
ty_GetUserFeedback_Params__(),_Activity_startActivityName: new mojom_types.Mojom
Method() |
| 1929 ..declData = (new mojom_types.DeclarationData()..shortName = 'StartActiv
ity') |
| 1930 ..ordinal = _Activity_startActivityName..parameters = _activity_Activity
_StartActivity_Params__(),_Activity_finishCurrentActivityName: new mojom_types.M
ojomMethod() |
| 1931 ..declData = (new mojom_types.DeclarationData()..shortName = 'FinishCurr
entActivity') |
| 1932 ..ordinal = _Activity_finishCurrentActivityName..parameters = _activity_
Activity_FinishCurrentActivity_Params__(),_Activity_setTaskDescriptionName: new
mojom_types.MojomMethod() |
| 1933 ..declData = (new mojom_types.DeclarationData()..shortName = 'SetTaskDes
cription') |
| 1934 ..ordinal = _Activity_setTaskDescriptionName..parameters = _activity_Act
ivity_SetTaskDescription_Params__(),_Activity_setSystemUiVisibilityName: new moj
om_types.MojomMethod() |
| 1935 ..declData = (new mojom_types.DeclarationData()..shortName = 'SetSystemU
iVisibility') |
| 1936 ..ordinal = _Activity_setSystemUiVisibilityName..parameters = _activity_
Activity_SetSystemUIVisibility_Params__(),_Activity_setRequestedOrientationName:
new mojom_types.MojomMethod() |
| 1937 ..declData = (new mojom_types.DeclarationData()..shortName = 'SetRequest
edOrientation') |
| 1938 ..ordinal = _Activity_setRequestedOrientationName..parameters = _activit
y_Activity_SetRequestedOrientation_Params__(), |
| 1939 }; |
| 1940 } |
| 1941 |
| 1942 class _ActivityServiceDescription implements service_describer.ServiceDescriptio
n { |
| 1943 dynamic getTopLevelInterface([Function responseFactory = null]) { |
| 1944 return _activity_Activity__(); |
| 1945 } |
| 1946 dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) { |
| 1947 return getAllMojomTypeDefinitions()[typeKey]; |
| 1948 } |
| 1949 dynamic getAllTypeDefinitions([Function responseFactory = null]) { |
| 1950 return getAllMojomTypeDefinitions(); |
| 1951 } |
| 1952 } |
| 1953 |
1555 abstract class Activity { | 1954 abstract class Activity { |
1556 static const String serviceName = "activity::Activity"; | 1955 static const String serviceName = "activity::Activity"; |
1557 void getUserFeedback(Object userFeedback); | 1956 void getUserFeedback(Object userFeedback); |
1558 void startActivity(Intent intent); | 1957 void startActivity(Intent intent); |
1559 void finishCurrentActivity(); | 1958 void finishCurrentActivity(); |
1560 void setTaskDescription(TaskDescription description); | 1959 void setTaskDescription(TaskDescription description); |
1561 void setSystemUiVisibility(SystemUiVisibility visibility); | 1960 void setSystemUiVisibility(SystemUiVisibility visibility); |
1562 void setRequestedOrientation(ScreenOrientation orientation); | 1961 void setRequestedOrientation(ScreenOrientation orientation); |
1563 } | 1962 } |
1564 | 1963 |
1565 | 1964 |
1566 class _ActivityProxyImpl extends bindings.Proxy { | 1965 class _ActivityProxyImpl extends bindings.Proxy { |
1567 _ActivityProxyImpl.fromEndpoint( | 1966 _ActivityProxyImpl.fromEndpoint( |
1568 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); | 1967 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); |
1569 | 1968 |
1570 _ActivityProxyImpl.fromHandle(core.MojoHandle handle) : | 1969 _ActivityProxyImpl.fromHandle(core.MojoHandle handle) : |
1571 super.fromHandle(handle); | 1970 super.fromHandle(handle); |
1572 | 1971 |
1573 _ActivityProxyImpl.unbound() : super.unbound(); | 1972 _ActivityProxyImpl.unbound() : super.unbound(); |
1574 | 1973 |
1575 static _ActivityProxyImpl newFromEndpoint( | 1974 static _ActivityProxyImpl newFromEndpoint( |
1576 core.MojoMessagePipeEndpoint endpoint) { | 1975 core.MojoMessagePipeEndpoint endpoint) { |
1577 assert(endpoint.setDescription("For _ActivityProxyImpl")); | 1976 assert(endpoint.setDescription("For _ActivityProxyImpl")); |
1578 return new _ActivityProxyImpl.fromEndpoint(endpoint); | 1977 return new _ActivityProxyImpl.fromEndpoint(endpoint); |
1579 } | 1978 } |
1580 | 1979 |
| 1980 service_describer.ServiceDescription get serviceDescription => |
| 1981 new _ActivityServiceDescription(); |
| 1982 |
1581 void handleResponse(bindings.ServiceMessage message) { | 1983 void handleResponse(bindings.ServiceMessage message) { |
1582 switch (message.header.type) { | 1984 switch (message.header.type) { |
1583 default: | 1985 default: |
1584 proxyError("Unexpected message type: ${message.header.type}"); | 1986 proxyError("Unexpected message type: ${message.header.type}"); |
1585 close(immediate: true); | 1987 close(immediate: true); |
1586 break; | 1988 break; |
1587 } | 1989 } |
1588 } | 1990 } |
1589 | 1991 |
1590 String toString() { | 1992 String toString() { |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1783 assert(_impl == null); | 2185 assert(_impl == null); |
1784 _impl = d; | 2186 _impl = d; |
1785 } | 2187 } |
1786 | 2188 |
1787 String toString() { | 2189 String toString() { |
1788 var superString = super.toString(); | 2190 var superString = super.toString(); |
1789 return "ActivityStub($superString)"; | 2191 return "ActivityStub($superString)"; |
1790 } | 2192 } |
1791 | 2193 |
1792 int get version => 0; | 2194 int get version => 0; |
| 2195 |
| 2196 |
| 2197 service_describer.ServiceDescription get serviceDescription => |
| 2198 new _ActivityServiceDescription(); |
1793 } | 2199 } |
1794 | 2200 |
1795 const int _PathService_getAppDataDirName = 0; | 2201 const int _PathService_getAppDataDirName = 0; |
1796 const int _PathService_getFilesDirName = 1; | 2202 const int _PathService_getFilesDirName = 1; |
1797 const int _PathService_getCacheDirName = 2; | 2203 const int _PathService_getCacheDirName = 2; |
1798 | 2204 |
| 2205 mojom_types.MojomInterface _activity_PathService__() { |
| 2206 return new mojom_types.MojomInterface() |
| 2207 ..declData = (new mojom_types.DeclarationData() |
| 2208 ..shortName = 'PathService' |
| 2209 ..fullIdentifier = 'activity.PathService') |
| 2210 ..interfaceName = 'PathService' |
| 2211 ..methods = <int, mojom_types.MojomMethod>{ |
| 2212 _PathService_getAppDataDirName: new mojom_types.MojomMethod() |
| 2213 ..declData = (new mojom_types.DeclarationData()..shortName = 'GetAppData
Dir') |
| 2214 ..ordinal = _PathService_getAppDataDirName |
| 2215 ..responseParams = _activity_PathService_GetAppDataDir_ResponseParams__(
)..parameters = _activity_PathService_GetAppDataDir_Params__(),_PathService_getF
ilesDirName: new mojom_types.MojomMethod() |
| 2216 ..declData = (new mojom_types.DeclarationData()..shortName = 'GetFilesDi
r') |
| 2217 ..ordinal = _PathService_getFilesDirName |
| 2218 ..responseParams = _activity_PathService_GetFilesDir_ResponseParams__().
.parameters = _activity_PathService_GetFilesDir_Params__(),_PathService_getCache
DirName: new mojom_types.MojomMethod() |
| 2219 ..declData = (new mojom_types.DeclarationData()..shortName = 'GetCacheDi
r') |
| 2220 ..ordinal = _PathService_getCacheDirName |
| 2221 ..responseParams = _activity_PathService_GetCacheDir_ResponseParams__().
.parameters = _activity_PathService_GetCacheDir_Params__(), |
| 2222 }; |
| 2223 } |
| 2224 |
| 2225 class _PathServiceServiceDescription implements service_describer.ServiceDescrip
tion { |
| 2226 dynamic getTopLevelInterface([Function responseFactory = null]) { |
| 2227 return _activity_PathService__(); |
| 2228 } |
| 2229 dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) { |
| 2230 return getAllMojomTypeDefinitions()[typeKey]; |
| 2231 } |
| 2232 dynamic getAllTypeDefinitions([Function responseFactory = null]) { |
| 2233 return getAllMojomTypeDefinitions(); |
| 2234 } |
| 2235 } |
| 2236 |
1799 abstract class PathService { | 2237 abstract class PathService { |
1800 static const String serviceName = "activity::PathService"; | 2238 static const String serviceName = "activity::PathService"; |
1801 dynamic getAppDataDir([Function responseFactory = null]); | 2239 dynamic getAppDataDir([Function responseFactory = null]); |
1802 dynamic getFilesDir([Function responseFactory = null]); | 2240 dynamic getFilesDir([Function responseFactory = null]); |
1803 dynamic getCacheDir([Function responseFactory = null]); | 2241 dynamic getCacheDir([Function responseFactory = null]); |
1804 } | 2242 } |
1805 | 2243 |
1806 | 2244 |
1807 class _PathServiceProxyImpl extends bindings.Proxy { | 2245 class _PathServiceProxyImpl extends bindings.Proxy { |
1808 _PathServiceProxyImpl.fromEndpoint( | 2246 _PathServiceProxyImpl.fromEndpoint( |
1809 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); | 2247 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); |
1810 | 2248 |
1811 _PathServiceProxyImpl.fromHandle(core.MojoHandle handle) : | 2249 _PathServiceProxyImpl.fromHandle(core.MojoHandle handle) : |
1812 super.fromHandle(handle); | 2250 super.fromHandle(handle); |
1813 | 2251 |
1814 _PathServiceProxyImpl.unbound() : super.unbound(); | 2252 _PathServiceProxyImpl.unbound() : super.unbound(); |
1815 | 2253 |
1816 static _PathServiceProxyImpl newFromEndpoint( | 2254 static _PathServiceProxyImpl newFromEndpoint( |
1817 core.MojoMessagePipeEndpoint endpoint) { | 2255 core.MojoMessagePipeEndpoint endpoint) { |
1818 assert(endpoint.setDescription("For _PathServiceProxyImpl")); | 2256 assert(endpoint.setDescription("For _PathServiceProxyImpl")); |
1819 return new _PathServiceProxyImpl.fromEndpoint(endpoint); | 2257 return new _PathServiceProxyImpl.fromEndpoint(endpoint); |
1820 } | 2258 } |
1821 | 2259 |
| 2260 service_describer.ServiceDescription get serviceDescription => |
| 2261 new _PathServiceServiceDescription(); |
| 2262 |
1822 void handleResponse(bindings.ServiceMessage message) { | 2263 void handleResponse(bindings.ServiceMessage message) { |
1823 switch (message.header.type) { | 2264 switch (message.header.type) { |
1824 case _PathService_getAppDataDirName: | 2265 case _PathService_getAppDataDirName: |
1825 var r = PathServiceGetAppDataDirResponseParams.deserialize( | 2266 var r = PathServiceGetAppDataDirResponseParams.deserialize( |
1826 message.payload); | 2267 message.payload); |
1827 if (!message.header.hasRequestId) { | 2268 if (!message.header.hasRequestId) { |
1828 proxyError("Expected a message with a valid request Id."); | 2269 proxyError("Expected a message with a valid request Id."); |
1829 return; | 2270 return; |
1830 } | 2271 } |
1831 Completer c = completerMap[message.header.requestId]; | 2272 Completer c = completerMap[message.header.requestId]; |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2106 assert(_impl == null); | 2547 assert(_impl == null); |
2107 _impl = d; | 2548 _impl = d; |
2108 } | 2549 } |
2109 | 2550 |
2110 String toString() { | 2551 String toString() { |
2111 var superString = super.toString(); | 2552 var superString = super.toString(); |
2112 return "PathServiceStub($superString)"; | 2553 return "PathServiceStub($superString)"; |
2113 } | 2554 } |
2114 | 2555 |
2115 int get version => 0; | 2556 int get version => 0; |
| 2557 |
| 2558 |
| 2559 service_describer.ServiceDescription get serviceDescription => |
| 2560 new _PathServiceServiceDescription(); |
2116 } | 2561 } |
2117 | 2562 |
2118 const int _UserFeedback_performHapticFeedbackName = 0; | 2563 const int _UserFeedback_performHapticFeedbackName = 0; |
2119 const int _UserFeedback_performAuralFeedbackName = 1; | 2564 const int _UserFeedback_performAuralFeedbackName = 1; |
2120 | 2565 |
| 2566 mojom_types.MojomInterface _activity_UserFeedback__() { |
| 2567 return new mojom_types.MojomInterface() |
| 2568 ..declData = (new mojom_types.DeclarationData() |
| 2569 ..shortName = 'UserFeedback' |
| 2570 ..fullIdentifier = 'activity.UserFeedback') |
| 2571 ..interfaceName = 'UserFeedback' |
| 2572 ..methods = <int, mojom_types.MojomMethod>{ |
| 2573 _UserFeedback_performHapticFeedbackName: new mojom_types.MojomMethod() |
| 2574 ..declData = (new mojom_types.DeclarationData()..shortName = 'PerformHap
ticFeedback') |
| 2575 ..ordinal = _UserFeedback_performHapticFeedbackName..parameters = _activ
ity_UserFeedback_PerformHapticFeedback_Params__(),_UserFeedback_performAuralFeed
backName: new mojom_types.MojomMethod() |
| 2576 ..declData = (new mojom_types.DeclarationData()..shortName = 'PerformAur
alFeedback') |
| 2577 ..ordinal = _UserFeedback_performAuralFeedbackName..parameters = _activi
ty_UserFeedback_PerformAuralFeedback_Params__(), |
| 2578 }; |
| 2579 } |
| 2580 |
| 2581 class _UserFeedbackServiceDescription implements service_describer.ServiceDescri
ption { |
| 2582 dynamic getTopLevelInterface([Function responseFactory = null]) { |
| 2583 return _activity_UserFeedback__(); |
| 2584 } |
| 2585 dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) { |
| 2586 return getAllMojomTypeDefinitions()[typeKey]; |
| 2587 } |
| 2588 dynamic getAllTypeDefinitions([Function responseFactory = null]) { |
| 2589 return getAllMojomTypeDefinitions(); |
| 2590 } |
| 2591 } |
| 2592 |
2121 abstract class UserFeedback { | 2593 abstract class UserFeedback { |
2122 static const String serviceName = null; | 2594 static const String serviceName = null; |
2123 void performHapticFeedback(HapticFeedbackType type); | 2595 void performHapticFeedback(HapticFeedbackType type); |
2124 void performAuralFeedback(AuralFeedbackType type); | 2596 void performAuralFeedback(AuralFeedbackType type); |
2125 } | 2597 } |
2126 | 2598 |
2127 | 2599 |
2128 class _UserFeedbackProxyImpl extends bindings.Proxy { | 2600 class _UserFeedbackProxyImpl extends bindings.Proxy { |
2129 _UserFeedbackProxyImpl.fromEndpoint( | 2601 _UserFeedbackProxyImpl.fromEndpoint( |
2130 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); | 2602 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); |
2131 | 2603 |
2132 _UserFeedbackProxyImpl.fromHandle(core.MojoHandle handle) : | 2604 _UserFeedbackProxyImpl.fromHandle(core.MojoHandle handle) : |
2133 super.fromHandle(handle); | 2605 super.fromHandle(handle); |
2134 | 2606 |
2135 _UserFeedbackProxyImpl.unbound() : super.unbound(); | 2607 _UserFeedbackProxyImpl.unbound() : super.unbound(); |
2136 | 2608 |
2137 static _UserFeedbackProxyImpl newFromEndpoint( | 2609 static _UserFeedbackProxyImpl newFromEndpoint( |
2138 core.MojoMessagePipeEndpoint endpoint) { | 2610 core.MojoMessagePipeEndpoint endpoint) { |
2139 assert(endpoint.setDescription("For _UserFeedbackProxyImpl")); | 2611 assert(endpoint.setDescription("For _UserFeedbackProxyImpl")); |
2140 return new _UserFeedbackProxyImpl.fromEndpoint(endpoint); | 2612 return new _UserFeedbackProxyImpl.fromEndpoint(endpoint); |
2141 } | 2613 } |
2142 | 2614 |
| 2615 service_describer.ServiceDescription get serviceDescription => |
| 2616 new _UserFeedbackServiceDescription(); |
| 2617 |
2143 void handleResponse(bindings.ServiceMessage message) { | 2618 void handleResponse(bindings.ServiceMessage message) { |
2144 switch (message.header.type) { | 2619 switch (message.header.type) { |
2145 default: | 2620 default: |
2146 proxyError("Unexpected message type: ${message.header.type}"); | 2621 proxyError("Unexpected message type: ${message.header.type}"); |
2147 close(immediate: true); | 2622 close(immediate: true); |
2148 break; | 2623 break; |
2149 } | 2624 } |
2150 } | 2625 } |
2151 | 2626 |
2152 String toString() { | 2627 String toString() { |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2290 assert(_impl == null); | 2765 assert(_impl == null); |
2291 _impl = d; | 2766 _impl = d; |
2292 } | 2767 } |
2293 | 2768 |
2294 String toString() { | 2769 String toString() { |
2295 var superString = super.toString(); | 2770 var superString = super.toString(); |
2296 return "UserFeedbackStub($superString)"; | 2771 return "UserFeedbackStub($superString)"; |
2297 } | 2772 } |
2298 | 2773 |
2299 int get version => 0; | 2774 int get version => 0; |
| 2775 |
| 2776 |
| 2777 service_describer.ServiceDescription get serviceDescription => |
| 2778 new _UserFeedbackServiceDescription(); |
2300 } | 2779 } |
2301 | 2780 |
2302 | 2781 |
| 2782 |
| 2783 |
| 2784 |
| 2785 |
| 2786 |
| 2787 Map<String, mojom_types.UserDefinedType> _initDescriptions() { |
| 2788 var map = new HashMap<String, mojom_types.UserDefinedType>(); |
| 2789 map["_activity_SystemUIVisibility__"] = |
| 2790 new mojom_types.UserDefinedType() |
| 2791 ..enumType = _activity_SystemUIVisibility__(); |
| 2792 map["_activity_ScreenOrientation__"] = |
| 2793 new mojom_types.UserDefinedType() |
| 2794 ..enumType = _activity_ScreenOrientation__(); |
| 2795 map["_activity_HapticFeedbackType__"] = |
| 2796 new mojom_types.UserDefinedType() |
| 2797 ..enumType = _activity_HapticFeedbackType__(); |
| 2798 map["_activity_AuralFeedbackType__"] = |
| 2799 new mojom_types.UserDefinedType() |
| 2800 ..enumType = _activity_AuralFeedbackType__(); |
| 2801 map["_activity_StringExtra__"] = |
| 2802 new mojom_types.UserDefinedType() |
| 2803 ..structType = _activity_StringExtra__(); |
| 2804 map["_activity_ComponentName__"] = |
| 2805 new mojom_types.UserDefinedType() |
| 2806 ..structType = _activity_ComponentName__(); |
| 2807 map["_activity_Intent__"] = |
| 2808 new mojom_types.UserDefinedType() |
| 2809 ..structType = _activity_Intent__(); |
| 2810 map["_activity_TaskDescription__"] = |
| 2811 new mojom_types.UserDefinedType() |
| 2812 ..structType = _activity_TaskDescription__(); |
| 2813 map["_activity_Activity_GetUserFeedback_Params__"] = |
| 2814 new mojom_types.UserDefinedType() |
| 2815 ..structType = _activity_Activity_GetUserFeedback_Params__(); |
| 2816 map["_activity_Activity_StartActivity_Params__"] = |
| 2817 new mojom_types.UserDefinedType() |
| 2818 ..structType = _activity_Activity_StartActivity_Params__(); |
| 2819 map["_activity_Activity_FinishCurrentActivity_Params__"] = |
| 2820 new mojom_types.UserDefinedType() |
| 2821 ..structType = _activity_Activity_FinishCurrentActivity_Params__(); |
| 2822 map["_activity_Activity_SetTaskDescription_Params__"] = |
| 2823 new mojom_types.UserDefinedType() |
| 2824 ..structType = _activity_Activity_SetTaskDescription_Params__(); |
| 2825 map["_activity_Activity_SetSystemUIVisibility_Params__"] = |
| 2826 new mojom_types.UserDefinedType() |
| 2827 ..structType = _activity_Activity_SetSystemUIVisibility_Params__(); |
| 2828 map["_activity_Activity_SetRequestedOrientation_Params__"] = |
| 2829 new mojom_types.UserDefinedType() |
| 2830 ..structType = _activity_Activity_SetRequestedOrientation_Params__(); |
| 2831 map["_activity_PathService_GetAppDataDir_Params__"] = |
| 2832 new mojom_types.UserDefinedType() |
| 2833 ..structType = _activity_PathService_GetAppDataDir_Params__(); |
| 2834 map["_activity_PathService_GetAppDataDir_ResponseParams__"] = |
| 2835 new mojom_types.UserDefinedType() |
| 2836 ..structType = _activity_PathService_GetAppDataDir_ResponseParams__(); |
| 2837 map["_activity_PathService_GetFilesDir_Params__"] = |
| 2838 new mojom_types.UserDefinedType() |
| 2839 ..structType = _activity_PathService_GetFilesDir_Params__(); |
| 2840 map["_activity_PathService_GetFilesDir_ResponseParams__"] = |
| 2841 new mojom_types.UserDefinedType() |
| 2842 ..structType = _activity_PathService_GetFilesDir_ResponseParams__(); |
| 2843 map["_activity_PathService_GetCacheDir_Params__"] = |
| 2844 new mojom_types.UserDefinedType() |
| 2845 ..structType = _activity_PathService_GetCacheDir_Params__(); |
| 2846 map["_activity_PathService_GetCacheDir_ResponseParams__"] = |
| 2847 new mojom_types.UserDefinedType() |
| 2848 ..structType = _activity_PathService_GetCacheDir_ResponseParams__(); |
| 2849 map["_activity_UserFeedback_PerformHapticFeedback_Params__"] = |
| 2850 new mojom_types.UserDefinedType() |
| 2851 ..structType = _activity_UserFeedback_PerformHapticFeedback_Params__(); |
| 2852 map["_activity_UserFeedback_PerformAuralFeedback_Params__"] = |
| 2853 new mojom_types.UserDefinedType() |
| 2854 ..structType = _activity_UserFeedback_PerformAuralFeedback_Params__(); |
| 2855 map["_activity_Activity__"] = |
| 2856 new mojom_types.UserDefinedType() |
| 2857 ..interfaceType = _activity_Activity__(); |
| 2858 map["_activity_PathService__"] = |
| 2859 new mojom_types.UserDefinedType() |
| 2860 ..interfaceType = _activity_PathService__(); |
| 2861 map["_activity_UserFeedback__"] = |
| 2862 new mojom_types.UserDefinedType() |
| 2863 ..interfaceType = _activity_UserFeedback__(); |
| 2864 |
| 2865 return map; |
| 2866 } |
| 2867 |
| 2868 var _MojomDesc; |
| 2869 Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { |
| 2870 if (_MojomDesc == null) { |
| 2871 _MojomDesc = _initDescriptions(); |
| 2872 } |
| 2873 return _MojomDesc; |
| 2874 } |
| 2875 |
OLD | NEW |