| // content/common/navigation_client.mojom-lite-for-compile.js is auto generated by mojom_bindings_generator.py, do not edit |
| |
| // Copyright 2018 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| /** |
| * @fileoverview |
| * @suppress {missingRequire} |
| */ |
| 'use strict'; |
| |
| goog.require('mojo.internal'); |
| goog.require('mojo.internal.interfaceSupport'); |
| |
| goog.require('blink.mojom.DocumentPolicyFeature'); |
| goog.require('blink.mojom.InsecureRequestPolicy'); |
| goog.require('blink.mojom.SameDocumentNavigationType'); |
| goog.require('blink.mojom.CodeCacheHost'); |
| goog.require('blink.mojom.FetchLaterLoaderFactory'); |
| goog.require('network.mojom.RestrictedCookieManager'); |
| goog.require('blink.mojom.StorageArea'); |
| goog.require('network.mojom.URLLoaderFactory'); |
| goog.require('content.mojom.AlternativeErrorPageOverrideInfo'); |
| goog.require('blink.mojom.CommitNavigationParams'); |
| goog.require('blink.mojom.CommonNavigationParams'); |
| goog.require('blink.mojom.ControllerServiceWorkerInfo'); |
| goog.require('content.mojom.DidCommitProvisionalLoadInterfaceParams'); |
| goog.require('blink.mojom.DocumentToken'); |
| goog.require('url.mojom.Origin'); |
| goog.require('network.mojom.ParsedPermissionsPolicyDeclaration'); |
| goog.require('blink.mojom.PolicyContainer'); |
| goog.require('blink.mojom.Referrer'); |
| goog.require('network.mojom.ResolveErrorInfo'); |
| goog.require('blink.mojom.SameDocNavigationScreenshotDestinationToken'); |
| goog.require('blink.mojom.ServiceWorkerContainerInfoForClient'); |
| goog.require('mojoBase.mojom.TimeTicks'); |
| goog.require('blink.mojom.TransferrableURLLoader'); |
| goog.require('network.mojom.URLLoaderClientEndpoints'); |
| goog.require('blink.mojom.URLLoaderFactoryBundle'); |
| goog.require('network.mojom.URLResponseHead'); |
| goog.require('mojoBase.mojom.UnguessableToken'); |
| goog.require('url.mojom.Url'); |
| goog.require('mojoBase.mojom.Uuid'); |
| goog.require('blink.mojom.PolicyValue'); |
| |
| |
| |
| |
| goog.provide('content.mojom.NavigationGesture'); |
| goog.provide('content.mojom.NavigationGestureSpec'); |
| /** |
| * @const { {$: !mojo.internal.MojomType} } |
| * @export |
| */ |
| content.mojom.NavigationGestureSpec = { $: mojo.internal.Enum() }; |
| |
| /** |
| * @enum {number} |
| * @export |
| */ |
| content.mojom.NavigationGesture = { |
| |
| }; |
| |
| goog.provide('content.mojom.PageTransition'); |
| goog.provide('content.mojom.PageTransitionSpec'); |
| /** |
| * @const { {$: !mojo.internal.MojomType} } |
| * @export |
| */ |
| content.mojom.PageTransitionSpec = { $: mojo.internal.Enum() }; |
| |
| /** |
| * @enum {number} |
| * @export |
| */ |
| content.mojom.PageTransition = { |
| |
| }; |
| |
| goog.provide('content.mojom.NavigationClientDisconnectReason'); |
| goog.provide('content.mojom.NavigationClientDisconnectReasonSpec'); |
| /** |
| * @const { {$: !mojo.internal.MojomType} } |
| * @export |
| */ |
| content.mojom.NavigationClientDisconnectReasonSpec = { $: mojo.internal.Enum() }; |
| |
| /** |
| * @enum {number} |
| * @export |
| */ |
| content.mojom.NavigationClientDisconnectReason = { |
| |
| kNoExplicitReason: 0, |
| kResetForSwap: 1, |
| kResetForAbort: 2, |
| kResetForNewNavigation: 3, |
| kResetForDuplicateNavigation: 4, |
| MIN_VALUE: 0, |
| MAX_VALUE: 4, |
| }; |
| |
| |
| |
| goog.provide('content.mojom.NavigationClient'); |
| goog.provide('content.mojom.NavigationClientReceiver'); |
| goog.provide('content.mojom.NavigationClientCallbackRouter'); |
| goog.provide('content.mojom.NavigationClientInterface'); |
| goog.provide('content.mojom.NavigationClientRemote'); |
| goog.provide('content.mojom.NavigationClientPendingReceiver'); |
| |
| |
| /** |
| * @implements {mojo.internal.interfaceSupport.PendingReceiver} |
| * @export |
| */ |
| content.mojom.NavigationClientPendingReceiver = class { |
| /** |
| * @param {!MojoHandle|!mojo.internal.interfaceSupport.Endpoint} handle |
| */ |
| constructor(handle) { |
| /** @public {!mojo.internal.interfaceSupport.Endpoint} */ |
| this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle); |
| } |
| |
| /** @param {string=} scope */ |
| bindInBrowser(scope = 'context') { |
| mojo.internal.interfaceSupport.bind( |
| this.handle, |
| content.mojom.NavigationClient.$interfaceName, |
| scope); |
| } |
| }; |
| |
| /** @interface */ |
| content.mojom.NavigationClientInterface = class { |
| |
| /** |
| * @param { !blink.mojom.CommonNavigationParams } commonParams |
| * @param { !blink.mojom.CommitNavigationParams } requestParams |
| * @param { !network.mojom.URLResponseHead } responseHead |
| * @param { ?MojoHandle } responseBody |
| * @param { ?network.mojom.URLLoaderClientEndpoints } urlLoaderClientEndpoints |
| * @param { ?blink.mojom.URLLoaderFactoryBundle } subresourceLoaderFactories |
| * @param { ?Array<!blink.mojom.TransferrableURLLoader> } subresourceOverrides |
| * @param { ?blink.mojom.ControllerServiceWorkerInfo } controllerServiceWorkerInfo |
| * @param { ?blink.mojom.ServiceWorkerContainerInfoForClient } containerInfo |
| * @param { ?network.mojom.URLLoaderFactoryRemote } subresourceProxyingLoaderFactory |
| * @param { ?network.mojom.URLLoaderFactoryRemote } keepAliveLoaderFactory |
| * @param { ?Object } fetchLaterLoaderFactory |
| * @param { !blink.mojom.DocumentToken } documentToken |
| * @param { !mojoBase.mojom.UnguessableToken } devtoolsNavigationToken |
| * @param { !mojoBase.mojom.Uuid } baseAuctionNonce |
| * @param { ?Array<!network.mojom.ParsedPermissionsPolicyDeclaration> } permissionsPolicy |
| * @param { !blink.mojom.PolicyContainer } policyContainer |
| * @param { ?blink.mojom.CodeCacheHostRemote } codeCacheHost |
| * @param { ?blink.mojom.CodeCacheHostRemote } codeCacheHostForBackground |
| * @param { ?content.mojom.CookieManagerInfo } cookieManagerInfo |
| * @param { ?content.mojom.StorageInfo } storageInfo |
| * @return {!Promise<{ |
| params: !content.mojom.DidCommitProvisionalLoadParams, |
| interfaceParams: ?content.mojom.DidCommitProvisionalLoadInterfaceParams, |
| * }>} |
| */ |
| |
| commitNavigation(commonParams, requestParams, responseHead, responseBody, urlLoaderClientEndpoints, subresourceLoaderFactories, subresourceOverrides, controllerServiceWorkerInfo, containerInfo, subresourceProxyingLoaderFactory, keepAliveLoaderFactory, fetchLaterLoaderFactory, documentToken, devtoolsNavigationToken, baseAuctionNonce, permissionsPolicy, policyContainer, codeCacheHost, codeCacheHostForBackground, cookieManagerInfo, storageInfo) {} |
| |
| /** |
| * @param { !blink.mojom.CommonNavigationParams } commonParams |
| * @param { !blink.mojom.CommitNavigationParams } requestParams |
| * @param { !boolean } hasStaleCopyInCache |
| * @param { !number } errorCode |
| * @param { !number } extendedErrorCode |
| * @param { !network.mojom.ResolveErrorInfo } resolveErrorInfo |
| * @param { ?string } errorPageContent |
| * @param { ?blink.mojom.URLLoaderFactoryBundle } subresourceLoaderFactories |
| * @param { !blink.mojom.DocumentToken } documentToken |
| * @param { !mojoBase.mojom.UnguessableToken } devtoolsNavigationToken |
| * @param { !blink.mojom.PolicyContainer } policyContainer |
| * @param { ?content.mojom.AlternativeErrorPageOverrideInfo } alternativeErrorPageInfo |
| * @return {!Promise<{ |
| params: !content.mojom.DidCommitProvisionalLoadParams, |
| interfaceParams: ?content.mojom.DidCommitProvisionalLoadInterfaceParams, |
| * }>} |
| */ |
| |
| commitFailedNavigation(commonParams, requestParams, hasStaleCopyInCache, errorCode, extendedErrorCode, resolveErrorInfo, errorPageContent, subresourceLoaderFactories, documentToken, devtoolsNavigationToken, policyContainer, alternativeErrorPageInfo) {} |
| }; |
| |
| /** |
| * @export |
| * @implements { content.mojom.NavigationClientInterface } |
| */ |
| content.mojom.NavigationClientRemote = class { |
| /** @param {MojoHandle|mojo.internal.interfaceSupport.Endpoint=} handle */ |
| constructor(handle = undefined) { |
| /** |
| * @private {!mojo.internal.interfaceSupport.InterfaceRemoteBase<!content.mojom.NavigationClientPendingReceiver>} |
| */ |
| this.proxy = |
| new mojo.internal.interfaceSupport.InterfaceRemoteBase( |
| content.mojom.NavigationClientPendingReceiver, |
| handle); |
| |
| /** |
| * @public {!mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper<!content.mojom.NavigationClientPendingReceiver>} |
| */ |
| this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy); |
| |
| /** @public {!mojo.internal.interfaceSupport.ConnectionErrorEventRouter} */ |
| this.onConnectionError = this.proxy.getConnectionErrorEventRouter(); |
| } |
| |
| |
| /** |
| * @param { !blink.mojom.CommonNavigationParams } commonParams |
| * @param { !blink.mojom.CommitNavigationParams } requestParams |
| * @param { !network.mojom.URLResponseHead } responseHead |
| * @param { ?MojoHandle } responseBody |
| * @param { ?network.mojom.URLLoaderClientEndpoints } urlLoaderClientEndpoints |
| * @param { ?blink.mojom.URLLoaderFactoryBundle } subresourceLoaderFactories |
| * @param { ?Array<!blink.mojom.TransferrableURLLoader> } subresourceOverrides |
| * @param { ?blink.mojom.ControllerServiceWorkerInfo } controllerServiceWorkerInfo |
| * @param { ?blink.mojom.ServiceWorkerContainerInfoForClient } containerInfo |
| * @param { ?network.mojom.URLLoaderFactoryRemote } subresourceProxyingLoaderFactory |
| * @param { ?network.mojom.URLLoaderFactoryRemote } keepAliveLoaderFactory |
| * @param { ?Object } fetchLaterLoaderFactory |
| * @param { !blink.mojom.DocumentToken } documentToken |
| * @param { !mojoBase.mojom.UnguessableToken } devtoolsNavigationToken |
| * @param { !mojoBase.mojom.Uuid } baseAuctionNonce |
| * @param { ?Array<!network.mojom.ParsedPermissionsPolicyDeclaration> } permissionsPolicy |
| * @param { !blink.mojom.PolicyContainer } policyContainer |
| * @param { ?blink.mojom.CodeCacheHostRemote } codeCacheHost |
| * @param { ?blink.mojom.CodeCacheHostRemote } codeCacheHostForBackground |
| * @param { ?content.mojom.CookieManagerInfo } cookieManagerInfo |
| * @param { ?content.mojom.StorageInfo } storageInfo |
| * @return {!Promise<{ |
| params: !content.mojom.DidCommitProvisionalLoadParams, |
| interfaceParams: ?content.mojom.DidCommitProvisionalLoadInterfaceParams, |
| * }>} |
| */ |
| |
| commitNavigation( |
| commonParams, |
| requestParams, |
| responseHead, |
| responseBody, |
| urlLoaderClientEndpoints, |
| subresourceLoaderFactories, |
| subresourceOverrides, |
| controllerServiceWorkerInfo, |
| containerInfo, |
| subresourceProxyingLoaderFactory, |
| keepAliveLoaderFactory, |
| fetchLaterLoaderFactory, |
| documentToken, |
| devtoolsNavigationToken, |
| baseAuctionNonce, |
| permissionsPolicy, |
| policyContainer, |
| codeCacheHost, |
| codeCacheHostForBackground, |
| cookieManagerInfo, |
| storageInfo) { |
| return this.proxy.sendMessage( |
| 0, |
| content.mojom.NavigationClient_CommitNavigation_ParamsSpec.$, |
| content.mojom.NavigationClient_CommitNavigation_ResponseParamsSpec.$, |
| [ |
| commonParams, |
| requestParams, |
| responseHead, |
| responseBody, |
| urlLoaderClientEndpoints, |
| subresourceLoaderFactories, |
| subresourceOverrides, |
| controllerServiceWorkerInfo, |
| containerInfo, |
| subresourceProxyingLoaderFactory, |
| keepAliveLoaderFactory, |
| fetchLaterLoaderFactory, |
| documentToken, |
| devtoolsNavigationToken, |
| baseAuctionNonce, |
| permissionsPolicy, |
| policyContainer, |
| codeCacheHost, |
| codeCacheHostForBackground, |
| cookieManagerInfo, |
| storageInfo |
| ], |
| false); |
| } |
| |
| |
| /** |
| * @param { !blink.mojom.CommonNavigationParams } commonParams |
| * @param { !blink.mojom.CommitNavigationParams } requestParams |
| * @param { !boolean } hasStaleCopyInCache |
| * @param { !number } errorCode |
| * @param { !number } extendedErrorCode |
| * @param { !network.mojom.ResolveErrorInfo } resolveErrorInfo |
| * @param { ?string } errorPageContent |
| * @param { ?blink.mojom.URLLoaderFactoryBundle } subresourceLoaderFactories |
| * @param { !blink.mojom.DocumentToken } documentToken |
| * @param { !mojoBase.mojom.UnguessableToken } devtoolsNavigationToken |
| * @param { !blink.mojom.PolicyContainer } policyContainer |
| * @param { ?content.mojom.AlternativeErrorPageOverrideInfo } alternativeErrorPageInfo |
| * @return {!Promise<{ |
| params: !content.mojom.DidCommitProvisionalLoadParams, |
| interfaceParams: ?content.mojom.DidCommitProvisionalLoadInterfaceParams, |
| * }>} |
| */ |
| |
| commitFailedNavigation( |
| commonParams, |
| requestParams, |
| hasStaleCopyInCache, |
| errorCode, |
| extendedErrorCode, |
| resolveErrorInfo, |
| errorPageContent, |
| subresourceLoaderFactories, |
| documentToken, |
| devtoolsNavigationToken, |
| policyContainer, |
| alternativeErrorPageInfo) { |
| return this.proxy.sendMessage( |
| 1, |
| content.mojom.NavigationClient_CommitFailedNavigation_ParamsSpec.$, |
| content.mojom.NavigationClient_CommitFailedNavigation_ResponseParamsSpec.$, |
| [ |
| commonParams, |
| requestParams, |
| hasStaleCopyInCache, |
| errorCode, |
| extendedErrorCode, |
| resolveErrorInfo, |
| errorPageContent, |
| subresourceLoaderFactories, |
| documentToken, |
| devtoolsNavigationToken, |
| policyContainer, |
| alternativeErrorPageInfo |
| ], |
| false); |
| } |
| }; |
| |
| /** |
| * An object which receives request messages for the NavigationClient |
| * mojom interface. Must be constructed over an object which implements that |
| * interface. |
| * |
| * @export |
| */ |
| content.mojom.NavigationClientReceiver = class { |
| /** |
| * @param {!content.mojom.NavigationClientInterface } impl |
| */ |
| constructor(impl) { |
| /** @private {!mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal<!content.mojom.NavigationClientRemote>} */ |
| this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal( |
| content.mojom.NavigationClientRemote); |
| |
| /** |
| * @public {!mojo.internal.interfaceSupport.InterfaceReceiverHelper<!content.mojom.NavigationClientRemote>} |
| */ |
| this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_); |
| |
| |
| this.helper_internal_.registerHandler( |
| 0, |
| content.mojom.NavigationClient_CommitNavigation_ParamsSpec.$, |
| content.mojom.NavigationClient_CommitNavigation_ResponseParamsSpec.$, |
| impl.commitNavigation.bind(impl), |
| false); |
| this.helper_internal_.registerHandler( |
| 1, |
| content.mojom.NavigationClient_CommitFailedNavigation_ParamsSpec.$, |
| content.mojom.NavigationClient_CommitFailedNavigation_ResponseParamsSpec.$, |
| impl.commitFailedNavigation.bind(impl), |
| false); |
| /** @public {!mojo.internal.interfaceSupport.ConnectionErrorEventRouter} */ |
| this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter(); |
| } |
| }; |
| |
| /** |
| * @export |
| */ |
| content.mojom.NavigationClient = class { |
| /** |
| * @return {!string} |
| */ |
| static get $interfaceName() { |
| return "content.mojom.NavigationClient"; |
| } |
| |
| /** |
| * Returns a remote for this interface which sends messages to the browser. |
| * The browser must have an interface request binder registered for this |
| * interface and accessible to the calling document's frame. |
| * |
| * @return {!content.mojom.NavigationClientRemote} |
| * @export |
| */ |
| static getRemote() { |
| let remote = new content.mojom.NavigationClientRemote; |
| remote.$.bindNewPipeAndPassReceiver().bindInBrowser(); |
| return remote; |
| } |
| }; |
| |
| |
| /** |
| * An object which receives request messages for the NavigationClient |
| * mojom interface and dispatches them as callbacks. One callback receiver exists |
| * on this object for each message defined in the mojom interface, and each |
| * receiver can have any number of listeners added to it. |
| * |
| * @export |
| */ |
| content.mojom.NavigationClientCallbackRouter = class { |
| constructor() { |
| this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal( |
| content.mojom.NavigationClientRemote); |
| |
| /** |
| * @public {!mojo.internal.interfaceSupport.InterfaceReceiverHelper<!content.mojom.NavigationClientRemote>} |
| */ |
| this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_); |
| |
| this.router_ = new mojo.internal.interfaceSupport.CallbackRouter; |
| |
| /** |
| * @public {!mojo.internal.interfaceSupport.InterfaceCallbackReceiver} |
| */ |
| this.commitNavigation = |
| new mojo.internal.interfaceSupport.InterfaceCallbackReceiver( |
| this.router_); |
| |
| this.helper_internal_.registerHandler( |
| 0, |
| content.mojom.NavigationClient_CommitNavigation_ParamsSpec.$, |
| content.mojom.NavigationClient_CommitNavigation_ResponseParamsSpec.$, |
| this.commitNavigation.createReceiverHandler(true /* expectsResponse */), |
| false); |
| /** |
| * @public {!mojo.internal.interfaceSupport.InterfaceCallbackReceiver} |
| */ |
| this.commitFailedNavigation = |
| new mojo.internal.interfaceSupport.InterfaceCallbackReceiver( |
| this.router_); |
| |
| this.helper_internal_.registerHandler( |
| 1, |
| content.mojom.NavigationClient_CommitFailedNavigation_ParamsSpec.$, |
| content.mojom.NavigationClient_CommitFailedNavigation_ResponseParamsSpec.$, |
| this.commitFailedNavigation.createReceiverHandler(true /* expectsResponse */), |
| false); |
| /** @public {!mojo.internal.interfaceSupport.ConnectionErrorEventRouter} */ |
| this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter(); |
| } |
| |
| /** |
| * @param {number} id An ID returned by a prior call to addListener. |
| * @return {boolean} True iff the identified listener was found and removed. |
| * @export |
| */ |
| removeListener(id) { |
| return this.router_.removeListener(id); |
| } |
| }; |
| |
| |
| goog.provide('content.mojom.PageStateSpec'); |
| /** |
| * @const { {$:!mojo.internal.MojomType}} |
| * @export |
| */ |
| content.mojom.PageStateSpec = |
| { $: /** @type {!mojo.internal.MojomType} */ ({}) }; |
| |
| goog.provide('content.mojom.DidCommitProvisionalLoadParamsSpec'); |
| /** |
| * @const { {$:!mojo.internal.MojomType}} |
| * @export |
| */ |
| content.mojom.DidCommitProvisionalLoadParamsSpec = |
| { $: /** @type {!mojo.internal.MojomType} */ ({}) }; |
| |
| goog.provide('content.mojom.DidCommitSameDocumentNavigationParamsSpec'); |
| /** |
| * @const { {$:!mojo.internal.MojomType}} |
| * @export |
| */ |
| content.mojom.DidCommitSameDocumentNavigationParamsSpec = |
| { $: /** @type {!mojo.internal.MojomType} */ ({}) }; |
| |
| goog.provide('content.mojom.CookieManagerInfoSpec'); |
| /** |
| * @const { {$:!mojo.internal.MojomType}} |
| * @export |
| */ |
| content.mojom.CookieManagerInfoSpec = |
| { $: /** @type {!mojo.internal.MojomType} */ ({}) }; |
| |
| goog.provide('content.mojom.StorageInfoSpec'); |
| /** |
| * @const { {$:!mojo.internal.MojomType}} |
| * @export |
| */ |
| content.mojom.StorageInfoSpec = |
| { $: /** @type {!mojo.internal.MojomType} */ ({}) }; |
| |
| goog.provide('content.mojom.NavigationClient_CommitNavigation_ParamsSpec'); |
| /** |
| * @const { {$:!mojo.internal.MojomType}} |
| * @export |
| */ |
| content.mojom.NavigationClient_CommitNavigation_ParamsSpec = |
| { $: /** @type {!mojo.internal.MojomType} */ ({}) }; |
| |
| goog.provide('content.mojom.NavigationClient_CommitNavigation_ResponseParamsSpec'); |
| /** |
| * @const { {$:!mojo.internal.MojomType}} |
| * @export |
| */ |
| content.mojom.NavigationClient_CommitNavigation_ResponseParamsSpec = |
| { $: /** @type {!mojo.internal.MojomType} */ ({}) }; |
| |
| goog.provide('content.mojom.NavigationClient_CommitFailedNavigation_ParamsSpec'); |
| /** |
| * @const { {$:!mojo.internal.MojomType}} |
| * @export |
| */ |
| content.mojom.NavigationClient_CommitFailedNavigation_ParamsSpec = |
| { $: /** @type {!mojo.internal.MojomType} */ ({}) }; |
| |
| goog.provide('content.mojom.NavigationClient_CommitFailedNavigation_ResponseParamsSpec'); |
| /** |
| * @const { {$:!mojo.internal.MojomType}} |
| * @export |
| */ |
| content.mojom.NavigationClient_CommitFailedNavigation_ResponseParamsSpec = |
| { $: /** @type {!mojo.internal.MojomType} */ ({}) }; |
| |
| |
| |
| |
| mojo.internal.Struct( |
| content.mojom.PageStateSpec.$, |
| 'PageState', |
| [ |
| ], |
| [[0, 8],]); |
| |
| |
| |
| goog.provide('content.mojom.PageState'); |
| |
| /** @record */ |
| content.mojom.PageState = class { |
| constructor() { |
| } |
| }; |
| |
| |
| |
| mojo.internal.Struct( |
| content.mojom.DidCommitProvisionalLoadParamsSpec.$, |
| 'DidCommitProvisionalLoadParams', |
| [ |
| mojo.internal.StructField( |
| 'itemSequenceNumber', 0, |
| 0, |
| mojo.internal.Int64, |
| BigInt('-1'), |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'documentSequenceNumber', 8, |
| 0, |
| mojo.internal.Int64, |
| BigInt('-1'), |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'navigationApiKey', 16, |
| 0, |
| mojo.internal.String, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'url', 24, |
| 0, |
| url.mojom.UrlSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'referrer', 32, |
| 0, |
| blink.mojom.ReferrerSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'transition', 40, |
| 0, |
| content.mojom.PageTransitionSpec.$, |
| 0, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'shouldUpdateHistory', 44, |
| 0, |
| mojo.internal.Bool, |
| false, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'contentsMimeType', 48, |
| 0, |
| mojo.internal.String, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'didCreateNewEntry', 44, |
| 1, |
| mojo.internal.Bool, |
| false, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'method', 56, |
| 0, |
| mojo.internal.String, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'postId', 64, |
| 0, |
| mojo.internal.Int64, |
| BigInt(0), |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'httpStatusCode', 72, |
| 0, |
| mojo.internal.Int32, |
| 0, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'urlIsUnreachable', 44, |
| 2, |
| mojo.internal.Bool, |
| false, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'previousPageState', 80, |
| 0, |
| content.mojom.PageStateSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'pageState', 88, |
| 0, |
| content.mojom.PageStateSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'isOverridingUserAgent', 44, |
| 3, |
| mojo.internal.Bool, |
| false, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'historyListWasCleared', 44, |
| 4, |
| mojo.internal.Bool, |
| false, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'origin', 96, |
| 0, |
| url.mojom.OriginSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'initiatorBaseUrl', 104, |
| 0, |
| url.mojom.UrlSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'permissionsPolicyHeader', 112, |
| 0, |
| mojo.internal.Array(network.mojom.ParsedPermissionsPolicyDeclarationSpec.$, false), |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'documentPolicyHeader', 120, |
| 0, |
| mojo.internal.Map(blink.mojom.DocumentPolicyFeatureSpec.$, blink.mojom.PolicyValueSpec.$, false), |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'insecureRequestPolicy', 76, |
| 0, |
| blink.mojom.InsecureRequestPolicySpec.$, |
| 0, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'insecureNavigationsSet', 128, |
| 0, |
| mojo.internal.Array(mojo.internal.Uint32, false), |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'hasPotentiallyTrustworthyUniqueOrigin', 44, |
| 5, |
| mojo.internal.Bool, |
| false, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'requestId', 136, |
| 0, |
| mojo.internal.Int32, |
| 0, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'navigationToken', 144, |
| 0, |
| mojoBase.mojom.UnguessableTokenSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'embeddingToken', 152, |
| 0, |
| mojoBase.mojom.UnguessableTokenSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'unloadStart', 160, |
| 0, |
| mojoBase.mojom.TimeTicksSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'unloadEnd', 168, |
| 0, |
| mojoBase.mojom.TimeTicksSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'commitNavigationStart', 176, |
| 0, |
| mojoBase.mojom.TimeTicksSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'commitNavigationEnd', 184, |
| 0, |
| mojoBase.mojom.TimeTicksSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'commitReplySent', 192, |
| 0, |
| mojoBase.mojom.TimeTicksSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| ], |
| [[0, 208],]); |
| |
| |
| |
| goog.provide('content.mojom.DidCommitProvisionalLoadParams'); |
| |
| /** @record */ |
| content.mojom.DidCommitProvisionalLoadParams = class { |
| constructor() { |
| /** @export { !bigint } */ |
| this.itemSequenceNumber; |
| /** @export { !bigint } */ |
| this.documentSequenceNumber; |
| /** @export { !string } */ |
| this.navigationApiKey; |
| /** @export { !url.mojom.Url } */ |
| this.url; |
| /** @export { !blink.mojom.Referrer } */ |
| this.referrer; |
| /** @export { !content.mojom.PageTransition } */ |
| this.transition; |
| /** @export { !boolean } */ |
| this.shouldUpdateHistory; |
| /** @export { !string } */ |
| this.contentsMimeType; |
| /** @export { !boolean } */ |
| this.didCreateNewEntry; |
| /** @export { !string } */ |
| this.method; |
| /** @export { !bigint } */ |
| this.postId; |
| /** @export { !number } */ |
| this.httpStatusCode; |
| /** @export { !boolean } */ |
| this.urlIsUnreachable; |
| /** @export { (content.mojom.PageState|undefined) } */ |
| this.previousPageState; |
| /** @export { !content.mojom.PageState } */ |
| this.pageState; |
| /** @export { !boolean } */ |
| this.isOverridingUserAgent; |
| /** @export { !boolean } */ |
| this.historyListWasCleared; |
| /** @export { !url.mojom.Origin } */ |
| this.origin; |
| /** @export { (url.mojom.Url|undefined) } */ |
| this.initiatorBaseUrl; |
| /** @export { !Array<!network.mojom.ParsedPermissionsPolicyDeclaration> } */ |
| this.permissionsPolicyHeader; |
| /** @export { !Object<!blink.mojom.DocumentPolicyFeature, !blink.mojom.PolicyValue> } */ |
| this.documentPolicyHeader; |
| /** @export { !blink.mojom.InsecureRequestPolicy } */ |
| this.insecureRequestPolicy; |
| /** @export { !Array<!number> } */ |
| this.insecureNavigationsSet; |
| /** @export { !boolean } */ |
| this.hasPotentiallyTrustworthyUniqueOrigin; |
| /** @export { !number } */ |
| this.requestId; |
| /** @export { !mojoBase.mojom.UnguessableToken } */ |
| this.navigationToken; |
| /** @export { (mojoBase.mojom.UnguessableToken|undefined) } */ |
| this.embeddingToken; |
| /** @export { (mojoBase.mojom.TimeTicks|undefined) } */ |
| this.unloadStart; |
| /** @export { (mojoBase.mojom.TimeTicks|undefined) } */ |
| this.unloadEnd; |
| /** @export { !mojoBase.mojom.TimeTicks } */ |
| this.commitNavigationStart; |
| /** @export { (mojoBase.mojom.TimeTicks|undefined) } */ |
| this.commitNavigationEnd; |
| /** @export { !mojoBase.mojom.TimeTicks } */ |
| this.commitReplySent; |
| } |
| }; |
| |
| |
| |
| mojo.internal.Struct( |
| content.mojom.DidCommitSameDocumentNavigationParamsSpec.$, |
| 'DidCommitSameDocumentNavigationParams', |
| [ |
| mojo.internal.StructField( |
| 'sameDocumentNavigationType', 0, |
| 0, |
| blink.mojom.SameDocumentNavigationTypeSpec.$, |
| 0, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'isClientRedirect', 4, |
| 0, |
| mojo.internal.Bool, |
| false, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'startedWithTransientActivation', 4, |
| 1, |
| mojo.internal.Bool, |
| false, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'shouldReplaceCurrentEntry', 4, |
| 2, |
| mojo.internal.Bool, |
| false, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'navigationEntryScreenshotDestination', 8, |
| 0, |
| blink.mojom.SameDocNavigationScreenshotDestinationTokenSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| ], |
| [[0, 24],]); |
| |
| |
| |
| goog.provide('content.mojom.DidCommitSameDocumentNavigationParams'); |
| |
| /** @record */ |
| content.mojom.DidCommitSameDocumentNavigationParams = class { |
| constructor() { |
| /** @export { !blink.mojom.SameDocumentNavigationType } */ |
| this.sameDocumentNavigationType; |
| /** @export { !boolean } */ |
| this.isClientRedirect; |
| /** @export { !boolean } */ |
| this.startedWithTransientActivation; |
| /** @export { !boolean } */ |
| this.shouldReplaceCurrentEntry; |
| /** @export { (blink.mojom.SameDocNavigationScreenshotDestinationToken|undefined) } */ |
| this.navigationEntryScreenshotDestination; |
| } |
| }; |
| |
| |
| |
| mojo.internal.Struct( |
| content.mojom.CookieManagerInfoSpec.$, |
| 'CookieManagerInfo', |
| [ |
| mojo.internal.StructField( |
| 'origin', 0, |
| 0, |
| url.mojom.OriginSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'cookieManager', 8, |
| 0, |
| mojo.internal.InterfaceProxy(network.mojom.RestrictedCookieManagerRemote), |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| ], |
| [[0, 24],]); |
| |
| |
| |
| goog.provide('content.mojom.CookieManagerInfo'); |
| |
| /** @record */ |
| content.mojom.CookieManagerInfo = class { |
| constructor() { |
| /** @export { !url.mojom.Origin } */ |
| this.origin; |
| /** @export { !network.mojom.RestrictedCookieManagerRemote } */ |
| this.cookieManager; |
| } |
| }; |
| |
| |
| |
| mojo.internal.Struct( |
| content.mojom.StorageInfoSpec.$, |
| 'StorageInfo', |
| [ |
| mojo.internal.StructField( |
| 'localStorageArea', 0, |
| 0, |
| mojo.internal.InterfaceProxy(blink.mojom.StorageAreaRemote), |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'sessionStorageArea', 8, |
| 0, |
| mojo.internal.InterfaceProxy(blink.mojom.StorageAreaRemote), |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| ], |
| [[0, 24],]); |
| |
| |
| |
| goog.provide('content.mojom.StorageInfo'); |
| |
| /** @record */ |
| content.mojom.StorageInfo = class { |
| constructor() { |
| /** @export { (blink.mojom.StorageAreaRemote|undefined) } */ |
| this.localStorageArea; |
| /** @export { (blink.mojom.StorageAreaRemote|undefined) } */ |
| this.sessionStorageArea; |
| } |
| }; |
| |
| |
| |
| mojo.internal.Struct( |
| content.mojom.NavigationClient_CommitNavigation_ParamsSpec.$, |
| 'NavigationClient_CommitNavigation_Params', |
| [ |
| mojo.internal.StructField( |
| 'commonParams', 0, |
| 0, |
| blink.mojom.CommonNavigationParamsSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'requestParams', 8, |
| 0, |
| blink.mojom.CommitNavigationParamsSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'responseHead', 16, |
| 0, |
| network.mojom.URLResponseHeadSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'responseBody', 24, |
| 0, |
| mojo.internal.Handle, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'urlLoaderClientEndpoints', 32, |
| 0, |
| network.mojom.URLLoaderClientEndpointsSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'subresourceLoaderFactories', 40, |
| 0, |
| blink.mojom.URLLoaderFactoryBundleSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'subresourceOverrides', 48, |
| 0, |
| mojo.internal.Array(blink.mojom.TransferrableURLLoaderSpec.$, false), |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'controllerServiceWorkerInfo', 56, |
| 0, |
| blink.mojom.ControllerServiceWorkerInfoSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'containerInfo', 64, |
| 0, |
| blink.mojom.ServiceWorkerContainerInfoForClientSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'subresourceProxyingLoaderFactory', 72, |
| 0, |
| mojo.internal.InterfaceProxy(network.mojom.URLLoaderFactoryRemote), |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'keepAliveLoaderFactory', 80, |
| 0, |
| mojo.internal.InterfaceProxy(network.mojom.URLLoaderFactoryRemote), |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'fetchLaterLoaderFactory', 88, |
| 0, |
| mojo.internal.AssociatedInterfaceProxy(blink.mojom.FetchLaterLoaderFactoryRemote), |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'documentToken', 96, |
| 0, |
| blink.mojom.DocumentTokenSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'devtoolsNavigationToken', 104, |
| 0, |
| mojoBase.mojom.UnguessableTokenSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'baseAuctionNonce', 112, |
| 0, |
| mojoBase.mojom.UuidSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'permissionsPolicy', 120, |
| 0, |
| mojo.internal.Array(network.mojom.ParsedPermissionsPolicyDeclarationSpec.$, false), |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'policyContainer', 128, |
| 0, |
| blink.mojom.PolicyContainerSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'codeCacheHost', 136, |
| 0, |
| mojo.internal.InterfaceProxy(blink.mojom.CodeCacheHostRemote), |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'codeCacheHostForBackground', 144, |
| 0, |
| mojo.internal.InterfaceProxy(blink.mojom.CodeCacheHostRemote), |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'cookieManagerInfo', 152, |
| 0, |
| content.mojom.CookieManagerInfoSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'storageInfo', 160, |
| 0, |
| content.mojom.StorageInfoSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| ], |
| [[0, 176],]); |
| |
| |
| |
| goog.provide('content.mojom.NavigationClient_CommitNavigation_Params'); |
| |
| /** @record */ |
| content.mojom.NavigationClient_CommitNavigation_Params = class { |
| constructor() { |
| /** @export { !blink.mojom.CommonNavigationParams } */ |
| this.commonParams; |
| /** @export { !blink.mojom.CommitNavigationParams } */ |
| this.requestParams; |
| /** @export { !network.mojom.URLResponseHead } */ |
| this.responseHead; |
| /** @export { (MojoHandle|undefined) } */ |
| this.responseBody; |
| /** @export { (network.mojom.URLLoaderClientEndpoints|undefined) } */ |
| this.urlLoaderClientEndpoints; |
| /** @export { (blink.mojom.URLLoaderFactoryBundle|undefined) } */ |
| this.subresourceLoaderFactories; |
| /** @export { (Array<!blink.mojom.TransferrableURLLoader>|undefined) } */ |
| this.subresourceOverrides; |
| /** @export { (blink.mojom.ControllerServiceWorkerInfo|undefined) } */ |
| this.controllerServiceWorkerInfo; |
| /** @export { (blink.mojom.ServiceWorkerContainerInfoForClient|undefined) } */ |
| this.containerInfo; |
| /** @export { (network.mojom.URLLoaderFactoryRemote|undefined) } */ |
| this.subresourceProxyingLoaderFactory; |
| /** @export { (network.mojom.URLLoaderFactoryRemote|undefined) } */ |
| this.keepAliveLoaderFactory; |
| /** @export { (Object|undefined) } */ |
| this.fetchLaterLoaderFactory; |
| /** @export { !blink.mojom.DocumentToken } */ |
| this.documentToken; |
| /** @export { !mojoBase.mojom.UnguessableToken } */ |
| this.devtoolsNavigationToken; |
| /** @export { !mojoBase.mojom.Uuid } */ |
| this.baseAuctionNonce; |
| /** @export { (Array<!network.mojom.ParsedPermissionsPolicyDeclaration>|undefined) } */ |
| this.permissionsPolicy; |
| /** @export { !blink.mojom.PolicyContainer } */ |
| this.policyContainer; |
| /** @export { (blink.mojom.CodeCacheHostRemote|undefined) } */ |
| this.codeCacheHost; |
| /** @export { (blink.mojom.CodeCacheHostRemote|undefined) } */ |
| this.codeCacheHostForBackground; |
| /** @export { (content.mojom.CookieManagerInfo|undefined) } */ |
| this.cookieManagerInfo; |
| /** @export { (content.mojom.StorageInfo|undefined) } */ |
| this.storageInfo; |
| } |
| }; |
| |
| |
| |
| mojo.internal.Struct( |
| content.mojom.NavigationClient_CommitNavigation_ResponseParamsSpec.$, |
| 'NavigationClient_CommitNavigation_ResponseParams', |
| [ |
| mojo.internal.StructField( |
| 'params', 0, |
| 0, |
| content.mojom.DidCommitProvisionalLoadParamsSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'interfaceParams', 8, |
| 0, |
| content.mojom.DidCommitProvisionalLoadInterfaceParamsSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| ], |
| [[0, 24],]); |
| |
| |
| |
| goog.provide('content.mojom.NavigationClient_CommitNavigation_ResponseParams'); |
| |
| /** @record */ |
| content.mojom.NavigationClient_CommitNavigation_ResponseParams = class { |
| constructor() { |
| /** @export { !content.mojom.DidCommitProvisionalLoadParams } */ |
| this.params; |
| /** @export { (content.mojom.DidCommitProvisionalLoadInterfaceParams|undefined) } */ |
| this.interfaceParams; |
| } |
| }; |
| |
| |
| |
| mojo.internal.Struct( |
| content.mojom.NavigationClient_CommitFailedNavigation_ParamsSpec.$, |
| 'NavigationClient_CommitFailedNavigation_Params', |
| [ |
| mojo.internal.StructField( |
| 'commonParams', 0, |
| 0, |
| blink.mojom.CommonNavigationParamsSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'requestParams', 8, |
| 0, |
| blink.mojom.CommitNavigationParamsSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'hasStaleCopyInCache', 16, |
| 0, |
| mojo.internal.Bool, |
| false, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'errorCode', 20, |
| 0, |
| mojo.internal.Int32, |
| 0, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'extendedErrorCode', 24, |
| 0, |
| mojo.internal.Int32, |
| 0, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'resolveErrorInfo', 32, |
| 0, |
| network.mojom.ResolveErrorInfoSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'errorPageContent', 40, |
| 0, |
| mojo.internal.String, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'subresourceLoaderFactories', 48, |
| 0, |
| blink.mojom.URLLoaderFactoryBundleSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'documentToken', 56, |
| 0, |
| blink.mojom.DocumentTokenSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'devtoolsNavigationToken', 64, |
| 0, |
| mojoBase.mojom.UnguessableTokenSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'policyContainer', 72, |
| 0, |
| blink.mojom.PolicyContainerSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'alternativeErrorPageInfo', 80, |
| 0, |
| content.mojom.AlternativeErrorPageOverrideInfoSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| ], |
| [[0, 96],]); |
| |
| |
| |
| goog.provide('content.mojom.NavigationClient_CommitFailedNavigation_Params'); |
| |
| /** @record */ |
| content.mojom.NavigationClient_CommitFailedNavigation_Params = class { |
| constructor() { |
| /** @export { !blink.mojom.CommonNavigationParams } */ |
| this.commonParams; |
| /** @export { !blink.mojom.CommitNavigationParams } */ |
| this.requestParams; |
| /** @export { !boolean } */ |
| this.hasStaleCopyInCache; |
| /** @export { !number } */ |
| this.errorCode; |
| /** @export { !number } */ |
| this.extendedErrorCode; |
| /** @export { !network.mojom.ResolveErrorInfo } */ |
| this.resolveErrorInfo; |
| /** @export { (string|undefined) } */ |
| this.errorPageContent; |
| /** @export { (blink.mojom.URLLoaderFactoryBundle|undefined) } */ |
| this.subresourceLoaderFactories; |
| /** @export { !blink.mojom.DocumentToken } */ |
| this.documentToken; |
| /** @export { !mojoBase.mojom.UnguessableToken } */ |
| this.devtoolsNavigationToken; |
| /** @export { !blink.mojom.PolicyContainer } */ |
| this.policyContainer; |
| /** @export { (content.mojom.AlternativeErrorPageOverrideInfo|undefined) } */ |
| this.alternativeErrorPageInfo; |
| } |
| }; |
| |
| |
| |
| mojo.internal.Struct( |
| content.mojom.NavigationClient_CommitFailedNavigation_ResponseParamsSpec.$, |
| 'NavigationClient_CommitFailedNavigation_ResponseParams', |
| [ |
| mojo.internal.StructField( |
| 'params', 0, |
| 0, |
| content.mojom.DidCommitProvisionalLoadParamsSpec.$, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'interfaceParams', 8, |
| 0, |
| content.mojom.DidCommitProvisionalLoadInterfaceParamsSpec.$, |
| null, |
| true, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| ], |
| [[0, 24],]); |
| |
| |
| |
| goog.provide('content.mojom.NavigationClient_CommitFailedNavigation_ResponseParams'); |
| |
| /** @record */ |
| content.mojom.NavigationClient_CommitFailedNavigation_ResponseParams = class { |
| constructor() { |
| /** @export { !content.mojom.DidCommitProvisionalLoadParams } */ |
| this.params; |
| /** @export { (content.mojom.DidCommitProvisionalLoadInterfaceParams|undefined) } */ |
| this.interfaceParams; |
| } |
| }; |
| |