| Index: mojo/dart/packages/mojo_services/lib/activity/activity.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/activity/activity.mojom.dart b/mojo/dart/packages/mojo_services/lib/activity/activity.mojom.dart
|
| index 8ef40ded552be44ef7350575eb0e026b9b2324ec..65f08cc504b175c0224154e1c179d495d01ff7b2 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/activity/activity.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/activity/activity.mojom.dart
|
| @@ -8,7 +8,8 @@ import 'dart:async';
|
|
|
| import 'package:mojo/bindings.dart' as bindings;
|
| import 'package:mojo/core.dart' as core;
|
| -
|
| +import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types;
|
| +import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as service_describer;
|
| class SystemUiVisibility extends bindings.MojoEnum {
|
| static const SystemUiVisibility standard = const SystemUiVisibility._(0);
|
| static const SystemUiVisibility fullscreen = const SystemUiVisibility._(1);
|
| @@ -60,12 +61,15 @@ class SystemUiVisibility extends bindings.MojoEnum {
|
| return 'SystemUiVisibility.fullscreen';
|
| case immersive:
|
| return 'SystemUiVisibility.immersive';
|
| + default:
|
| + return null;
|
| }
|
| }
|
|
|
| int toJson() => mojoEnumValue;
|
| }
|
|
|
| +
|
| class ScreenOrientation extends bindings.MojoEnum {
|
| static const ScreenOrientation unspecified = const ScreenOrientation._(0);
|
| static const ScreenOrientation landscape = const ScreenOrientation._(1);
|
| @@ -124,12 +128,15 @@ class ScreenOrientation extends bindings.MojoEnum {
|
| return 'ScreenOrientation.portrait';
|
| case nosensor:
|
| return 'ScreenOrientation.nosensor';
|
| + default:
|
| + return null;
|
| }
|
| }
|
|
|
| int toJson() => mojoEnumValue;
|
| }
|
|
|
| +
|
| class HapticFeedbackType extends bindings.MojoEnum {
|
| static const HapticFeedbackType longPress = const HapticFeedbackType._(0);
|
| static const HapticFeedbackType virtualKey = const HapticFeedbackType._(1);
|
| @@ -188,12 +195,15 @@ class HapticFeedbackType extends bindings.MojoEnum {
|
| return 'HapticFeedbackType.keyboardTap';
|
| case clockTick:
|
| return 'HapticFeedbackType.clockTick';
|
| + default:
|
| + return null;
|
| }
|
| }
|
|
|
| int toJson() => mojoEnumValue;
|
| }
|
|
|
| +
|
| class AuralFeedbackType extends bindings.MojoEnum {
|
| static const AuralFeedbackType click = const AuralFeedbackType._(0);
|
| static const AuralFeedbackType navigationLeft = const AuralFeedbackType._(1);
|
| @@ -259,6 +269,8 @@ class AuralFeedbackType extends bindings.MojoEnum {
|
| return 'AuralFeedbackType.navigationRight';
|
| case navigationDown:
|
| return 'AuralFeedbackType.navigationDown';
|
| + default:
|
| + return null;
|
| }
|
| }
|
|
|
| @@ -267,6 +279,8 @@ class AuralFeedbackType extends bindings.MojoEnum {
|
|
|
|
|
|
|
| +
|
| +
|
| class StringExtra extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -343,6 +357,8 @@ class StringExtra extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ComponentName extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -419,6 +435,8 @@ class ComponentName extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class Intent extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(56, 0)
|
| @@ -551,6 +569,8 @@ class Intent extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class TaskDescription extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -627,6 +647,8 @@ class TaskDescription extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ActivityGetUserFeedbackParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -693,6 +715,8 @@ class _ActivityGetUserFeedbackParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ActivityStartActivityParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -761,6 +785,8 @@ class _ActivityStartActivityParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ActivityFinishCurrentActivityParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -819,6 +845,8 @@ class _ActivityFinishCurrentActivityParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ActivitySetTaskDescriptionParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -887,6 +915,8 @@ class _ActivitySetTaskDescriptionParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ActivitySetSystemUiVisibilityParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -958,6 +988,8 @@ class _ActivitySetSystemUiVisibilityParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ActivitySetRequestedOrientationParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1029,6 +1061,8 @@ class _ActivitySetRequestedOrientationParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _PathServiceGetAppDataDirParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -1087,6 +1121,8 @@ class _PathServiceGetAppDataDirParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class PathServiceGetAppDataDirResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1154,6 +1190,8 @@ class PathServiceGetAppDataDirResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _PathServiceGetFilesDirParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -1212,6 +1250,8 @@ class _PathServiceGetFilesDirParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class PathServiceGetFilesDirResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1279,6 +1319,8 @@ class PathServiceGetFilesDirResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _PathServiceGetCacheDirParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -1337,6 +1379,8 @@ class _PathServiceGetCacheDirParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class PathServiceGetCacheDirResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1404,6 +1448,8 @@ class PathServiceGetCacheDirResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _UserFeedbackPerformHapticFeedbackParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1475,6 +1521,8 @@ class _UserFeedbackPerformHapticFeedbackParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _UserFeedbackPerformAuralFeedbackParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1545,6 +1593,9 @@ class _UserFeedbackPerformAuralFeedbackParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _Activity_getUserFeedbackName = 0;
|
| const int _Activity_startActivityName = 1;
|
| const int _Activity_finishCurrentActivityName = 2;
|
| @@ -1552,6 +1603,17 @@ const int _Activity_setTaskDescriptionName = 3;
|
| const int _Activity_setSystemUiVisibilityName = 4;
|
| const int _Activity_setRequestedOrientationName = 5;
|
|
|
| +
|
| +
|
| +class _ActivityServiceDescription implements service_describer.ServiceDescription {
|
| +dynamic getTopLevelInterface([Function responseFactory = null]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory = null]) =>
|
| + null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory = null]) => null;
|
| +}
|
| +
|
| abstract class Activity {
|
| static const String serviceName = "activity::Activity";
|
| void getUserFeedback(Object userFeedback);
|
| @@ -1578,6 +1640,9 @@ class _ActivityProxyImpl extends bindings.Proxy {
|
| return new _ActivityProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ActivityServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -1790,12 +1855,26 @@ class ActivityStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ActivityServiceDescription();
|
| }
|
|
|
| const int _PathService_getAppDataDirName = 0;
|
| const int _PathService_getFilesDirName = 1;
|
| const int _PathService_getCacheDirName = 2;
|
|
|
| +
|
| +
|
| +class _PathServiceServiceDescription implements service_describer.ServiceDescription {
|
| +dynamic getTopLevelInterface([Function responseFactory = null]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory = null]) =>
|
| + null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory = null]) => null;
|
| +}
|
| +
|
| abstract class PathService {
|
| static const String serviceName = "activity::PathService";
|
| dynamic getAppDataDir([Function responseFactory = null]);
|
| @@ -1819,6 +1898,9 @@ class _PathServiceProxyImpl extends bindings.Proxy {
|
| return new _PathServiceProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _PathServiceServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _PathService_getAppDataDirName:
|
| @@ -2113,11 +2195,25 @@ class PathServiceStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _PathServiceServiceDescription();
|
| }
|
|
|
| const int _UserFeedback_performHapticFeedbackName = 0;
|
| const int _UserFeedback_performAuralFeedbackName = 1;
|
|
|
| +
|
| +
|
| +class _UserFeedbackServiceDescription implements service_describer.ServiceDescription {
|
| +dynamic getTopLevelInterface([Function responseFactory = null]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory = null]) =>
|
| + null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory = null]) => null;
|
| +}
|
| +
|
| abstract class UserFeedback {
|
| static const String serviceName = null;
|
| void performHapticFeedback(HapticFeedbackType type);
|
| @@ -2140,6 +2236,9 @@ class _UserFeedbackProxyImpl extends bindings.Proxy {
|
| return new _UserFeedbackProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _UserFeedbackServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -2297,6 +2396,11 @@ class UserFeedbackStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _UserFeedbackServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
|
|