| Index: mojo/dart/packages/mojo_services/lib/mojo/window_manager.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/window_manager.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/window_manager.mojom.dart
|
| index 8ad38af2f8b3cba72c9f07b046b4d655e91cf4b5..1f947d095ab3950e476337048450fd21bce2e53d 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/window_manager.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/window_manager.mojom.dart
|
| @@ -8,6 +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;
|
| import 'package:mojo_services/mojo/input_events.mojom.dart' as input_events_mojom;
|
| import 'package:mojo/mojo/service_provider.mojom.dart' as service_provider_mojom;
|
|
|
| @@ -95,6 +97,8 @@ class _WindowManagerEmbedParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _WindowManagerSetCaptureParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -162,6 +166,8 @@ class _WindowManagerSetCaptureParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class WindowManagerSetCaptureResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -229,6 +235,8 @@ class WindowManagerSetCaptureResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _WindowManagerFocusWindowParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -296,6 +304,8 @@ class _WindowManagerFocusWindowParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class WindowManagerFocusWindowResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -363,6 +373,8 @@ class WindowManagerFocusWindowResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _WindowManagerActivateWindowParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -430,6 +442,8 @@ class _WindowManagerActivateWindowParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class WindowManagerActivateWindowResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -497,6 +511,8 @@ class WindowManagerActivateWindowResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _WindowManagerGetFocusedAndActiveViewsParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -563,6 +579,8 @@ class _WindowManagerGetFocusedAndActiveViewsParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class WindowManagerGetFocusedAndActiveViewsResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -648,6 +666,8 @@ class WindowManagerGetFocusedAndActiveViewsResponseParams extends bindings.Struc
|
| }
|
|
|
|
|
| +
|
| +
|
| class _WindowManagerObserverOnCaptureChangedParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -715,6 +735,8 @@ class _WindowManagerObserverOnCaptureChangedParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _WindowManagerObserverOnFocusChangedParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -782,6 +804,8 @@ class _WindowManagerObserverOnFocusChangedParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _WindowManagerObserverOnActiveWindowChangedParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -848,12 +872,26 @@ class _WindowManagerObserverOnActiveWindowChangedParams extends bindings.Struct
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _WindowManager_embedName = 0;
|
| const int _WindowManager_setCaptureName = 1;
|
| const int _WindowManager_focusWindowName = 2;
|
| const int _WindowManager_activateWindowName = 3;
|
| const int _WindowManager_getFocusedAndActiveViewsName = 4;
|
|
|
| +
|
| +
|
| +class _WindowManagerServiceDescription 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 WindowManager {
|
| static const String serviceName = "mojo::WindowManager";
|
| void embed(String url, Object services, Object exposedServices);
|
| @@ -879,6 +917,9 @@ class _WindowManagerProxyImpl extends bindings.Proxy {
|
| return new _WindowManagerProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _WindowManagerServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _WindowManager_setCaptureName:
|
| @@ -1250,12 +1291,26 @@ class WindowManagerStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _WindowManagerServiceDescription();
|
| }
|
|
|
| const int _WindowManagerObserver_onCaptureChangedName = 0;
|
| const int _WindowManagerObserver_onFocusChangedName = 1;
|
| const int _WindowManagerObserver_onActiveWindowChangedName = 2;
|
|
|
| +
|
| +
|
| +class _WindowManagerObserverServiceDescription 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 WindowManagerObserver {
|
| static const String serviceName = null;
|
| void onCaptureChanged(int captureViewId);
|
| @@ -1279,6 +1334,9 @@ class _WindowManagerObserverProxyImpl extends bindings.Proxy {
|
| return new _WindowManagerObserverProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _WindowManagerObserverServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -1450,6 +1508,11 @@ class WindowManagerObserverStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _WindowManagerObserverServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
|
|