package/LICENSE000644 0000003027 3560116604 010267 0ustar00000000 000000 // Copyright 2014 The Chromium Authors. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/externs/protocol_externs.js000644 0001427476 3560116604 014744 0ustar00000000 000000 Protocol.Accessibility = {};
/**
* @constructor
*/
Protocol.AccessibilityAgent = function(){};
/**
* @return {!Promise}
*/
Protocol.AccessibilityAgent.prototype.disable = function() {};
/** @typedef {Object|undefined} */
Protocol.AccessibilityAgent.DisableRequest;
/** @typedef {Object|undefined} */
Protocol.AccessibilityAgent.DisableResponse;
/**
* @param {!Protocol.AccessibilityAgent.DisableRequest} obj
* @return {!Promise} */
Protocol.AccessibilityAgent.prototype.invoke_disable = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.AccessibilityAgent.prototype.enable = function() {};
/** @typedef {Object|undefined} */
Protocol.AccessibilityAgent.EnableRequest;
/** @typedef {Object|undefined} */
Protocol.AccessibilityAgent.EnableResponse;
/**
* @param {!Protocol.AccessibilityAgent.EnableRequest} obj
* @return {!Promise} */
Protocol.AccessibilityAgent.prototype.invoke_enable = function(obj) {};
/**
* @param {Protocol.DOM.NodeId=} opt_nodeId
* @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
* @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
* @param {boolean=} opt_fetchRelatives
* @return {!Promise>}
*/
Protocol.AccessibilityAgent.prototype.getPartialAXTree = function(opt_nodeId, opt_backendNodeId, opt_objectId, opt_fetchRelatives) {};
/** @typedef {!{objectId: (Protocol.Runtime.RemoteObjectId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined), fetchRelatives: (boolean|undefined)}} */
Protocol.AccessibilityAgent.GetPartialAXTreeRequest;
/** @typedef {!{nodes: !Array}} */
Protocol.AccessibilityAgent.GetPartialAXTreeResponse;
/**
* @param {!Protocol.AccessibilityAgent.GetPartialAXTreeRequest} obj
* @return {!Promise} */
Protocol.AccessibilityAgent.prototype.invoke_getPartialAXTree = function(obj) {};
/**
* @return {!Promise>}
*/
Protocol.AccessibilityAgent.prototype.getFullAXTree = function() {};
/** @typedef {Object|undefined} */
Protocol.AccessibilityAgent.GetFullAXTreeRequest;
/** @typedef {!{nodes: !Array}} */
Protocol.AccessibilityAgent.GetFullAXTreeResponse;
/**
* @param {!Protocol.AccessibilityAgent.GetFullAXTreeRequest} obj
* @return {!Promise} */
Protocol.AccessibilityAgent.prototype.invoke_getFullAXTree = function(obj) {};
/** @typedef {string} */
Protocol.Accessibility.AXNodeId;
/** @enum {string} */
Protocol.Accessibility.AXValueType = {
Boolean: "boolean",
Tristate: "tristate",
BooleanOrUndefined: "booleanOrUndefined",
Idref: "idref",
IdrefList: "idrefList",
Integer: "integer",
Node: "node",
NodeList: "nodeList",
Number: "number",
String: "string",
ComputedString: "computedString",
Token: "token",
TokenList: "tokenList",
DomRelation: "domRelation",
Role: "role",
InternalRole: "internalRole",
ValueUndefined: "valueUndefined"
};
/** @enum {string} */
Protocol.Accessibility.AXValueSourceType = {
Attribute: "attribute",
Implicit: "implicit",
Style: "style",
Contents: "contents",
Placeholder: "placeholder",
RelatedElement: "relatedElement"
};
/** @enum {string} */
Protocol.Accessibility.AXValueNativeSourceType = {
Figcaption: "figcaption",
Label: "label",
Labelfor: "labelfor",
Labelwrapped: "labelwrapped",
Legend: "legend",
Tablecaption: "tablecaption",
Title: "title",
Other: "other"
};
/** @typedef {!{type:(Protocol.Accessibility.AXValueSourceType), value:(Protocol.Accessibility.AXValue|undefined), attribute:(string|undefined), attributeValue:(Protocol.Accessibility.AXValue|undefined), superseded:(boolean|undefined), nativeSource:(Protocol.Accessibility.AXValueNativeSourceType|undefined), nativeSourceValue:(Protocol.Accessibility.AXValue|undefined), invalid:(boolean|undefined), invalidReason:(string|undefined)}} */
Protocol.Accessibility.AXValueSource;
/** @typedef {!{backendDOMNodeId:(Protocol.DOM.BackendNodeId), idref:(string|undefined), text:(string|undefined)}} */
Protocol.Accessibility.AXRelatedNode;
/** @typedef {!{name:(Protocol.Accessibility.AXPropertyName), value:(Protocol.Accessibility.AXValue)}} */
Protocol.Accessibility.AXProperty;
/** @typedef {!{type:(Protocol.Accessibility.AXValueType), value:(*|undefined), relatedNodes:(!Array|undefined), sources:(!Array|undefined)}} */
Protocol.Accessibility.AXValue;
/** @enum {string} */
Protocol.Accessibility.AXPropertyName = {
Busy: "busy",
Disabled: "disabled",
Editable: "editable",
Focusable: "focusable",
Focused: "focused",
Hidden: "hidden",
HiddenRoot: "hiddenRoot",
Invalid: "invalid",
Keyshortcuts: "keyshortcuts",
Settable: "settable",
Roledescription: "roledescription",
Live: "live",
Atomic: "atomic",
Relevant: "relevant",
Root: "root",
Autocomplete: "autocomplete",
HasPopup: "hasPopup",
Level: "level",
Multiselectable: "multiselectable",
Orientation: "orientation",
Multiline: "multiline",
Readonly: "readonly",
Required: "required",
Valuemin: "valuemin",
Valuemax: "valuemax",
Valuetext: "valuetext",
Checked: "checked",
Expanded: "expanded",
Modal: "modal",
Pressed: "pressed",
Selected: "selected",
Activedescendant: "activedescendant",
Controls: "controls",
Describedby: "describedby",
Details: "details",
Errormessage: "errormessage",
Flowto: "flowto",
Labelledby: "labelledby",
Owns: "owns"
};
/** @typedef {!{nodeId:(Protocol.Accessibility.AXNodeId), ignored:(boolean), ignoredReasons:(!Array|undefined), role:(Protocol.Accessibility.AXValue|undefined), name:(Protocol.Accessibility.AXValue|undefined), description:(Protocol.Accessibility.AXValue|undefined), value:(Protocol.Accessibility.AXValue|undefined), properties:(!Array|undefined), childIds:(!Array|undefined), backendDOMNodeId:(Protocol.DOM.BackendNodeId|undefined)}} */
Protocol.Accessibility.AXNode;
/** @interface */
Protocol.AccessibilityDispatcher = function() {};
Protocol.Animation = {};
/**
* @constructor
*/
Protocol.AnimationAgent = function(){};
/**
* @return {!Promise}
*/
Protocol.AnimationAgent.prototype.disable = function() {};
/** @typedef {Object|undefined} */
Protocol.AnimationAgent.DisableRequest;
/** @typedef {Object|undefined} */
Protocol.AnimationAgent.DisableResponse;
/**
* @param {!Protocol.AnimationAgent.DisableRequest} obj
* @return {!Promise} */
Protocol.AnimationAgent.prototype.invoke_disable = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.AnimationAgent.prototype.enable = function() {};
/** @typedef {Object|undefined} */
Protocol.AnimationAgent.EnableRequest;
/** @typedef {Object|undefined} */
Protocol.AnimationAgent.EnableResponse;
/**
* @param {!Protocol.AnimationAgent.EnableRequest} obj
* @return {!Promise} */
Protocol.AnimationAgent.prototype.invoke_enable = function(obj) {};
/**
* @param {string} id
* @return {!Promise}
*/
Protocol.AnimationAgent.prototype.getCurrentTime = function(id) {};
/** @typedef {!{id: string}} */
Protocol.AnimationAgent.GetCurrentTimeRequest;
/** @typedef {!{currentTime: number}} */
Protocol.AnimationAgent.GetCurrentTimeResponse;
/**
* @param {!Protocol.AnimationAgent.GetCurrentTimeRequest} obj
* @return {!Promise} */
Protocol.AnimationAgent.prototype.invoke_getCurrentTime = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.AnimationAgent.prototype.getPlaybackRate = function() {};
/** @typedef {Object|undefined} */
Protocol.AnimationAgent.GetPlaybackRateRequest;
/** @typedef {!{playbackRate: number}} */
Protocol.AnimationAgent.GetPlaybackRateResponse;
/**
* @param {!Protocol.AnimationAgent.GetPlaybackRateRequest} obj
* @return {!Promise} */
Protocol.AnimationAgent.prototype.invoke_getPlaybackRate = function(obj) {};
/**
* @param {!Array} animations
* @return {!Promise}
*/
Protocol.AnimationAgent.prototype.releaseAnimations = function(animations) {};
/** @typedef {!{animations: !Array}} */
Protocol.AnimationAgent.ReleaseAnimationsRequest;
/** @typedef {Object|undefined} */
Protocol.AnimationAgent.ReleaseAnimationsResponse;
/**
* @param {!Protocol.AnimationAgent.ReleaseAnimationsRequest} obj
* @return {!Promise} */
Protocol.AnimationAgent.prototype.invoke_releaseAnimations = function(obj) {};
/**
* @param {string} animationId
* @return {!Promise}
*/
Protocol.AnimationAgent.prototype.resolveAnimation = function(animationId) {};
/** @typedef {!{animationId: string}} */
Protocol.AnimationAgent.ResolveAnimationRequest;
/** @typedef {!{remoteObject: Protocol.Runtime.RemoteObject}} */
Protocol.AnimationAgent.ResolveAnimationResponse;
/**
* @param {!Protocol.AnimationAgent.ResolveAnimationRequest} obj
* @return {!Promise} */
Protocol.AnimationAgent.prototype.invoke_resolveAnimation = function(obj) {};
/**
* @param {!Array} animations
* @param {number} currentTime
* @return {!Promise}
*/
Protocol.AnimationAgent.prototype.seekAnimations = function(animations, currentTime) {};
/** @typedef {!{currentTime: number, animations: !Array}} */
Protocol.AnimationAgent.SeekAnimationsRequest;
/** @typedef {Object|undefined} */
Protocol.AnimationAgent.SeekAnimationsResponse;
/**
* @param {!Protocol.AnimationAgent.SeekAnimationsRequest} obj
* @return {!Promise} */
Protocol.AnimationAgent.prototype.invoke_seekAnimations = function(obj) {};
/**
* @param {!Array} animations
* @param {boolean} paused
* @return {!Promise}
*/
Protocol.AnimationAgent.prototype.setPaused = function(animations, paused) {};
/** @typedef {!{paused: boolean, animations: !Array}} */
Protocol.AnimationAgent.SetPausedRequest;
/** @typedef {Object|undefined} */
Protocol.AnimationAgent.SetPausedResponse;
/**
* @param {!Protocol.AnimationAgent.SetPausedRequest} obj
* @return {!Promise} */
Protocol.AnimationAgent.prototype.invoke_setPaused = function(obj) {};
/**
* @param {number} playbackRate
* @return {!Promise}
*/
Protocol.AnimationAgent.prototype.setPlaybackRate = function(playbackRate) {};
/** @typedef {!{playbackRate: number}} */
Protocol.AnimationAgent.SetPlaybackRateRequest;
/** @typedef {Object|undefined} */
Protocol.AnimationAgent.SetPlaybackRateResponse;
/**
* @param {!Protocol.AnimationAgent.SetPlaybackRateRequest} obj
* @return {!Promise} */
Protocol.AnimationAgent.prototype.invoke_setPlaybackRate = function(obj) {};
/**
* @param {string} animationId
* @param {number} duration
* @param {number} delay
* @return {!Promise}
*/
Protocol.AnimationAgent.prototype.setTiming = function(animationId, duration, delay) {};
/** @typedef {!{duration: number, delay: number, animationId: string}} */
Protocol.AnimationAgent.SetTimingRequest;
/** @typedef {Object|undefined} */
Protocol.AnimationAgent.SetTimingResponse;
/**
* @param {!Protocol.AnimationAgent.SetTimingRequest} obj
* @return {!Promise} */
Protocol.AnimationAgent.prototype.invoke_setTiming = function(obj) {};
/** @enum {string} */
Protocol.Animation.AnimationType = {
CSSTransition: "CSSTransition",
CSSAnimation: "CSSAnimation",
WebAnimation: "WebAnimation"
};
/** @typedef {!{id:(string), name:(string), pausedState:(boolean), playState:(string), playbackRate:(number), startTime:(number), currentTime:(number), type:(Protocol.Animation.AnimationType), source:(Protocol.Animation.AnimationEffect|undefined), cssId:(string|undefined)}} */
Protocol.Animation.Animation;
/** @typedef {!{delay:(number), endDelay:(number), iterationStart:(number), iterations:(number), duration:(number), direction:(string), fill:(string), backendNodeId:(Protocol.DOM.BackendNodeId|undefined), keyframesRule:(Protocol.Animation.KeyframesRule|undefined), easing:(string)}} */
Protocol.Animation.AnimationEffect;
/** @typedef {!{name:(string|undefined), keyframes:(!Array)}} */
Protocol.Animation.KeyframesRule;
/** @typedef {!{offset:(string), easing:(string)}} */
Protocol.Animation.KeyframeStyle;
/** @interface */
Protocol.AnimationDispatcher = function() {};
/**
* @param {string} id
*/
Protocol.AnimationDispatcher.prototype.animationCanceled = function(id) {};
/**
* @param {string} id
*/
Protocol.AnimationDispatcher.prototype.animationCreated = function(id) {};
/**
* @param {Protocol.Animation.Animation} animation
*/
Protocol.AnimationDispatcher.prototype.animationStarted = function(animation) {};
Protocol.ApplicationCache = {};
/**
* @constructor
*/
Protocol.ApplicationCacheAgent = function(){};
/**
* @return {!Promise}
*/
Protocol.ApplicationCacheAgent.prototype.enable = function() {};
/** @typedef {Object|undefined} */
Protocol.ApplicationCacheAgent.EnableRequest;
/** @typedef {Object|undefined} */
Protocol.ApplicationCacheAgent.EnableResponse;
/**
* @param {!Protocol.ApplicationCacheAgent.EnableRequest} obj
* @return {!Promise} */
Protocol.ApplicationCacheAgent.prototype.invoke_enable = function(obj) {};
/**
* @param {Protocol.Page.FrameId} frameId
* @return {!Promise}
*/
Protocol.ApplicationCacheAgent.prototype.getApplicationCacheForFrame = function(frameId) {};
/** @typedef {!{frameId: Protocol.Page.FrameId}} */
Protocol.ApplicationCacheAgent.GetApplicationCacheForFrameRequest;
/** @typedef {!{applicationCache: Protocol.ApplicationCache.ApplicationCache}} */
Protocol.ApplicationCacheAgent.GetApplicationCacheForFrameResponse;
/**
* @param {!Protocol.ApplicationCacheAgent.GetApplicationCacheForFrameRequest} obj
* @return {!Promise} */
Protocol.ApplicationCacheAgent.prototype.invoke_getApplicationCacheForFrame = function(obj) {};
/**
* @return {!Promise>}
*/
Protocol.ApplicationCacheAgent.prototype.getFramesWithManifests = function() {};
/** @typedef {Object|undefined} */
Protocol.ApplicationCacheAgent.GetFramesWithManifestsRequest;
/** @typedef {!{frameIds: !Array}} */
Protocol.ApplicationCacheAgent.GetFramesWithManifestsResponse;
/**
* @param {!Protocol.ApplicationCacheAgent.GetFramesWithManifestsRequest} obj
* @return {!Promise} */
Protocol.ApplicationCacheAgent.prototype.invoke_getFramesWithManifests = function(obj) {};
/**
* @param {Protocol.Page.FrameId} frameId
* @return {!Promise}
*/
Protocol.ApplicationCacheAgent.prototype.getManifestForFrame = function(frameId) {};
/** @typedef {!{frameId: Protocol.Page.FrameId}} */
Protocol.ApplicationCacheAgent.GetManifestForFrameRequest;
/** @typedef {!{manifestURL: string}} */
Protocol.ApplicationCacheAgent.GetManifestForFrameResponse;
/**
* @param {!Protocol.ApplicationCacheAgent.GetManifestForFrameRequest} obj
* @return {!Promise} */
Protocol.ApplicationCacheAgent.prototype.invoke_getManifestForFrame = function(obj) {};
/** @typedef {!{url:(string), size:(number), type:(string)}} */
Protocol.ApplicationCache.ApplicationCacheResource;
/** @typedef {!{manifestURL:(string), size:(number), creationTime:(number), updateTime:(number), resources:(!Array)}} */
Protocol.ApplicationCache.ApplicationCache;
/** @typedef {!{frameId:(Protocol.Page.FrameId), manifestURL:(string), status:(number)}} */
Protocol.ApplicationCache.FrameWithManifest;
/** @interface */
Protocol.ApplicationCacheDispatcher = function() {};
/**
* @param {Protocol.Page.FrameId} frameId
* @param {string} manifestURL
* @param {number} status
*/
Protocol.ApplicationCacheDispatcher.prototype.applicationCacheStatusUpdated = function(frameId, manifestURL, status) {};
/**
* @param {boolean} isNowOnline
*/
Protocol.ApplicationCacheDispatcher.prototype.networkStateUpdated = function(isNowOnline) {};
Protocol.Audits = {};
/**
* @constructor
*/
Protocol.AuditsAgent = function(){};
/**
* @param {Protocol.Network.RequestId} requestId
* @param {string} encoding
* @param {number=} opt_quality
* @param {boolean=} opt_sizeOnly
* @return {!Promise}
*/
Protocol.AuditsAgent.prototype.getEncodedResponse = function(requestId, encoding, opt_quality, opt_sizeOnly) {};
/** @typedef {!{sizeOnly: (boolean|undefined), quality: (number|undefined), requestId: Protocol.Network.RequestId, encoding: string}} */
Protocol.AuditsAgent.GetEncodedResponseRequest;
/** @typedef {!{body: string, encodedSize: number, originalSize: number}} */
Protocol.AuditsAgent.GetEncodedResponseResponse;
/**
* @param {!Protocol.AuditsAgent.GetEncodedResponseRequest} obj
* @return {!Promise} */
Protocol.AuditsAgent.prototype.invoke_getEncodedResponse = function(obj) {};
/** @interface */
Protocol.AuditsDispatcher = function() {};
Protocol.BackgroundService = {};
/**
* @constructor
*/
Protocol.BackgroundServiceAgent = function(){};
/**
* @param {Protocol.BackgroundService.ServiceName} service
* @return {!Promise}
*/
Protocol.BackgroundServiceAgent.prototype.startObserving = function(service) {};
/** @typedef {!{service: Protocol.BackgroundService.ServiceName}} */
Protocol.BackgroundServiceAgent.StartObservingRequest;
/** @typedef {Object|undefined} */
Protocol.BackgroundServiceAgent.StartObservingResponse;
/**
* @param {!Protocol.BackgroundServiceAgent.StartObservingRequest} obj
* @return {!Promise} */
Protocol.BackgroundServiceAgent.prototype.invoke_startObserving = function(obj) {};
/**
* @param {Protocol.BackgroundService.ServiceName} service
* @return {!Promise}
*/
Protocol.BackgroundServiceAgent.prototype.stopObserving = function(service) {};
/** @typedef {!{service: Protocol.BackgroundService.ServiceName}} */
Protocol.BackgroundServiceAgent.StopObservingRequest;
/** @typedef {Object|undefined} */
Protocol.BackgroundServiceAgent.StopObservingResponse;
/**
* @param {!Protocol.BackgroundServiceAgent.StopObservingRequest} obj
* @return {!Promise} */
Protocol.BackgroundServiceAgent.prototype.invoke_stopObserving = function(obj) {};
/**
* @param {boolean} shouldRecord
* @param {Protocol.BackgroundService.ServiceName} service
* @return {!Promise}
*/
Protocol.BackgroundServiceAgent.prototype.setRecording = function(shouldRecord, service) {};
/** @typedef {!{shouldRecord: boolean, service: Protocol.BackgroundService.ServiceName}} */
Protocol.BackgroundServiceAgent.SetRecordingRequest;
/** @typedef {Object|undefined} */
Protocol.BackgroundServiceAgent.SetRecordingResponse;
/**
* @param {!Protocol.BackgroundServiceAgent.SetRecordingRequest} obj
* @return {!Promise} */
Protocol.BackgroundServiceAgent.prototype.invoke_setRecording = function(obj) {};
/**
* @param {Protocol.BackgroundService.ServiceName} service
* @return {!Promise}
*/
Protocol.BackgroundServiceAgent.prototype.clearEvents = function(service) {};
/** @typedef {!{service: Protocol.BackgroundService.ServiceName}} */
Protocol.BackgroundServiceAgent.ClearEventsRequest;
/** @typedef {Object|undefined} */
Protocol.BackgroundServiceAgent.ClearEventsResponse;
/**
* @param {!Protocol.BackgroundServiceAgent.ClearEventsRequest} obj
* @return {!Promise} */
Protocol.BackgroundServiceAgent.prototype.invoke_clearEvents = function(obj) {};
/** @enum {string} */
Protocol.BackgroundService.ServiceName = {
BackgroundFetch: "backgroundFetch",
BackgroundSync: "backgroundSync",
PushMessaging: "pushMessaging",
Notifications: "notifications",
PaymentHandler: "paymentHandler",
PeriodicBackgroundSync: "periodicBackgroundSync"
};
/** @typedef {!{key:(string), value:(string)}} */
Protocol.BackgroundService.EventMetadata;
/** @typedef {!{timestamp:(Protocol.Network.TimeSinceEpoch), origin:(string), serviceWorkerRegistrationId:(Protocol.ServiceWorker.RegistrationID), service:(Protocol.BackgroundService.ServiceName), eventName:(string), instanceId:(string), eventMetadata:(!Array)}} */
Protocol.BackgroundService.BackgroundServiceEvent;
/** @interface */
Protocol.BackgroundServiceDispatcher = function() {};
/**
* @param {boolean} isRecording
* @param {Protocol.BackgroundService.ServiceName} service
*/
Protocol.BackgroundServiceDispatcher.prototype.recordingStateChanged = function(isRecording, service) {};
/**
* @param {Protocol.BackgroundService.BackgroundServiceEvent} backgroundServiceEvent
*/
Protocol.BackgroundServiceDispatcher.prototype.backgroundServiceEventReceived = function(backgroundServiceEvent) {};
Protocol.Browser = {};
/**
* @constructor
*/
Protocol.BrowserAgent = function(){};
/**
* @param {string} origin
* @param {Protocol.Browser.PermissionDescriptor} permission
* @param {Protocol.Browser.PermissionSetting} setting
* @param {Protocol.Target.TargetID=} opt_browserContextId
* @return {!Promise}
*/
Protocol.BrowserAgent.prototype.setPermission = function(origin, permission, setting, opt_browserContextId) {};
/** @typedef {!{origin: string, browserContextId: (Protocol.Target.TargetID|undefined), setting: Protocol.Browser.PermissionSetting, permission: Protocol.Browser.PermissionDescriptor}} */
Protocol.BrowserAgent.SetPermissionRequest;
/** @typedef {Object|undefined} */
Protocol.BrowserAgent.SetPermissionResponse;
/**
* @param {!Protocol.BrowserAgent.SetPermissionRequest} obj
* @return {!Promise} */
Protocol.BrowserAgent.prototype.invoke_setPermission = function(obj) {};
/**
* @param {string} origin
* @param {!Array} permissions
* @param {Protocol.Target.BrowserContextID=} opt_browserContextId
* @return {!Promise}
*/
Protocol.BrowserAgent.prototype.grantPermissions = function(origin, permissions, opt_browserContextId) {};
/** @typedef {!{origin: string, browserContextId: (Protocol.Target.BrowserContextID|undefined), permissions: !Array}} */
Protocol.BrowserAgent.GrantPermissionsRequest;
/** @typedef {Object|undefined} */
Protocol.BrowserAgent.GrantPermissionsResponse;
/**
* @param {!Protocol.BrowserAgent.GrantPermissionsRequest} obj
* @return {!Promise} */
Protocol.BrowserAgent.prototype.invoke_grantPermissions = function(obj) {};
/**
* @param {Protocol.Target.BrowserContextID=} opt_browserContextId
* @return {!Promise}
*/
Protocol.BrowserAgent.prototype.resetPermissions = function(opt_browserContextId) {};
/** @typedef {!{browserContextId: (Protocol.Target.BrowserContextID|undefined)}} */
Protocol.BrowserAgent.ResetPermissionsRequest;
/** @typedef {Object|undefined} */
Protocol.BrowserAgent.ResetPermissionsResponse;
/**
* @param {!Protocol.BrowserAgent.ResetPermissionsRequest} obj
* @return {!Promise} */
Protocol.BrowserAgent.prototype.invoke_resetPermissions = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.BrowserAgent.prototype.close = function() {};
/** @typedef {Object|undefined} */
Protocol.BrowserAgent.CloseRequest;
/** @typedef {Object|undefined} */
Protocol.BrowserAgent.CloseResponse;
/**
* @param {!Protocol.BrowserAgent.CloseRequest} obj
* @return {!Promise} */
Protocol.BrowserAgent.prototype.invoke_close = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.BrowserAgent.prototype.crash = function() {};
/** @typedef {Object|undefined} */
Protocol.BrowserAgent.CrashRequest;
/** @typedef {Object|undefined} */
Protocol.BrowserAgent.CrashResponse;
/**
* @param {!Protocol.BrowserAgent.CrashRequest} obj
* @return {!Promise} */
Protocol.BrowserAgent.prototype.invoke_crash = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.BrowserAgent.prototype.crashGpuProcess = function() {};
/** @typedef {Object|undefined} */
Protocol.BrowserAgent.CrashGpuProcessRequest;
/** @typedef {Object|undefined} */
Protocol.BrowserAgent.CrashGpuProcessResponse;
/**
* @param {!Protocol.BrowserAgent.CrashGpuProcessRequest} obj
* @return {!Promise} */
Protocol.BrowserAgent.prototype.invoke_crashGpuProcess = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.BrowserAgent.prototype.getVersion = function() {};
/** @typedef {Object|undefined} */
Protocol.BrowserAgent.GetVersionRequest;
/** @typedef {!{userAgent: string, product: string, revision: string, jsVersion: string, protocolVersion: string}} */
Protocol.BrowserAgent.GetVersionResponse;
/**
* @param {!Protocol.BrowserAgent.GetVersionRequest} obj
* @return {!Promise} */
Protocol.BrowserAgent.prototype.invoke_getVersion = function(obj) {};
/**
* @return {!Promise>}
*/
Protocol.BrowserAgent.prototype.getBrowserCommandLine = function() {};
/** @typedef {Object|undefined} */
Protocol.BrowserAgent.GetBrowserCommandLineRequest;
/** @typedef {!{arguments: !Array}} */
Protocol.BrowserAgent.GetBrowserCommandLineResponse;
/**
* @param {!Protocol.BrowserAgent.GetBrowserCommandLineRequest} obj
* @return {!Promise} */
Protocol.BrowserAgent.prototype.invoke_getBrowserCommandLine = function(obj) {};
/**
* @param {string=} opt_query
* @param {boolean=} opt_delta
* @return {!Promise>}
*/
Protocol.BrowserAgent.prototype.getHistograms = function(opt_query, opt_delta) {};
/** @typedef {!{query: (string|undefined), delta: (boolean|undefined)}} */
Protocol.BrowserAgent.GetHistogramsRequest;
/** @typedef {!{histograms: !Array}} */
Protocol.BrowserAgent.GetHistogramsResponse;
/**
* @param {!Protocol.BrowserAgent.GetHistogramsRequest} obj
* @return {!Promise} */
Protocol.BrowserAgent.prototype.invoke_getHistograms = function(obj) {};
/**
* @param {string} name
* @param {boolean=} opt_delta
* @return {!Promise}
*/
Protocol.BrowserAgent.prototype.getHistogram = function(name, opt_delta) {};
/** @typedef {!{name: string, delta: (boolean|undefined)}} */
Protocol.BrowserAgent.GetHistogramRequest;
/** @typedef {!{histogram: Protocol.Browser.Histogram}} */
Protocol.BrowserAgent.GetHistogramResponse;
/**
* @param {!Protocol.BrowserAgent.GetHistogramRequest} obj
* @return {!Promise} */
Protocol.BrowserAgent.prototype.invoke_getHistogram = function(obj) {};
/**
* @param {Protocol.Browser.WindowID} windowId
* @return {!Promise}
*/
Protocol.BrowserAgent.prototype.getWindowBounds = function(windowId) {};
/** @typedef {!{windowId: Protocol.Browser.WindowID}} */
Protocol.BrowserAgent.GetWindowBoundsRequest;
/** @typedef {!{bounds: Protocol.Browser.Bounds}} */
Protocol.BrowserAgent.GetWindowBoundsResponse;
/**
* @param {!Protocol.BrowserAgent.GetWindowBoundsRequest} obj
* @return {!Promise} */
Protocol.BrowserAgent.prototype.invoke_getWindowBounds = function(obj) {};
/**
* @param {Protocol.Target.TargetID=} opt_targetId
* @return {!Promise}
*/
Protocol.BrowserAgent.prototype.getWindowForTarget = function(opt_targetId) {};
/** @typedef {!{targetId: (Protocol.Target.TargetID|undefined)}} */
Protocol.BrowserAgent.GetWindowForTargetRequest;
/** @typedef {!{windowId: Protocol.Browser.WindowID, bounds: Protocol.Browser.Bounds}} */
Protocol.BrowserAgent.GetWindowForTargetResponse;
/**
* @param {!Protocol.BrowserAgent.GetWindowForTargetRequest} obj
* @return {!Promise} */
Protocol.BrowserAgent.prototype.invoke_getWindowForTarget = function(obj) {};
/**
* @param {Protocol.Browser.WindowID} windowId
* @param {Protocol.Browser.Bounds} bounds
* @return {!Promise}
*/
Protocol.BrowserAgent.prototype.setWindowBounds = function(windowId, bounds) {};
/** @typedef {!{windowId: Protocol.Browser.WindowID, bounds: Protocol.Browser.Bounds}} */
Protocol.BrowserAgent.SetWindowBoundsRequest;
/** @typedef {Object|undefined} */
Protocol.BrowserAgent.SetWindowBoundsResponse;
/**
* @param {!Protocol.BrowserAgent.SetWindowBoundsRequest} obj
* @return {!Promise} */
Protocol.BrowserAgent.prototype.invoke_setWindowBounds = function(obj) {};
/**
* @param {string=} opt_badgeLabel
* @param {string=} opt_image
* @return {!Promise}
*/
Protocol.BrowserAgent.prototype.setDockTile = function(opt_badgeLabel, opt_image) {};
/** @typedef {!{image: (string|undefined), badgeLabel: (string|undefined)}} */
Protocol.BrowserAgent.SetDockTileRequest;
/** @typedef {Object|undefined} */
Protocol.BrowserAgent.SetDockTileResponse;
/**
* @param {!Protocol.BrowserAgent.SetDockTileRequest} obj
* @return {!Promise} */
Protocol.BrowserAgent.prototype.invoke_setDockTile = function(obj) {};
/** @typedef {number} */
Protocol.Browser.WindowID;
/** @enum {string} */
Protocol.Browser.WindowState = {
Normal: "normal",
Minimized: "minimized",
Maximized: "maximized",
Fullscreen: "fullscreen"
};
/** @typedef {!{left:(number|undefined), top:(number|undefined), width:(number|undefined), height:(number|undefined), windowState:(Protocol.Browser.WindowState|undefined)}} */
Protocol.Browser.Bounds;
/** @enum {string} */
Protocol.Browser.PermissionType = {
AccessibilityEvents: "accessibilityEvents",
AudioCapture: "audioCapture",
BackgroundSync: "backgroundSync",
BackgroundFetch: "backgroundFetch",
ClipboardRead: "clipboardRead",
ClipboardWrite: "clipboardWrite",
DurableStorage: "durableStorage",
Flash: "flash",
Geolocation: "geolocation",
Midi: "midi",
MidiSysex: "midiSysex",
Notifications: "notifications",
PaymentHandler: "paymentHandler",
PeriodicBackgroundSync: "periodicBackgroundSync",
ProtectedMediaIdentifier: "protectedMediaIdentifier",
Sensors: "sensors",
VideoCapture: "videoCapture",
IdleDetection: "idleDetection",
WakeLockScreen: "wakeLockScreen",
WakeLockSystem: "wakeLockSystem"
};
/** @enum {string} */
Protocol.Browser.PermissionSetting = {
Granted: "granted",
Denied: "denied",
Prompt: "prompt"
};
/** @typedef {!{name:(string), sysex:(boolean|undefined), userVisibleOnly:(boolean|undefined), type:(string|undefined)}} */
Protocol.Browser.PermissionDescriptor;
/** @typedef {!{low:(number), high:(number), count:(number)}} */
Protocol.Browser.Bucket;
/** @typedef {!{name:(string), sum:(number), count:(number), buckets:(!Array)}} */
Protocol.Browser.Histogram;
/** @interface */
Protocol.BrowserDispatcher = function() {};
Protocol.CSS = {};
/**
* @constructor
*/
Protocol.CSSAgent = function(){};
/**
* @param {Protocol.CSS.StyleSheetId} styleSheetId
* @param {string} ruleText
* @param {Protocol.CSS.SourceRange} location
* @return {!Promise}
*/
Protocol.CSSAgent.prototype.addRule = function(styleSheetId, ruleText, location) {};
/** @typedef {!{styleSheetId: Protocol.CSS.StyleSheetId, location: Protocol.CSS.SourceRange, ruleText: string}} */
Protocol.CSSAgent.AddRuleRequest;
/** @typedef {!{rule: Protocol.CSS.CSSRule}} */
Protocol.CSSAgent.AddRuleResponse;
/**
* @param {!Protocol.CSSAgent.AddRuleRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_addRule = function(obj) {};
/**
* @param {Protocol.CSS.StyleSheetId} styleSheetId
* @return {!Promise>}
*/
Protocol.CSSAgent.prototype.collectClassNames = function(styleSheetId) {};
/** @typedef {!{styleSheetId: Protocol.CSS.StyleSheetId}} */
Protocol.CSSAgent.CollectClassNamesRequest;
/** @typedef {!{classNames: !Array}} */
Protocol.CSSAgent.CollectClassNamesResponse;
/**
* @param {!Protocol.CSSAgent.CollectClassNamesRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_collectClassNames = function(obj) {};
/**
* @param {Protocol.Page.FrameId} frameId
* @return {!Promise}
*/
Protocol.CSSAgent.prototype.createStyleSheet = function(frameId) {};
/** @typedef {!{frameId: Protocol.Page.FrameId}} */
Protocol.CSSAgent.CreateStyleSheetRequest;
/** @typedef {!{styleSheetId: Protocol.CSS.StyleSheetId}} */
Protocol.CSSAgent.CreateStyleSheetResponse;
/**
* @param {!Protocol.CSSAgent.CreateStyleSheetRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_createStyleSheet = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.CSSAgent.prototype.disable = function() {};
/** @typedef {Object|undefined} */
Protocol.CSSAgent.DisableRequest;
/** @typedef {Object|undefined} */
Protocol.CSSAgent.DisableResponse;
/**
* @param {!Protocol.CSSAgent.DisableRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_disable = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.CSSAgent.prototype.enable = function() {};
/** @typedef {Object|undefined} */
Protocol.CSSAgent.EnableRequest;
/** @typedef {Object|undefined} */
Protocol.CSSAgent.EnableResponse;
/**
* @param {!Protocol.CSSAgent.EnableRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_enable = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {!Array} forcedPseudoClasses
* @return {!Promise}
*/
Protocol.CSSAgent.prototype.forcePseudoState = function(nodeId, forcedPseudoClasses) {};
/** @typedef {!{forcedPseudoClasses: !Array, nodeId: Protocol.DOM.NodeId}} */
Protocol.CSSAgent.ForcePseudoStateRequest;
/** @typedef {Object|undefined} */
Protocol.CSSAgent.ForcePseudoStateResponse;
/**
* @param {!Protocol.CSSAgent.ForcePseudoStateRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_forcePseudoState = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @return {!Promise>}
*/
Protocol.CSSAgent.prototype.getBackgroundColors = function(nodeId) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.CSSAgent.GetBackgroundColorsRequest;
/** @typedef {!{backgroundColors: !Array, computedFontWeight: string, computedFontSize: string}} */
Protocol.CSSAgent.GetBackgroundColorsResponse;
/**
* @param {!Protocol.CSSAgent.GetBackgroundColorsRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_getBackgroundColors = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @return {!Promise>}
*/
Protocol.CSSAgent.prototype.getComputedStyleForNode = function(nodeId) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.CSSAgent.GetComputedStyleForNodeRequest;
/** @typedef {!{computedStyle: !Array}} */
Protocol.CSSAgent.GetComputedStyleForNodeResponse;
/**
* @param {!Protocol.CSSAgent.GetComputedStyleForNodeRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_getComputedStyleForNode = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @return {!Promise}
*/
Protocol.CSSAgent.prototype.getInlineStylesForNode = function(nodeId) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.CSSAgent.GetInlineStylesForNodeRequest;
/** @typedef {!{inlineStyle: Protocol.CSS.CSSStyle, attributesStyle: Protocol.CSS.CSSStyle}} */
Protocol.CSSAgent.GetInlineStylesForNodeResponse;
/**
* @param {!Protocol.CSSAgent.GetInlineStylesForNodeRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_getInlineStylesForNode = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @return {!Promise}
*/
Protocol.CSSAgent.prototype.getMatchedStylesForNode = function(nodeId) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.CSSAgent.GetMatchedStylesForNodeRequest;
/** @typedef {!{inlineStyle: Protocol.CSS.CSSStyle, attributesStyle: Protocol.CSS.CSSStyle, cssKeyframesRules: !Array, matchedCSSRules: !Array, inherited: !Array, pseudoElements: !Array}} */
Protocol.CSSAgent.GetMatchedStylesForNodeResponse;
/**
* @param {!Protocol.CSSAgent.GetMatchedStylesForNodeRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_getMatchedStylesForNode = function(obj) {};
/**
* @return {!Promise>}
*/
Protocol.CSSAgent.prototype.getMediaQueries = function() {};
/** @typedef {Object|undefined} */
Protocol.CSSAgent.GetMediaQueriesRequest;
/** @typedef {!{medias: !Array}} */
Protocol.CSSAgent.GetMediaQueriesResponse;
/**
* @param {!Protocol.CSSAgent.GetMediaQueriesRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_getMediaQueries = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @return {!Promise>}
*/
Protocol.CSSAgent.prototype.getPlatformFontsForNode = function(nodeId) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.CSSAgent.GetPlatformFontsForNodeRequest;
/** @typedef {!{fonts: !Array}} */
Protocol.CSSAgent.GetPlatformFontsForNodeResponse;
/**
* @param {!Protocol.CSSAgent.GetPlatformFontsForNodeRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_getPlatformFontsForNode = function(obj) {};
/**
* @param {Protocol.CSS.StyleSheetId} styleSheetId
* @return {!Promise}
*/
Protocol.CSSAgent.prototype.getStyleSheetText = function(styleSheetId) {};
/** @typedef {!{styleSheetId: Protocol.CSS.StyleSheetId}} */
Protocol.CSSAgent.GetStyleSheetTextRequest;
/** @typedef {!{text: string}} */
Protocol.CSSAgent.GetStyleSheetTextResponse;
/**
* @param {!Protocol.CSSAgent.GetStyleSheetTextRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_getStyleSheetText = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {string} propertyName
* @param {string} value
* @return {!Promise}
*/
Protocol.CSSAgent.prototype.setEffectivePropertyValueForNode = function(nodeId, propertyName, value) {};
/** @typedef {!{propertyName: string, nodeId: Protocol.DOM.NodeId, value: string}} */
Protocol.CSSAgent.SetEffectivePropertyValueForNodeRequest;
/** @typedef {Object|undefined} */
Protocol.CSSAgent.SetEffectivePropertyValueForNodeResponse;
/**
* @param {!Protocol.CSSAgent.SetEffectivePropertyValueForNodeRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_setEffectivePropertyValueForNode = function(obj) {};
/**
* @param {Protocol.CSS.StyleSheetId} styleSheetId
* @param {Protocol.CSS.SourceRange} range
* @param {string} keyText
* @return {!Promise}
*/
Protocol.CSSAgent.prototype.setKeyframeKey = function(styleSheetId, range, keyText) {};
/** @typedef {!{range: Protocol.CSS.SourceRange, styleSheetId: Protocol.CSS.StyleSheetId, keyText: string}} */
Protocol.CSSAgent.SetKeyframeKeyRequest;
/** @typedef {!{keyText: Protocol.CSS.Value}} */
Protocol.CSSAgent.SetKeyframeKeyResponse;
/**
* @param {!Protocol.CSSAgent.SetKeyframeKeyRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_setKeyframeKey = function(obj) {};
/**
* @param {Protocol.CSS.StyleSheetId} styleSheetId
* @param {Protocol.CSS.SourceRange} range
* @param {string} text
* @return {!Promise}
*/
Protocol.CSSAgent.prototype.setMediaText = function(styleSheetId, range, text) {};
/** @typedef {!{text: string, range: Protocol.CSS.SourceRange, styleSheetId: Protocol.CSS.StyleSheetId}} */
Protocol.CSSAgent.SetMediaTextRequest;
/** @typedef {!{media: Protocol.CSS.CSSMedia}} */
Protocol.CSSAgent.SetMediaTextResponse;
/**
* @param {!Protocol.CSSAgent.SetMediaTextRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_setMediaText = function(obj) {};
/**
* @param {Protocol.CSS.StyleSheetId} styleSheetId
* @param {Protocol.CSS.SourceRange} range
* @param {string} selector
* @return {!Promise}
*/
Protocol.CSSAgent.prototype.setRuleSelector = function(styleSheetId, range, selector) {};
/** @typedef {!{range: Protocol.CSS.SourceRange, styleSheetId: Protocol.CSS.StyleSheetId, selector: string}} */
Protocol.CSSAgent.SetRuleSelectorRequest;
/** @typedef {!{selectorList: Protocol.CSS.SelectorList}} */
Protocol.CSSAgent.SetRuleSelectorResponse;
/**
* @param {!Protocol.CSSAgent.SetRuleSelectorRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_setRuleSelector = function(obj) {};
/**
* @param {Protocol.CSS.StyleSheetId} styleSheetId
* @param {string} text
* @return {!Promise}
*/
Protocol.CSSAgent.prototype.setStyleSheetText = function(styleSheetId, text) {};
/** @typedef {!{text: string, styleSheetId: Protocol.CSS.StyleSheetId}} */
Protocol.CSSAgent.SetStyleSheetTextRequest;
/** @typedef {!{sourceMapURL: string}} */
Protocol.CSSAgent.SetStyleSheetTextResponse;
/**
* @param {!Protocol.CSSAgent.SetStyleSheetTextRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_setStyleSheetText = function(obj) {};
/**
* @param {!Array} edits
* @return {!Promise>}
*/
Protocol.CSSAgent.prototype.setStyleTexts = function(edits) {};
/** @typedef {!{edits: !Array}} */
Protocol.CSSAgent.SetStyleTextsRequest;
/** @typedef {!{styles: !Array}} */
Protocol.CSSAgent.SetStyleTextsResponse;
/**
* @param {!Protocol.CSSAgent.SetStyleTextsRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_setStyleTexts = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.CSSAgent.prototype.startRuleUsageTracking = function() {};
/** @typedef {Object|undefined} */
Protocol.CSSAgent.StartRuleUsageTrackingRequest;
/** @typedef {Object|undefined} */
Protocol.CSSAgent.StartRuleUsageTrackingResponse;
/**
* @param {!Protocol.CSSAgent.StartRuleUsageTrackingRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_startRuleUsageTracking = function(obj) {};
/**
* @return {!Promise>}
*/
Protocol.CSSAgent.prototype.stopRuleUsageTracking = function() {};
/** @typedef {Object|undefined} */
Protocol.CSSAgent.StopRuleUsageTrackingRequest;
/** @typedef {!{ruleUsage: !Array}} */
Protocol.CSSAgent.StopRuleUsageTrackingResponse;
/**
* @param {!Protocol.CSSAgent.StopRuleUsageTrackingRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_stopRuleUsageTracking = function(obj) {};
/**
* @return {!Promise>}
*/
Protocol.CSSAgent.prototype.takeCoverageDelta = function() {};
/** @typedef {Object|undefined} */
Protocol.CSSAgent.TakeCoverageDeltaRequest;
/** @typedef {!{coverage: !Array}} */
Protocol.CSSAgent.TakeCoverageDeltaResponse;
/**
* @param {!Protocol.CSSAgent.TakeCoverageDeltaRequest} obj
* @return {!Promise} */
Protocol.CSSAgent.prototype.invoke_takeCoverageDelta = function(obj) {};
/** @typedef {string} */
Protocol.CSS.StyleSheetId;
/** @enum {string} */
Protocol.CSS.StyleSheetOrigin = {
Injected: "injected",
UserAgent: "user-agent",
Inspector: "inspector",
Regular: "regular"
};
/** @typedef {!{pseudoType:(Protocol.DOM.PseudoType), matches:(!Array)}} */
Protocol.CSS.PseudoElementMatches;
/** @typedef {!{inlineStyle:(Protocol.CSS.CSSStyle|undefined), matchedCSSRules:(!Array)}} */
Protocol.CSS.InheritedStyleEntry;
/** @typedef {!{rule:(Protocol.CSS.CSSRule), matchingSelectors:(!Array)}} */
Protocol.CSS.RuleMatch;
/** @typedef {!{text:(string), range:(Protocol.CSS.SourceRange|undefined)}} */
Protocol.CSS.Value;
/** @typedef {!{selectors:(!Array), text:(string)}} */
Protocol.CSS.SelectorList;
/** @typedef {!{styleSheetId:(Protocol.CSS.StyleSheetId), frameId:(Protocol.Page.FrameId), sourceURL:(string), sourceMapURL:(string|undefined), origin:(Protocol.CSS.StyleSheetOrigin), title:(string), ownerNode:(Protocol.DOM.BackendNodeId|undefined), disabled:(boolean), hasSourceURL:(boolean|undefined), isInline:(boolean), startLine:(number), startColumn:(number), length:(number), endLine:(number), endColumn:(number)}} */
Protocol.CSS.CSSStyleSheetHeader;
/** @typedef {!{styleSheetId:(Protocol.CSS.StyleSheetId|undefined), selectorList:(Protocol.CSS.SelectorList), origin:(Protocol.CSS.StyleSheetOrigin), style:(Protocol.CSS.CSSStyle), media:(!Array|undefined)}} */
Protocol.CSS.CSSRule;
/** @typedef {!{styleSheetId:(Protocol.CSS.StyleSheetId), startOffset:(number), endOffset:(number), used:(boolean)}} */
Protocol.CSS.RuleUsage;
/** @typedef {!{startLine:(number), startColumn:(number), endLine:(number), endColumn:(number)}} */
Protocol.CSS.SourceRange;
/** @typedef {!{name:(string), value:(string), important:(boolean|undefined)}} */
Protocol.CSS.ShorthandEntry;
/** @typedef {!{name:(string), value:(string)}} */
Protocol.CSS.CSSComputedStyleProperty;
/** @typedef {!{styleSheetId:(Protocol.CSS.StyleSheetId|undefined), cssProperties:(!Array), shorthandEntries:(!Array), cssText:(string|undefined), range:(Protocol.CSS.SourceRange|undefined)}} */
Protocol.CSS.CSSStyle;
/** @typedef {!{name:(string), value:(string), important:(boolean|undefined), implicit:(boolean|undefined), text:(string|undefined), parsedOk:(boolean|undefined), disabled:(boolean|undefined), range:(Protocol.CSS.SourceRange|undefined)}} */
Protocol.CSS.CSSProperty;
/** @enum {string} */
Protocol.CSS.CSSMediaSource = {
MediaRule: "mediaRule",
ImportRule: "importRule",
LinkedSheet: "linkedSheet",
InlineSheet: "inlineSheet"
};
/** @typedef {!{text:(string), source:(Protocol.CSS.CSSMediaSource), sourceURL:(string|undefined), range:(Protocol.CSS.SourceRange|undefined), styleSheetId:(Protocol.CSS.StyleSheetId|undefined), mediaList:(!Array|undefined)}} */
Protocol.CSS.CSSMedia;
/** @typedef {!{expressions:(!Array), active:(boolean)}} */
Protocol.CSS.MediaQuery;
/** @typedef {!{value:(number), unit:(string), feature:(string), valueRange:(Protocol.CSS.SourceRange|undefined), computedLength:(number|undefined)}} */
Protocol.CSS.MediaQueryExpression;
/** @typedef {!{familyName:(string), isCustomFont:(boolean), glyphCount:(number)}} */
Protocol.CSS.PlatformFontUsage;
/** @typedef {!{fontFamily:(string), fontStyle:(string), fontVariant:(string), fontWeight:(string), fontStretch:(string), unicodeRange:(string), src:(string), platformFontFamily:(string)}} */
Protocol.CSS.FontFace;
/** @typedef {!{animationName:(Protocol.CSS.Value), keyframes:(!Array)}} */
Protocol.CSS.CSSKeyframesRule;
/** @typedef {!{styleSheetId:(Protocol.CSS.StyleSheetId|undefined), origin:(Protocol.CSS.StyleSheetOrigin), keyText:(Protocol.CSS.Value), style:(Protocol.CSS.CSSStyle)}} */
Protocol.CSS.CSSKeyframeRule;
/** @typedef {!{styleSheetId:(Protocol.CSS.StyleSheetId), range:(Protocol.CSS.SourceRange), text:(string)}} */
Protocol.CSS.StyleDeclarationEdit;
/** @interface */
Protocol.CSSDispatcher = function() {};
/**
* @param {Protocol.CSS.FontFace=} opt_font
*/
Protocol.CSSDispatcher.prototype.fontsUpdated = function(opt_font) {};
Protocol.CSSDispatcher.prototype.mediaQueryResultChanged = function() {};
/**
* @param {Protocol.CSS.CSSStyleSheetHeader} header
*/
Protocol.CSSDispatcher.prototype.styleSheetAdded = function(header) {};
/**
* @param {Protocol.CSS.StyleSheetId} styleSheetId
*/
Protocol.CSSDispatcher.prototype.styleSheetChanged = function(styleSheetId) {};
/**
* @param {Protocol.CSS.StyleSheetId} styleSheetId
*/
Protocol.CSSDispatcher.prototype.styleSheetRemoved = function(styleSheetId) {};
Protocol.CacheStorage = {};
/**
* @constructor
*/
Protocol.CacheStorageAgent = function(){};
/**
* @param {Protocol.CacheStorage.CacheId} cacheId
* @return {!Promise}
*/
Protocol.CacheStorageAgent.prototype.deleteCache = function(cacheId) {};
/** @typedef {!{cacheId: Protocol.CacheStorage.CacheId}} */
Protocol.CacheStorageAgent.DeleteCacheRequest;
/** @typedef {Object|undefined} */
Protocol.CacheStorageAgent.DeleteCacheResponse;
/**
* @param {!Protocol.CacheStorageAgent.DeleteCacheRequest} obj
* @return {!Promise} */
Protocol.CacheStorageAgent.prototype.invoke_deleteCache = function(obj) {};
/**
* @param {Protocol.CacheStorage.CacheId} cacheId
* @param {string} request
* @return {!Promise}
*/
Protocol.CacheStorageAgent.prototype.deleteEntry = function(cacheId, request) {};
/** @typedef {!{cacheId: Protocol.CacheStorage.CacheId, request: string}} */
Protocol.CacheStorageAgent.DeleteEntryRequest;
/** @typedef {Object|undefined} */
Protocol.CacheStorageAgent.DeleteEntryResponse;
/**
* @param {!Protocol.CacheStorageAgent.DeleteEntryRequest} obj
* @return {!Promise} */
Protocol.CacheStorageAgent.prototype.invoke_deleteEntry = function(obj) {};
/**
* @param {string} securityOrigin
* @return {!Promise>}
*/
Protocol.CacheStorageAgent.prototype.requestCacheNames = function(securityOrigin) {};
/** @typedef {!{securityOrigin: string}} */
Protocol.CacheStorageAgent.RequestCacheNamesRequest;
/** @typedef {!{caches: !Array}} */
Protocol.CacheStorageAgent.RequestCacheNamesResponse;
/**
* @param {!Protocol.CacheStorageAgent.RequestCacheNamesRequest} obj
* @return {!Promise} */
Protocol.CacheStorageAgent.prototype.invoke_requestCacheNames = function(obj) {};
/**
* @param {Protocol.CacheStorage.CacheId} cacheId
* @param {string} requestURL
* @param {!Array} requestHeaders
* @return {!Promise}
*/
Protocol.CacheStorageAgent.prototype.requestCachedResponse = function(cacheId, requestURL, requestHeaders) {};
/** @typedef {!{requestHeaders: !Array, cacheId: Protocol.CacheStorage.CacheId, requestURL: string}} */
Protocol.CacheStorageAgent.RequestCachedResponseRequest;
/** @typedef {!{response: Protocol.CacheStorage.CachedResponse}} */
Protocol.CacheStorageAgent.RequestCachedResponseResponse;
/**
* @param {!Protocol.CacheStorageAgent.RequestCachedResponseRequest} obj
* @return {!Promise} */
Protocol.CacheStorageAgent.prototype.invoke_requestCachedResponse = function(obj) {};
/**
* @param {Protocol.CacheStorage.CacheId} cacheId
* @param {number=} opt_skipCount
* @param {number=} opt_pageSize
* @param {string=} opt_pathFilter
* @return {!Promise>}
*/
Protocol.CacheStorageAgent.prototype.requestEntries = function(cacheId, opt_skipCount, opt_pageSize, opt_pathFilter) {};
/** @typedef {!{pathFilter: (string|undefined), cacheId: Protocol.CacheStorage.CacheId, skipCount: (number|undefined), pageSize: (number|undefined)}} */
Protocol.CacheStorageAgent.RequestEntriesRequest;
/** @typedef {!{returnCount: number, cacheDataEntries: !Array}} */
Protocol.CacheStorageAgent.RequestEntriesResponse;
/**
* @param {!Protocol.CacheStorageAgent.RequestEntriesRequest} obj
* @return {!Promise} */
Protocol.CacheStorageAgent.prototype.invoke_requestEntries = function(obj) {};
/** @typedef {string} */
Protocol.CacheStorage.CacheId;
/** @enum {string} */
Protocol.CacheStorage.CachedResponseType = {
Basic: "basic",
Cors: "cors",
Default: "default",
Error: "error",
OpaqueResponse: "opaqueResponse",
OpaqueRedirect: "opaqueRedirect"
};
/** @typedef {!{requestURL:(string), requestMethod:(string), requestHeaders:(!Array), responseTime:(number), responseStatus:(number), responseStatusText:(string), responseType:(Protocol.CacheStorage.CachedResponseType), responseHeaders:(!Array)}} */
Protocol.CacheStorage.DataEntry;
/** @typedef {!{cacheId:(Protocol.CacheStorage.CacheId), securityOrigin:(string), cacheName:(string)}} */
Protocol.CacheStorage.Cache;
/** @typedef {!{name:(string), value:(string)}} */
Protocol.CacheStorage.Header;
/** @typedef {!{body:(string)}} */
Protocol.CacheStorage.CachedResponse;
/** @interface */
Protocol.CacheStorageDispatcher = function() {};
Protocol.Cast = {};
/**
* @constructor
*/
Protocol.CastAgent = function(){};
/**
* @param {string=} opt_presentationUrl
* @return {!Promise}
*/
Protocol.CastAgent.prototype.enable = function(opt_presentationUrl) {};
/** @typedef {!{presentationUrl: (string|undefined)}} */
Protocol.CastAgent.EnableRequest;
/** @typedef {Object|undefined} */
Protocol.CastAgent.EnableResponse;
/**
* @param {!Protocol.CastAgent.EnableRequest} obj
* @return {!Promise} */
Protocol.CastAgent.prototype.invoke_enable = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.CastAgent.prototype.disable = function() {};
/** @typedef {Object|undefined} */
Protocol.CastAgent.DisableRequest;
/** @typedef {Object|undefined} */
Protocol.CastAgent.DisableResponse;
/**
* @param {!Protocol.CastAgent.DisableRequest} obj
* @return {!Promise} */
Protocol.CastAgent.prototype.invoke_disable = function(obj) {};
/**
* @param {string} sinkName
* @return {!Promise}
*/
Protocol.CastAgent.prototype.setSinkToUse = function(sinkName) {};
/** @typedef {!{sinkName: string}} */
Protocol.CastAgent.SetSinkToUseRequest;
/** @typedef {Object|undefined} */
Protocol.CastAgent.SetSinkToUseResponse;
/**
* @param {!Protocol.CastAgent.SetSinkToUseRequest} obj
* @return {!Promise} */
Protocol.CastAgent.prototype.invoke_setSinkToUse = function(obj) {};
/**
* @param {string} sinkName
* @return {!Promise}
*/
Protocol.CastAgent.prototype.startTabMirroring = function(sinkName) {};
/** @typedef {!{sinkName: string}} */
Protocol.CastAgent.StartTabMirroringRequest;
/** @typedef {Object|undefined} */
Protocol.CastAgent.StartTabMirroringResponse;
/**
* @param {!Protocol.CastAgent.StartTabMirroringRequest} obj
* @return {!Promise} */
Protocol.CastAgent.prototype.invoke_startTabMirroring = function(obj) {};
/**
* @param {string} sinkName
* @return {!Promise}
*/
Protocol.CastAgent.prototype.stopCasting = function(sinkName) {};
/** @typedef {!{sinkName: string}} */
Protocol.CastAgent.StopCastingRequest;
/** @typedef {Object|undefined} */
Protocol.CastAgent.StopCastingResponse;
/**
* @param {!Protocol.CastAgent.StopCastingRequest} obj
* @return {!Promise} */
Protocol.CastAgent.prototype.invoke_stopCasting = function(obj) {};
/** @typedef {!{name:(string), id:(string), session:(string|undefined)}} */
Protocol.Cast.Sink;
/** @interface */
Protocol.CastDispatcher = function() {};
/**
* @param {!Array} sinks
*/
Protocol.CastDispatcher.prototype.sinksUpdated = function(sinks) {};
/**
* @param {string} issueMessage
*/
Protocol.CastDispatcher.prototype.issueUpdated = function(issueMessage) {};
Protocol.DOM = {};
/**
* @constructor
*/
Protocol.DOMAgent = function(){};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @return {!Promise>}
*/
Protocol.DOMAgent.prototype.collectClassNamesFromSubtree = function(nodeId) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMAgent.CollectClassNamesFromSubtreeRequest;
/** @typedef {!{classNames: !Array}} */
Protocol.DOMAgent.CollectClassNamesFromSubtreeResponse;
/**
* @param {!Protocol.DOMAgent.CollectClassNamesFromSubtreeRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_collectClassNamesFromSubtree = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {Protocol.DOM.NodeId} targetNodeId
* @param {Protocol.DOM.NodeId=} opt_insertBeforeNodeId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.copyTo = function(nodeId, targetNodeId, opt_insertBeforeNodeId) {};
/** @typedef {!{targetNodeId: Protocol.DOM.NodeId, nodeId: Protocol.DOM.NodeId, insertBeforeNodeId: (Protocol.DOM.NodeId|undefined)}} */
Protocol.DOMAgent.CopyToRequest;
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMAgent.CopyToResponse;
/**
* @param {!Protocol.DOMAgent.CopyToRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_copyTo = function(obj) {};
/**
* @param {Protocol.DOM.NodeId=} opt_nodeId
* @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
* @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
* @param {number=} opt_depth
* @param {boolean=} opt_pierce
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.describeNode = function(opt_nodeId, opt_backendNodeId, opt_objectId, opt_depth, opt_pierce) {};
/** @typedef {!{depth: (number|undefined), objectId: (Protocol.Runtime.RemoteObjectId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined), pierce: (boolean|undefined)}} */
Protocol.DOMAgent.DescribeNodeRequest;
/** @typedef {!{node: Protocol.DOM.Node}} */
Protocol.DOMAgent.DescribeNodeResponse;
/**
* @param {!Protocol.DOMAgent.DescribeNodeRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_describeNode = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.disable = function() {};
/** @typedef {Object|undefined} */
Protocol.DOMAgent.DisableRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.DisableResponse;
/**
* @param {!Protocol.DOMAgent.DisableRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_disable = function(obj) {};
/**
* @param {string} searchId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.discardSearchResults = function(searchId) {};
/** @typedef {!{searchId: string}} */
Protocol.DOMAgent.DiscardSearchResultsRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.DiscardSearchResultsResponse;
/**
* @param {!Protocol.DOMAgent.DiscardSearchResultsRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_discardSearchResults = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.enable = function() {};
/** @typedef {Object|undefined} */
Protocol.DOMAgent.EnableRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.EnableResponse;
/**
* @param {!Protocol.DOMAgent.EnableRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_enable = function(obj) {};
/**
* @param {Protocol.DOM.NodeId=} opt_nodeId
* @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
* @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.focus = function(opt_nodeId, opt_backendNodeId, opt_objectId) {};
/** @typedef {!{objectId: (Protocol.Runtime.RemoteObjectId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined)}} */
Protocol.DOMAgent.FocusRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.FocusResponse;
/**
* @param {!Protocol.DOMAgent.FocusRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_focus = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @return {!Promise>}
*/
Protocol.DOMAgent.prototype.getAttributes = function(nodeId) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMAgent.GetAttributesRequest;
/** @typedef {!{attributes: !Array}} */
Protocol.DOMAgent.GetAttributesResponse;
/**
* @param {!Protocol.DOMAgent.GetAttributesRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_getAttributes = function(obj) {};
/**
* @param {Protocol.DOM.NodeId=} opt_nodeId
* @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
* @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.getBoxModel = function(opt_nodeId, opt_backendNodeId, opt_objectId) {};
/** @typedef {!{objectId: (Protocol.Runtime.RemoteObjectId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined)}} */
Protocol.DOMAgent.GetBoxModelRequest;
/** @typedef {!{model: Protocol.DOM.BoxModel}} */
Protocol.DOMAgent.GetBoxModelResponse;
/**
* @param {!Protocol.DOMAgent.GetBoxModelRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_getBoxModel = function(obj) {};
/**
* @param {Protocol.DOM.NodeId=} opt_nodeId
* @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
* @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
* @return {!Promise>}
*/
Protocol.DOMAgent.prototype.getContentQuads = function(opt_nodeId, opt_backendNodeId, opt_objectId) {};
/** @typedef {!{objectId: (Protocol.Runtime.RemoteObjectId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined)}} */
Protocol.DOMAgent.GetContentQuadsRequest;
/** @typedef {!{quads: !Array}} */
Protocol.DOMAgent.GetContentQuadsResponse;
/**
* @param {!Protocol.DOMAgent.GetContentQuadsRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_getContentQuads = function(obj) {};
/**
* @param {number=} opt_depth
* @param {boolean=} opt_pierce
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.getDocument = function(opt_depth, opt_pierce) {};
/** @typedef {!{depth: (number|undefined), pierce: (boolean|undefined)}} */
Protocol.DOMAgent.GetDocumentRequest;
/** @typedef {!{root: Protocol.DOM.Node}} */
Protocol.DOMAgent.GetDocumentResponse;
/**
* @param {!Protocol.DOMAgent.GetDocumentRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_getDocument = function(obj) {};
/**
* @param {number=} opt_depth
* @param {boolean=} opt_pierce
* @return {!Promise>}
*/
Protocol.DOMAgent.prototype.getFlattenedDocument = function(opt_depth, opt_pierce) {};
/** @typedef {!{depth: (number|undefined), pierce: (boolean|undefined)}} */
Protocol.DOMAgent.GetFlattenedDocumentRequest;
/** @typedef {!{nodes: !Array}} */
Protocol.DOMAgent.GetFlattenedDocumentResponse;
/**
* @param {!Protocol.DOMAgent.GetFlattenedDocumentRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_getFlattenedDocument = function(obj) {};
/**
* @param {number} x
* @param {number} y
* @param {boolean=} opt_includeUserAgentShadowDOM
* @param {boolean=} opt_ignorePointerEventsNone
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.getNodeForLocation = function(x, y, opt_includeUserAgentShadowDOM, opt_ignorePointerEventsNone) {};
/** @typedef {!{y: number, x: number, ignorePointerEventsNone: (boolean|undefined), includeUserAgentShadowDOM: (boolean|undefined)}} */
Protocol.DOMAgent.GetNodeForLocationRequest;
/** @typedef {!{nodeId: Protocol.DOM.NodeId, backendNodeId: Protocol.DOM.BackendNodeId, frameId: Protocol.Page.FrameId}} */
Protocol.DOMAgent.GetNodeForLocationResponse;
/**
* @param {!Protocol.DOMAgent.GetNodeForLocationRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_getNodeForLocation = function(obj) {};
/**
* @param {Protocol.DOM.NodeId=} opt_nodeId
* @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
* @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.getOuterHTML = function(opt_nodeId, opt_backendNodeId, opt_objectId) {};
/** @typedef {!{objectId: (Protocol.Runtime.RemoteObjectId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined)}} */
Protocol.DOMAgent.GetOuterHTMLRequest;
/** @typedef {!{outerHTML: string}} */
Protocol.DOMAgent.GetOuterHTMLResponse;
/**
* @param {!Protocol.DOMAgent.GetOuterHTMLRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_getOuterHTML = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.getRelayoutBoundary = function(nodeId) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMAgent.GetRelayoutBoundaryRequest;
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMAgent.GetRelayoutBoundaryResponse;
/**
* @param {!Protocol.DOMAgent.GetRelayoutBoundaryRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_getRelayoutBoundary = function(obj) {};
/**
* @param {string} searchId
* @param {number} fromIndex
* @param {number} toIndex
* @return {!Promise>}
*/
Protocol.DOMAgent.prototype.getSearchResults = function(searchId, fromIndex, toIndex) {};
/** @typedef {!{toIndex: number, searchId: string, fromIndex: number}} */
Protocol.DOMAgent.GetSearchResultsRequest;
/** @typedef {!{nodeIds: !Array}} */
Protocol.DOMAgent.GetSearchResultsResponse;
/**
* @param {!Protocol.DOMAgent.GetSearchResultsRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_getSearchResults = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.hideHighlight = function() {};
/** @typedef {Object|undefined} */
Protocol.DOMAgent.HideHighlightRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.HideHighlightResponse;
/**
* @param {!Protocol.DOMAgent.HideHighlightRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_hideHighlight = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.highlightNode = function() {};
/** @typedef {Object|undefined} */
Protocol.DOMAgent.HighlightNodeRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.HighlightNodeResponse;
/**
* @param {!Protocol.DOMAgent.HighlightNodeRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_highlightNode = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.highlightRect = function() {};
/** @typedef {Object|undefined} */
Protocol.DOMAgent.HighlightRectRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.HighlightRectResponse;
/**
* @param {!Protocol.DOMAgent.HighlightRectRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_highlightRect = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.markUndoableState = function() {};
/** @typedef {Object|undefined} */
Protocol.DOMAgent.MarkUndoableStateRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.MarkUndoableStateResponse;
/**
* @param {!Protocol.DOMAgent.MarkUndoableStateRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_markUndoableState = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {Protocol.DOM.NodeId} targetNodeId
* @param {Protocol.DOM.NodeId=} opt_insertBeforeNodeId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.moveTo = function(nodeId, targetNodeId, opt_insertBeforeNodeId) {};
/** @typedef {!{targetNodeId: Protocol.DOM.NodeId, nodeId: Protocol.DOM.NodeId, insertBeforeNodeId: (Protocol.DOM.NodeId|undefined)}} */
Protocol.DOMAgent.MoveToRequest;
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMAgent.MoveToResponse;
/**
* @param {!Protocol.DOMAgent.MoveToRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_moveTo = function(obj) {};
/**
* @param {string} query
* @param {boolean=} opt_includeUserAgentShadowDOM
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.performSearch = function(query, opt_includeUserAgentShadowDOM) {};
/** @typedef {!{query: string, includeUserAgentShadowDOM: (boolean|undefined)}} */
Protocol.DOMAgent.PerformSearchRequest;
/** @typedef {!{searchId: string, resultCount: number}} */
Protocol.DOMAgent.PerformSearchResponse;
/**
* @param {!Protocol.DOMAgent.PerformSearchRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_performSearch = function(obj) {};
/**
* @param {string} path
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.pushNodeByPathToFrontend = function(path) {};
/** @typedef {!{path: string}} */
Protocol.DOMAgent.PushNodeByPathToFrontendRequest;
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMAgent.PushNodeByPathToFrontendResponse;
/**
* @param {!Protocol.DOMAgent.PushNodeByPathToFrontendRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_pushNodeByPathToFrontend = function(obj) {};
/**
* @param {!Array} backendNodeIds
* @return {!Promise>}
*/
Protocol.DOMAgent.prototype.pushNodesByBackendIdsToFrontend = function(backendNodeIds) {};
/** @typedef {!{backendNodeIds: !Array}} */
Protocol.DOMAgent.PushNodesByBackendIdsToFrontendRequest;
/** @typedef {!{nodeIds: !Array}} */
Protocol.DOMAgent.PushNodesByBackendIdsToFrontendResponse;
/**
* @param {!Protocol.DOMAgent.PushNodesByBackendIdsToFrontendRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_pushNodesByBackendIdsToFrontend = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {string} selector
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.querySelector = function(nodeId, selector) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId, selector: string}} */
Protocol.DOMAgent.QuerySelectorRequest;
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMAgent.QuerySelectorResponse;
/**
* @param {!Protocol.DOMAgent.QuerySelectorRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_querySelector = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {string} selector
* @return {!Promise>}
*/
Protocol.DOMAgent.prototype.querySelectorAll = function(nodeId, selector) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId, selector: string}} */
Protocol.DOMAgent.QuerySelectorAllRequest;
/** @typedef {!{nodeIds: !Array}} */
Protocol.DOMAgent.QuerySelectorAllResponse;
/**
* @param {!Protocol.DOMAgent.QuerySelectorAllRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_querySelectorAll = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.redo = function() {};
/** @typedef {Object|undefined} */
Protocol.DOMAgent.RedoRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.RedoResponse;
/**
* @param {!Protocol.DOMAgent.RedoRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_redo = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {string} name
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.removeAttribute = function(nodeId, name) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId, name: string}} */
Protocol.DOMAgent.RemoveAttributeRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.RemoveAttributeResponse;
/**
* @param {!Protocol.DOMAgent.RemoveAttributeRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_removeAttribute = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.removeNode = function(nodeId) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMAgent.RemoveNodeRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.RemoveNodeResponse;
/**
* @param {!Protocol.DOMAgent.RemoveNodeRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_removeNode = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {number=} opt_depth
* @param {boolean=} opt_pierce
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.requestChildNodes = function(nodeId, opt_depth, opt_pierce) {};
/** @typedef {!{depth: (number|undefined), nodeId: Protocol.DOM.NodeId, pierce: (boolean|undefined)}} */
Protocol.DOMAgent.RequestChildNodesRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.RequestChildNodesResponse;
/**
* @param {!Protocol.DOMAgent.RequestChildNodesRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_requestChildNodes = function(obj) {};
/**
* @param {Protocol.Runtime.RemoteObjectId} objectId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.requestNode = function(objectId) {};
/** @typedef {!{objectId: Protocol.Runtime.RemoteObjectId}} */
Protocol.DOMAgent.RequestNodeRequest;
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMAgent.RequestNodeResponse;
/**
* @param {!Protocol.DOMAgent.RequestNodeRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_requestNode = function(obj) {};
/**
* @param {Protocol.DOM.NodeId=} opt_nodeId
* @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
* @param {string=} opt_objectGroup
* @param {Protocol.Runtime.ExecutionContextId=} opt_executionContextId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.resolveNode = function(opt_nodeId, opt_backendNodeId, opt_objectGroup, opt_executionContextId) {};
/** @typedef {!{objectGroup: (string|undefined), executionContextId: (Protocol.Runtime.ExecutionContextId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined)}} */
Protocol.DOMAgent.ResolveNodeRequest;
/** @typedef {!{object: Protocol.Runtime.RemoteObject}} */
Protocol.DOMAgent.ResolveNodeResponse;
/**
* @param {!Protocol.DOMAgent.ResolveNodeRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_resolveNode = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {string} name
* @param {string} value
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.setAttributeValue = function(nodeId, name, value) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId, value: string, name: string}} */
Protocol.DOMAgent.SetAttributeValueRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.SetAttributeValueResponse;
/**
* @param {!Protocol.DOMAgent.SetAttributeValueRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_setAttributeValue = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {string} text
* @param {string=} opt_name
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.setAttributesAsText = function(nodeId, text, opt_name) {};
/** @typedef {!{text: string, nodeId: Protocol.DOM.NodeId, name: (string|undefined)}} */
Protocol.DOMAgent.SetAttributesAsTextRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.SetAttributesAsTextResponse;
/**
* @param {!Protocol.DOMAgent.SetAttributesAsTextRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_setAttributesAsText = function(obj) {};
/**
* @param {!Array} files
* @param {Protocol.DOM.NodeId=} opt_nodeId
* @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
* @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.setFileInputFiles = function(files, opt_nodeId, opt_backendNodeId, opt_objectId) {};
/** @typedef {!{files: !Array, objectId: (Protocol.Runtime.RemoteObjectId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined)}} */
Protocol.DOMAgent.SetFileInputFilesRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.SetFileInputFilesResponse;
/**
* @param {!Protocol.DOMAgent.SetFileInputFilesRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_setFileInputFiles = function(obj) {};
/**
* @param {boolean} enable
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.setNodeStackTracesEnabled = function(enable) {};
/** @typedef {!{enable: boolean}} */
Protocol.DOMAgent.SetNodeStackTracesEnabledRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.SetNodeStackTracesEnabledResponse;
/**
* @param {!Protocol.DOMAgent.SetNodeStackTracesEnabledRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_setNodeStackTracesEnabled = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.getNodeStackTraces = function(nodeId) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMAgent.GetNodeStackTracesRequest;
/** @typedef {!{creation: Protocol.Runtime.StackTrace}} */
Protocol.DOMAgent.GetNodeStackTracesResponse;
/**
* @param {!Protocol.DOMAgent.GetNodeStackTracesRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_getNodeStackTraces = function(obj) {};
/**
* @param {Protocol.Runtime.RemoteObjectId} objectId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.getFileInfo = function(objectId) {};
/** @typedef {!{objectId: Protocol.Runtime.RemoteObjectId}} */
Protocol.DOMAgent.GetFileInfoRequest;
/** @typedef {!{path: string}} */
Protocol.DOMAgent.GetFileInfoResponse;
/**
* @param {!Protocol.DOMAgent.GetFileInfoRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_getFileInfo = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.setInspectedNode = function(nodeId) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMAgent.SetInspectedNodeRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.SetInspectedNodeResponse;
/**
* @param {!Protocol.DOMAgent.SetInspectedNodeRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_setInspectedNode = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {string} name
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.setNodeName = function(nodeId, name) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId, name: string}} */
Protocol.DOMAgent.SetNodeNameRequest;
/** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMAgent.SetNodeNameResponse;
/**
* @param {!Protocol.DOMAgent.SetNodeNameRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_setNodeName = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {string} value
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.setNodeValue = function(nodeId, value) {};
/** @typedef {!{nodeId: Protocol.DOM.NodeId, value: string}} */
Protocol.DOMAgent.SetNodeValueRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.SetNodeValueResponse;
/**
* @param {!Protocol.DOMAgent.SetNodeValueRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_setNodeValue = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {string} outerHTML
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.setOuterHTML = function(nodeId, outerHTML) {};
/** @typedef {!{outerHTML: string, nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMAgent.SetOuterHTMLRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.SetOuterHTMLResponse;
/**
* @param {!Protocol.DOMAgent.SetOuterHTMLRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_setOuterHTML = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.undo = function() {};
/** @typedef {Object|undefined} */
Protocol.DOMAgent.UndoRequest;
/** @typedef {Object|undefined} */
Protocol.DOMAgent.UndoResponse;
/**
* @param {!Protocol.DOMAgent.UndoRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_undo = function(obj) {};
/**
* @param {Protocol.Page.FrameId} frameId
* @return {!Promise}
*/
Protocol.DOMAgent.prototype.getFrameOwner = function(frameId) {};
/** @typedef {!{frameId: Protocol.Page.FrameId}} */
Protocol.DOMAgent.GetFrameOwnerRequest;
/** @typedef {!{nodeId: Protocol.DOM.NodeId, backendNodeId: Protocol.DOM.BackendNodeId}} */
Protocol.DOMAgent.GetFrameOwnerResponse;
/**
* @param {!Protocol.DOMAgent.GetFrameOwnerRequest} obj
* @return {!Promise} */
Protocol.DOMAgent.prototype.invoke_getFrameOwner = function(obj) {};
/** @typedef {number} */
Protocol.DOM.NodeId;
/** @typedef {number} */
Protocol.DOM.BackendNodeId;
/** @typedef {!{nodeType:(number), nodeName:(string), backendNodeId:(Protocol.DOM.BackendNodeId)}} */
Protocol.DOM.BackendNode;
/** @enum {string} */
Protocol.DOM.PseudoType = {
FirstLine: "first-line",
FirstLetter: "first-letter",
Before: "before",
After: "after",
Backdrop: "backdrop",
Selection: "selection",
FirstLineInherited: "first-line-inherited",
Scrollbar: "scrollbar",
ScrollbarThumb: "scrollbar-thumb",
ScrollbarButton: "scrollbar-button",
ScrollbarTrack: "scrollbar-track",
ScrollbarTrackPiece: "scrollbar-track-piece",
ScrollbarCorner: "scrollbar-corner",
Resizer: "resizer",
InputListButton: "input-list-button"
};
/** @enum {string} */
Protocol.DOM.ShadowRootType = {
UserAgent: "user-agent",
Open: "open",
Closed: "closed"
};
/** @typedef {!{nodeId:(Protocol.DOM.NodeId), parentId:(Protocol.DOM.NodeId|undefined), backendNodeId:(Protocol.DOM.BackendNodeId), nodeType:(number), nodeName:(string), localName:(string), nodeValue:(string), childNodeCount:(number|undefined), children:(!Array|undefined), attributes:(!Array|undefined), documentURL:(string|undefined), baseURL:(string|undefined), publicId:(string|undefined), systemId:(string|undefined), internalSubset:(string|undefined), xmlVersion:(string|undefined), name:(string|undefined), value:(string|undefined), pseudoType:(Protocol.DOM.PseudoType|undefined), shadowRootType:(Protocol.DOM.ShadowRootType|undefined), frameId:(Protocol.Page.FrameId|undefined), contentDocument:(Protocol.DOM.Node|undefined), shadowRoots:(!Array|undefined), templateContent:(Protocol.DOM.Node|undefined), pseudoElements:(!Array|undefined), importedDocument:(Protocol.DOM.Node|undefined), distributedNodes:(!Array|undefined), isSVG:(boolean|undefined)}} */
Protocol.DOM.Node;
/** @typedef {!{r:(number), g:(number), b:(number), a:(number|undefined)}} */
Protocol.DOM.RGBA;
/** @typedef {!Array} */
Protocol.DOM.Quad;
/** @typedef {!{content:(Protocol.DOM.Quad), padding:(Protocol.DOM.Quad), border:(Protocol.DOM.Quad), margin:(Protocol.DOM.Quad), width:(number), height:(number), shapeOutside:(Protocol.DOM.ShapeOutsideInfo|undefined)}} */
Protocol.DOM.BoxModel;
/** @typedef {!{bounds:(Protocol.DOM.Quad), shape:(!Array<*>), marginShape:(!Array<*>)}} */
Protocol.DOM.ShapeOutsideInfo;
/** @typedef {!{x:(number), y:(number), width:(number), height:(number)}} */
Protocol.DOM.Rect;
/** @interface */
Protocol.DOMDispatcher = function() {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {string} name
* @param {string} value
*/
Protocol.DOMDispatcher.prototype.attributeModified = function(nodeId, name, value) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {string} name
*/
Protocol.DOMDispatcher.prototype.attributeRemoved = function(nodeId, name) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {string} characterData
*/
Protocol.DOMDispatcher.prototype.characterDataModified = function(nodeId, characterData) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {number} childNodeCount
*/
Protocol.DOMDispatcher.prototype.childNodeCountUpdated = function(nodeId, childNodeCount) {};
/**
* @param {Protocol.DOM.NodeId} parentNodeId
* @param {Protocol.DOM.NodeId} previousNodeId
* @param {Protocol.DOM.Node} node
*/
Protocol.DOMDispatcher.prototype.childNodeInserted = function(parentNodeId, previousNodeId, node) {};
/**
* @param {Protocol.DOM.NodeId} parentNodeId
* @param {Protocol.DOM.NodeId} nodeId
*/
Protocol.DOMDispatcher.prototype.childNodeRemoved = function(parentNodeId, nodeId) {};
/**
* @param {Protocol.DOM.NodeId} insertionPointId
* @param {!Array} distributedNodes
*/
Protocol.DOMDispatcher.prototype.distributedNodesUpdated = function(insertionPointId, distributedNodes) {};
Protocol.DOMDispatcher.prototype.documentUpdated = function() {};
/**
* @param {!Array} nodeIds
*/
Protocol.DOMDispatcher.prototype.inlineStyleInvalidated = function(nodeIds) {};
/**
* @param {Protocol.DOM.NodeId} parentId
* @param {Protocol.DOM.Node} pseudoElement
*/
Protocol.DOMDispatcher.prototype.pseudoElementAdded = function(parentId, pseudoElement) {};
/**
* @param {Protocol.DOM.NodeId} parentId
* @param {Protocol.DOM.NodeId} pseudoElementId
*/
Protocol.DOMDispatcher.prototype.pseudoElementRemoved = function(parentId, pseudoElementId) {};
/**
* @param {Protocol.DOM.NodeId} parentId
* @param {!Array} nodes
*/
Protocol.DOMDispatcher.prototype.setChildNodes = function(parentId, nodes) {};
/**
* @param {Protocol.DOM.NodeId} hostId
* @param {Protocol.DOM.NodeId} rootId
*/
Protocol.DOMDispatcher.prototype.shadowRootPopped = function(hostId, rootId) {};
/**
* @param {Protocol.DOM.NodeId} hostId
* @param {Protocol.DOM.Node} root
*/
Protocol.DOMDispatcher.prototype.shadowRootPushed = function(hostId, root) {};
Protocol.DOMDebugger = {};
/**
* @constructor
*/
Protocol.DOMDebuggerAgent = function(){};
/**
* @param {Protocol.Runtime.RemoteObjectId} objectId
* @param {number=} opt_depth
* @param {boolean=} opt_pierce
* @return {!Promise>}
*/
Protocol.DOMDebuggerAgent.prototype.getEventListeners = function(objectId, opt_depth, opt_pierce) {};
/** @typedef {!{depth: (number|undefined), pierce: (boolean|undefined), objectId: Protocol.Runtime.RemoteObjectId}} */
Protocol.DOMDebuggerAgent.GetEventListenersRequest;
/** @typedef {!{listeners: !Array}} */
Protocol.DOMDebuggerAgent.GetEventListenersResponse;
/**
* @param {!Protocol.DOMDebuggerAgent.GetEventListenersRequest} obj
* @return {!Promise} */
Protocol.DOMDebuggerAgent.prototype.invoke_getEventListeners = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {Protocol.DOMDebugger.DOMBreakpointType} type
* @return {!Promise}
*/
Protocol.DOMDebuggerAgent.prototype.removeDOMBreakpoint = function(nodeId, type) {};
/** @typedef {!{type: Protocol.DOMDebugger.DOMBreakpointType, nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMDebuggerAgent.RemoveDOMBreakpointRequest;
/** @typedef {Object|undefined} */
Protocol.DOMDebuggerAgent.RemoveDOMBreakpointResponse;
/**
* @param {!Protocol.DOMDebuggerAgent.RemoveDOMBreakpointRequest} obj
* @return {!Promise} */
Protocol.DOMDebuggerAgent.prototype.invoke_removeDOMBreakpoint = function(obj) {};
/**
* @param {string} eventName
* @param {string=} opt_targetName
* @return {!Promise}
*/
Protocol.DOMDebuggerAgent.prototype.removeEventListenerBreakpoint = function(eventName, opt_targetName) {};
/** @typedef {!{eventName: string, targetName: (string|undefined)}} */
Protocol.DOMDebuggerAgent.RemoveEventListenerBreakpointRequest;
/** @typedef {Object|undefined} */
Protocol.DOMDebuggerAgent.RemoveEventListenerBreakpointResponse;
/**
* @param {!Protocol.DOMDebuggerAgent.RemoveEventListenerBreakpointRequest} obj
* @return {!Promise} */
Protocol.DOMDebuggerAgent.prototype.invoke_removeEventListenerBreakpoint = function(obj) {};
/**
* @param {string} eventName
* @return {!Promise}
*/
Protocol.DOMDebuggerAgent.prototype.removeInstrumentationBreakpoint = function(eventName) {};
/** @typedef {!{eventName: string}} */
Protocol.DOMDebuggerAgent.RemoveInstrumentationBreakpointRequest;
/** @typedef {Object|undefined} */
Protocol.DOMDebuggerAgent.RemoveInstrumentationBreakpointResponse;
/**
* @param {!Protocol.DOMDebuggerAgent.RemoveInstrumentationBreakpointRequest} obj
* @return {!Promise} */
Protocol.DOMDebuggerAgent.prototype.invoke_removeInstrumentationBreakpoint = function(obj) {};
/**
* @param {string} url
* @return {!Promise}
*/
Protocol.DOMDebuggerAgent.prototype.removeXHRBreakpoint = function(url) {};
/** @typedef {!{url: string}} */
Protocol.DOMDebuggerAgent.RemoveXHRBreakpointRequest;
/** @typedef {Object|undefined} */
Protocol.DOMDebuggerAgent.RemoveXHRBreakpointResponse;
/**
* @param {!Protocol.DOMDebuggerAgent.RemoveXHRBreakpointRequest} obj
* @return {!Promise} */
Protocol.DOMDebuggerAgent.prototype.invoke_removeXHRBreakpoint = function(obj) {};
/**
* @param {Protocol.DOM.NodeId} nodeId
* @param {Protocol.DOMDebugger.DOMBreakpointType} type
* @return {!Promise}
*/
Protocol.DOMDebuggerAgent.prototype.setDOMBreakpoint = function(nodeId, type) {};
/** @typedef {!{type: Protocol.DOMDebugger.DOMBreakpointType, nodeId: Protocol.DOM.NodeId}} */
Protocol.DOMDebuggerAgent.SetDOMBreakpointRequest;
/** @typedef {Object|undefined} */
Protocol.DOMDebuggerAgent.SetDOMBreakpointResponse;
/**
* @param {!Protocol.DOMDebuggerAgent.SetDOMBreakpointRequest} obj
* @return {!Promise} */
Protocol.DOMDebuggerAgent.prototype.invoke_setDOMBreakpoint = function(obj) {};
/**
* @param {string} eventName
* @param {string=} opt_targetName
* @return {!Promise}
*/
Protocol.DOMDebuggerAgent.prototype.setEventListenerBreakpoint = function(eventName, opt_targetName) {};
/** @typedef {!{eventName: string, targetName: (string|undefined)}} */
Protocol.DOMDebuggerAgent.SetEventListenerBreakpointRequest;
/** @typedef {Object|undefined} */
Protocol.DOMDebuggerAgent.SetEventListenerBreakpointResponse;
/**
* @param {!Protocol.DOMDebuggerAgent.SetEventListenerBreakpointRequest} obj
* @return {!Promise} */
Protocol.DOMDebuggerAgent.prototype.invoke_setEventListenerBreakpoint = function(obj) {};
/**
* @param {string} eventName
* @return {!Promise}
*/
Protocol.DOMDebuggerAgent.prototype.setInstrumentationBreakpoint = function(eventName) {};
/** @typedef {!{eventName: string}} */
Protocol.DOMDebuggerAgent.SetInstrumentationBreakpointRequest;
/** @typedef {Object|undefined} */
Protocol.DOMDebuggerAgent.SetInstrumentationBreakpointResponse;
/**
* @param {!Protocol.DOMDebuggerAgent.SetInstrumentationBreakpointRequest} obj
* @return {!Promise} */
Protocol.DOMDebuggerAgent.prototype.invoke_setInstrumentationBreakpoint = function(obj) {};
/**
* @param {string} url
* @return {!Promise}
*/
Protocol.DOMDebuggerAgent.prototype.setXHRBreakpoint = function(url) {};
/** @typedef {!{url: string}} */
Protocol.DOMDebuggerAgent.SetXHRBreakpointRequest;
/** @typedef {Object|undefined} */
Protocol.DOMDebuggerAgent.SetXHRBreakpointResponse;
/**
* @param {!Protocol.DOMDebuggerAgent.SetXHRBreakpointRequest} obj
* @return {!Promise} */
Protocol.DOMDebuggerAgent.prototype.invoke_setXHRBreakpoint = function(obj) {};
/** @enum {string} */
Protocol.DOMDebugger.DOMBreakpointType = {
SubtreeModified: "subtree-modified",
AttributeModified: "attribute-modified",
NodeRemoved: "node-removed"
};
/** @typedef {!{type:(string), useCapture:(boolean), passive:(boolean), once:(boolean), scriptId:(Protocol.Runtime.ScriptId), lineNumber:(number), columnNumber:(number), handler:(Protocol.Runtime.RemoteObject|undefined), originalHandler:(Protocol.Runtime.RemoteObject|undefined), backendNodeId:(Protocol.DOM.BackendNodeId|undefined)}} */
Protocol.DOMDebugger.EventListener;
/** @interface */
Protocol.DOMDebuggerDispatcher = function() {};
Protocol.DOMSnapshot = {};
/**
* @constructor
*/
Protocol.DOMSnapshotAgent = function(){};
/**
* @return {!Promise}
*/
Protocol.DOMSnapshotAgent.prototype.disable = function() {};
/** @typedef {Object|undefined} */
Protocol.DOMSnapshotAgent.DisableRequest;
/** @typedef {Object|undefined} */
Protocol.DOMSnapshotAgent.DisableResponse;
/**
* @param {!Protocol.DOMSnapshotAgent.DisableRequest} obj
* @return {!Promise} */
Protocol.DOMSnapshotAgent.prototype.invoke_disable = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.DOMSnapshotAgent.prototype.enable = function() {};
/** @typedef {Object|undefined} */
Protocol.DOMSnapshotAgent.EnableRequest;
/** @typedef {Object|undefined} */
Protocol.DOMSnapshotAgent.EnableResponse;
/**
* @param {!Protocol.DOMSnapshotAgent.EnableRequest} obj
* @return {!Promise} */
Protocol.DOMSnapshotAgent.prototype.invoke_enable = function(obj) {};
/**
* @param {!Array} computedStyleWhitelist
* @param {boolean=} opt_includeEventListeners
* @param {boolean=} opt_includePaintOrder
* @param {boolean=} opt_includeUserAgentShadowTree
* @return {!Promise>}
*/
Protocol.DOMSnapshotAgent.prototype.getSnapshot = function(computedStyleWhitelist, opt_includeEventListeners, opt_includePaintOrder, opt_includeUserAgentShadowTree) {};
/** @typedef {!{includePaintOrder: (boolean|undefined), includeEventListeners: (boolean|undefined), computedStyleWhitelist: !Array, includeUserAgentShadowTree: (boolean|undefined)}} */
Protocol.DOMSnapshotAgent.GetSnapshotRequest;
/** @typedef {!{layoutTreeNodes: !Array, domNodes: !Array, computedStyles: !Array}} */
Protocol.DOMSnapshotAgent.GetSnapshotResponse;
/**
* @param {!Protocol.DOMSnapshotAgent.GetSnapshotRequest} obj
* @return {!Promise} */
Protocol.DOMSnapshotAgent.prototype.invoke_getSnapshot = function(obj) {};
/**
* @param {!Array} computedStyles
* @param {boolean=} opt_includePaintOrder
* @param {boolean=} opt_includeDOMRects
* @return {!Promise>}
*/
Protocol.DOMSnapshotAgent.prototype.captureSnapshot = function(computedStyles, opt_includePaintOrder, opt_includeDOMRects) {};
/** @typedef {!{includePaintOrder: (boolean|undefined), includeDOMRects: (boolean|undefined), computedStyles: !Array}} */
Protocol.DOMSnapshotAgent.CaptureSnapshotRequest;
/** @typedef {!{documents: !Array, strings: !Array}} */
Protocol.DOMSnapshotAgent.CaptureSnapshotResponse;
/**
* @param {!Protocol.DOMSnapshotAgent.CaptureSnapshotRequest} obj
* @return {!Promise} */
Protocol.DOMSnapshotAgent.prototype.invoke_captureSnapshot = function(obj) {};
/** @typedef {!{nodeType:(number), nodeName:(string), nodeValue:(string), textValue:(string|undefined), inputValue:(string|undefined), inputChecked:(boolean|undefined), optionSelected:(boolean|undefined), backendNodeId:(Protocol.DOM.BackendNodeId), childNodeIndexes:(!Array|undefined), attributes:(!Array|undefined), pseudoElementIndexes:(!Array|undefined), layoutNodeIndex:(number|undefined), documentURL:(string|undefined), baseURL:(string|undefined), contentLanguage:(string|undefined), documentEncoding:(string|undefined), publicId:(string|undefined), systemId:(string|undefined), frameId:(Protocol.Page.FrameId|undefined), contentDocumentIndex:(number|undefined), pseudoType:(Protocol.DOM.PseudoType|undefined), shadowRootType:(Protocol.DOM.ShadowRootType|undefined), isClickable:(boolean|undefined), eventListeners:(!Array|undefined), currentSourceURL:(string|undefined), originURL:(string|undefined), scrollOffsetX:(number|undefined), scrollOffsetY:(number|undefined)}} */
Protocol.DOMSnapshot.DOMNode;
/** @typedef {!{boundingBox:(Protocol.DOM.Rect), startCharacterIndex:(number), numCharacters:(number)}} */
Protocol.DOMSnapshot.InlineTextBox;
/** @typedef {!{domNodeIndex:(number), boundingBox:(Protocol.DOM.Rect), layoutText:(string|undefined), inlineTextNodes:(!Array|undefined), styleIndex:(number|undefined), paintOrder:(number|undefined), isStackingContext:(boolean|undefined)}} */
Protocol.DOMSnapshot.LayoutTreeNode;
/** @typedef {!{properties:(!Array)}} */
Protocol.DOMSnapshot.ComputedStyle;
/** @typedef {!{name:(string), value:(string)}} */
Protocol.DOMSnapshot.NameValue;
/** @typedef {number} */
Protocol.DOMSnapshot.StringIndex;
/** @typedef {!Array} */
Protocol.DOMSnapshot.ArrayOfStrings;
/** @typedef {!{index:(!Array), value:(!Array)}} */
Protocol.DOMSnapshot.RareStringData;
/** @typedef {!{index:(!Array)}} */
Protocol.DOMSnapshot.RareBooleanData;
/** @typedef {!{index:(!Array), value:(!Array)}} */
Protocol.DOMSnapshot.RareIntegerData;
/** @typedef {!Array} */
Protocol.DOMSnapshot.Rectangle;
/** @typedef {!{documentURL:(Protocol.DOMSnapshot.StringIndex), title:(Protocol.DOMSnapshot.StringIndex), baseURL:(Protocol.DOMSnapshot.StringIndex), contentLanguage:(Protocol.DOMSnapshot.StringIndex), encodingName:(Protocol.DOMSnapshot.StringIndex), publicId:(Protocol.DOMSnapshot.StringIndex), systemId:(Protocol.DOMSnapshot.StringIndex), frameId:(Protocol.DOMSnapshot.StringIndex), nodes:(Protocol.DOMSnapshot.NodeTreeSnapshot), layout:(Protocol.DOMSnapshot.LayoutTreeSnapshot), textBoxes:(Protocol.DOMSnapshot.TextBoxSnapshot), scrollOffsetX:(number|undefined), scrollOffsetY:(number|undefined), contentWidth:(number|undefined), contentHeight:(number|undefined)}} */
Protocol.DOMSnapshot.DocumentSnapshot;
/** @typedef {!{parentIndex:(!Array|undefined), nodeType:(!Array|undefined), nodeName:(!Array|undefined), nodeValue:(!Array|undefined), backendNodeId:(!Array|undefined), attributes:(!Array|undefined), textValue:(Protocol.DOMSnapshot.RareStringData|undefined), inputValue:(Protocol.DOMSnapshot.RareStringData|undefined), inputChecked:(Protocol.DOMSnapshot.RareBooleanData|undefined), optionSelected:(Protocol.DOMSnapshot.RareBooleanData|undefined), contentDocumentIndex:(Protocol.DOMSnapshot.RareIntegerData|undefined), pseudoType:(Protocol.DOMSnapshot.RareStringData|undefined), isClickable:(Protocol.DOMSnapshot.RareBooleanData|undefined), currentSourceURL:(Protocol.DOMSnapshot.RareStringData|undefined), originURL:(Protocol.DOMSnapshot.RareStringData|undefined)}} */
Protocol.DOMSnapshot.NodeTreeSnapshot;
/** @typedef {!{nodeIndex:(!Array), styles:(!Array), bounds:(!Array), text:(!Array), stackingContexts:(Protocol.DOMSnapshot.RareBooleanData), paintOrders:(!Array|undefined), offsetRects:(!Array|undefined), scrollRects:(!Array|undefined), clientRects:(!Array|undefined)}} */
Protocol.DOMSnapshot.LayoutTreeSnapshot;
/** @typedef {!{layoutIndex:(!Array), bounds:(!Array), start:(!Array), length:(!Array)}} */
Protocol.DOMSnapshot.TextBoxSnapshot;
/** @interface */
Protocol.DOMSnapshotDispatcher = function() {};
Protocol.DOMStorage = {};
/**
* @constructor
*/
Protocol.DOMStorageAgent = function(){};
/**
* @param {Protocol.DOMStorage.StorageId} storageId
* @return {!Promise}
*/
Protocol.DOMStorageAgent.prototype.clear = function(storageId) {};
/** @typedef {!{storageId: Protocol.DOMStorage.StorageId}} */
Protocol.DOMStorageAgent.ClearRequest;
/** @typedef {Object|undefined} */
Protocol.DOMStorageAgent.ClearResponse;
/**
* @param {!Protocol.DOMStorageAgent.ClearRequest} obj
* @return {!Promise} */
Protocol.DOMStorageAgent.prototype.invoke_clear = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.DOMStorageAgent.prototype.disable = function() {};
/** @typedef {Object|undefined} */
Protocol.DOMStorageAgent.DisableRequest;
/** @typedef {Object|undefined} */
Protocol.DOMStorageAgent.DisableResponse;
/**
* @param {!Protocol.DOMStorageAgent.DisableRequest} obj
* @return {!Promise} */
Protocol.DOMStorageAgent.prototype.invoke_disable = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.DOMStorageAgent.prototype.enable = function() {};
/** @typedef {Object|undefined} */
Protocol.DOMStorageAgent.EnableRequest;
/** @typedef {Object|undefined} */
Protocol.DOMStorageAgent.EnableResponse;
/**
* @param {!Protocol.DOMStorageAgent.EnableRequest} obj
* @return {!Promise} */
Protocol.DOMStorageAgent.prototype.invoke_enable = function(obj) {};
/**
* @param {Protocol.DOMStorage.StorageId} storageId
* @return {!Promise>}
*/
Protocol.DOMStorageAgent.prototype.getDOMStorageItems = function(storageId) {};
/** @typedef {!{storageId: Protocol.DOMStorage.StorageId}} */
Protocol.DOMStorageAgent.GetDOMStorageItemsRequest;
/** @typedef {!{entries: !Array}} */
Protocol.DOMStorageAgent.GetDOMStorageItemsResponse;
/**
* @param {!Protocol.DOMStorageAgent.GetDOMStorageItemsRequest} obj
* @return {!Promise} */
Protocol.DOMStorageAgent.prototype.invoke_getDOMStorageItems = function(obj) {};
/**
* @param {Protocol.DOMStorage.StorageId} storageId
* @param {string} key
* @return {!Promise}
*/
Protocol.DOMStorageAgent.prototype.removeDOMStorageItem = function(storageId, key) {};
/** @typedef {!{storageId: Protocol.DOMStorage.StorageId, key: string}} */
Protocol.DOMStorageAgent.RemoveDOMStorageItemRequest;
/** @typedef {Object|undefined} */
Protocol.DOMStorageAgent.RemoveDOMStorageItemResponse;
/**
* @param {!Protocol.DOMStorageAgent.RemoveDOMStorageItemRequest} obj
* @return {!Promise} */
Protocol.DOMStorageAgent.prototype.invoke_removeDOMStorageItem = function(obj) {};
/**
* @param {Protocol.DOMStorage.StorageId} storageId
* @param {string} key
* @param {string} value
* @return {!Promise}
*/
Protocol.DOMStorageAgent.prototype.setDOMStorageItem = function(storageId, key, value) {};
/** @typedef {!{value: string, storageId: Protocol.DOMStorage.StorageId, key: string}} */
Protocol.DOMStorageAgent.SetDOMStorageItemRequest;
/** @typedef {Object|undefined} */
Protocol.DOMStorageAgent.SetDOMStorageItemResponse;
/**
* @param {!Protocol.DOMStorageAgent.SetDOMStorageItemRequest} obj
* @return {!Promise} */
Protocol.DOMStorageAgent.prototype.invoke_setDOMStorageItem = function(obj) {};
/** @typedef {!{securityOrigin:(string), isLocalStorage:(boolean)}} */
Protocol.DOMStorage.StorageId;
/** @typedef {!Array} */
Protocol.DOMStorage.Item;
/** @interface */
Protocol.DOMStorageDispatcher = function() {};
/**
* @param {Protocol.DOMStorage.StorageId} storageId
* @param {string} key
* @param {string} newValue
*/
Protocol.DOMStorageDispatcher.prototype.domStorageItemAdded = function(storageId, key, newValue) {};
/**
* @param {Protocol.DOMStorage.StorageId} storageId
* @param {string} key
*/
Protocol.DOMStorageDispatcher.prototype.domStorageItemRemoved = function(storageId, key) {};
/**
* @param {Protocol.DOMStorage.StorageId} storageId
* @param {string} key
* @param {string} oldValue
* @param {string} newValue
*/
Protocol.DOMStorageDispatcher.prototype.domStorageItemUpdated = function(storageId, key, oldValue, newValue) {};
/**
* @param {Protocol.DOMStorage.StorageId} storageId
*/
Protocol.DOMStorageDispatcher.prototype.domStorageItemsCleared = function(storageId) {};
Protocol.Database = {};
/**
* @constructor
*/
Protocol.DatabaseAgent = function(){};
/**
* @return {!Promise}
*/
Protocol.DatabaseAgent.prototype.disable = function() {};
/** @typedef {Object|undefined} */
Protocol.DatabaseAgent.DisableRequest;
/** @typedef {Object|undefined} */
Protocol.DatabaseAgent.DisableResponse;
/**
* @param {!Protocol.DatabaseAgent.DisableRequest} obj
* @return {!Promise} */
Protocol.DatabaseAgent.prototype.invoke_disable = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.DatabaseAgent.prototype.enable = function() {};
/** @typedef {Object|undefined} */
Protocol.DatabaseAgent.EnableRequest;
/** @typedef {Object|undefined} */
Protocol.DatabaseAgent.EnableResponse;
/**
* @param {!Protocol.DatabaseAgent.EnableRequest} obj
* @return {!Promise} */
Protocol.DatabaseAgent.prototype.invoke_enable = function(obj) {};
/**
* @param {Protocol.Database.DatabaseId} databaseId
* @param {string} query
* @return {!Promise>}
*/
Protocol.DatabaseAgent.prototype.executeSQL = function(databaseId, query) {};
/** @typedef {!{query: string, databaseId: Protocol.Database.DatabaseId}} */
Protocol.DatabaseAgent.ExecuteSQLRequest;
/** @typedef {!{columnNames: !Array, values: !Array<*>, sqlError: Protocol.Database.Error}} */
Protocol.DatabaseAgent.ExecuteSQLResponse;
/**
* @param {!Protocol.DatabaseAgent.ExecuteSQLRequest} obj
* @return {!Promise} */
Protocol.DatabaseAgent.prototype.invoke_executeSQL = function(obj) {};
/**
* @param {Protocol.Database.DatabaseId} databaseId
* @return {!Promise>}
*/
Protocol.DatabaseAgent.prototype.getDatabaseTableNames = function(databaseId) {};
/** @typedef {!{databaseId: Protocol.Database.DatabaseId}} */
Protocol.DatabaseAgent.GetDatabaseTableNamesRequest;
/** @typedef {!{tableNames: !Array}} */
Protocol.DatabaseAgent.GetDatabaseTableNamesResponse;
/**
* @param {!Protocol.DatabaseAgent.GetDatabaseTableNamesRequest} obj
* @return {!Promise} */
Protocol.DatabaseAgent.prototype.invoke_getDatabaseTableNames = function(obj) {};
/** @typedef {string} */
Protocol.Database.DatabaseId;
/** @typedef {!{id:(Protocol.Database.DatabaseId), domain:(string), name:(string), version:(string)}} */
Protocol.Database.Database;
/** @typedef {!{message:(string), code:(number)}} */
Protocol.Database.Error;
/** @interface */
Protocol.DatabaseDispatcher = function() {};
/**
* @param {Protocol.Database.Database} database
*/
Protocol.DatabaseDispatcher.prototype.addDatabase = function(database) {};
Protocol.DeviceOrientation = {};
/**
* @constructor
*/
Protocol.DeviceOrientationAgent = function(){};
/**
* @return {!Promise}
*/
Protocol.DeviceOrientationAgent.prototype.clearDeviceOrientationOverride = function() {};
/** @typedef {Object|undefined} */
Protocol.DeviceOrientationAgent.ClearDeviceOrientationOverrideRequest;
/** @typedef {Object|undefined} */
Protocol.DeviceOrientationAgent.ClearDeviceOrientationOverrideResponse;
/**
* @param {!Protocol.DeviceOrientationAgent.ClearDeviceOrientationOverrideRequest} obj
* @return {!Promise} */
Protocol.DeviceOrientationAgent.prototype.invoke_clearDeviceOrientationOverride = function(obj) {};
/**
* @param {number} alpha
* @param {number} beta
* @param {number} gamma
* @return {!Promise}
*/
Protocol.DeviceOrientationAgent.prototype.setDeviceOrientationOverride = function(alpha, beta, gamma) {};
/** @typedef {!{alpha: number, beta: number, gamma: number}} */
Protocol.DeviceOrientationAgent.SetDeviceOrientationOverrideRequest;
/** @typedef {Object|undefined} */
Protocol.DeviceOrientationAgent.SetDeviceOrientationOverrideResponse;
/**
* @param {!Protocol.DeviceOrientationAgent.SetDeviceOrientationOverrideRequest} obj
* @return {!Promise} */
Protocol.DeviceOrientationAgent.prototype.invoke_setDeviceOrientationOverride = function(obj) {};
/** @interface */
Protocol.DeviceOrientationDispatcher = function() {};
Protocol.Emulation = {};
/**
* @constructor
*/
Protocol.EmulationAgent = function(){};
/**
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.canEmulate = function() {};
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.CanEmulateRequest;
/** @typedef {!{result: boolean}} */
Protocol.EmulationAgent.CanEmulateResponse;
/**
* @param {!Protocol.EmulationAgent.CanEmulateRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_canEmulate = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.clearDeviceMetricsOverride = function() {};
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.ClearDeviceMetricsOverrideRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.ClearDeviceMetricsOverrideResponse;
/**
* @param {!Protocol.EmulationAgent.ClearDeviceMetricsOverrideRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_clearDeviceMetricsOverride = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.clearGeolocationOverride = function() {};
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.ClearGeolocationOverrideRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.ClearGeolocationOverrideResponse;
/**
* @param {!Protocol.EmulationAgent.ClearGeolocationOverrideRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_clearGeolocationOverride = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.resetPageScaleFactor = function() {};
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.ResetPageScaleFactorRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.ResetPageScaleFactorResponse;
/**
* @param {!Protocol.EmulationAgent.ResetPageScaleFactorRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_resetPageScaleFactor = function(obj) {};
/**
* @param {boolean} enabled
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setFocusEmulationEnabled = function(enabled) {};
/** @typedef {!{enabled: boolean}} */
Protocol.EmulationAgent.SetFocusEmulationEnabledRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetFocusEmulationEnabledResponse;
/**
* @param {!Protocol.EmulationAgent.SetFocusEmulationEnabledRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setFocusEmulationEnabled = function(obj) {};
/**
* @param {number} rate
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setCPUThrottlingRate = function(rate) {};
/** @typedef {!{rate: number}} */
Protocol.EmulationAgent.SetCPUThrottlingRateRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetCPUThrottlingRateResponse;
/**
* @param {!Protocol.EmulationAgent.SetCPUThrottlingRateRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setCPUThrottlingRate = function(obj) {};
/**
* @param {Protocol.DOM.RGBA=} opt_color
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setDefaultBackgroundColorOverride = function(opt_color) {};
/** @typedef {!{color: (Protocol.DOM.RGBA|undefined)}} */
Protocol.EmulationAgent.SetDefaultBackgroundColorOverrideRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetDefaultBackgroundColorOverrideResponse;
/**
* @param {!Protocol.EmulationAgent.SetDefaultBackgroundColorOverrideRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setDefaultBackgroundColorOverride = function(obj) {};
/**
* @param {number} width
* @param {number} height
* @param {number} deviceScaleFactor
* @param {boolean} mobile
* @param {number=} opt_scale
* @param {number=} opt_screenWidth
* @param {number=} opt_screenHeight
* @param {number=} opt_positionX
* @param {number=} opt_positionY
* @param {boolean=} opt_dontSetVisibleSize
* @param {Protocol.Emulation.ScreenOrientation=} opt_screenOrientation
* @param {Protocol.Page.Viewport=} opt_viewport
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setDeviceMetricsOverride = function(width, height, deviceScaleFactor, mobile, opt_scale, opt_screenWidth, opt_screenHeight, opt_positionX, opt_positionY, opt_dontSetVisibleSize, opt_screenOrientation, opt_viewport) {};
/** @typedef {!{deviceScaleFactor: number, positionX: (number|undefined), scale: (number|undefined), screenHeight: (number|undefined), mobile: boolean, screenOrientation: (Protocol.Emulation.ScreenOrientation|undefined), dontSetVisibleSize: (boolean|undefined), height: number, width: number, positionY: (number|undefined), screenWidth: (number|undefined), viewport: (Protocol.Page.Viewport|undefined)}} */
Protocol.EmulationAgent.SetDeviceMetricsOverrideRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetDeviceMetricsOverrideResponse;
/**
* @param {!Protocol.EmulationAgent.SetDeviceMetricsOverrideRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setDeviceMetricsOverride = function(obj) {};
/**
* @param {boolean} hidden
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setScrollbarsHidden = function(hidden) {};
/** @typedef {!{hidden: boolean}} */
Protocol.EmulationAgent.SetScrollbarsHiddenRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetScrollbarsHiddenResponse;
/**
* @param {!Protocol.EmulationAgent.SetScrollbarsHiddenRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setScrollbarsHidden = function(obj) {};
/**
* @param {boolean} disabled
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setDocumentCookieDisabled = function(disabled) {};
/** @typedef {!{disabled: boolean}} */
Protocol.EmulationAgent.SetDocumentCookieDisabledRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetDocumentCookieDisabledResponse;
/**
* @param {!Protocol.EmulationAgent.SetDocumentCookieDisabledRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setDocumentCookieDisabled = function(obj) {};
/**
* @param {boolean} enabled
* @param {string=} opt_configuration
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setEmitTouchEventsForMouse = function(enabled, opt_configuration) {};
/** @typedef {!{configuration: (string|undefined), enabled: boolean}} */
Protocol.EmulationAgent.SetEmitTouchEventsForMouseRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetEmitTouchEventsForMouseResponse;
/**
* @param {!Protocol.EmulationAgent.SetEmitTouchEventsForMouseRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setEmitTouchEventsForMouse = function(obj) {};
/**
* @param {string=} opt_media
* @param {!Array=} opt_features
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setEmulatedMedia = function(opt_media, opt_features) {};
/** @typedef {!{media: (string|undefined), features: (!Array|undefined)}} */
Protocol.EmulationAgent.SetEmulatedMediaRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetEmulatedMediaResponse;
/**
* @param {!Protocol.EmulationAgent.SetEmulatedMediaRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setEmulatedMedia = function(obj) {};
/**
* @param {number=} opt_latitude
* @param {number=} opt_longitude
* @param {number=} opt_accuracy
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setGeolocationOverride = function(opt_latitude, opt_longitude, opt_accuracy) {};
/** @typedef {!{latitude: (number|undefined), longitude: (number|undefined), accuracy: (number|undefined)}} */
Protocol.EmulationAgent.SetGeolocationOverrideRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetGeolocationOverrideResponse;
/**
* @param {!Protocol.EmulationAgent.SetGeolocationOverrideRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setGeolocationOverride = function(obj) {};
/**
* @param {string} platform
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setNavigatorOverrides = function(platform) {};
/** @typedef {!{platform: string}} */
Protocol.EmulationAgent.SetNavigatorOverridesRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetNavigatorOverridesResponse;
/**
* @param {!Protocol.EmulationAgent.SetNavigatorOverridesRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setNavigatorOverrides = function(obj) {};
/**
* @param {number} pageScaleFactor
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setPageScaleFactor = function(pageScaleFactor) {};
/** @typedef {!{pageScaleFactor: number}} */
Protocol.EmulationAgent.SetPageScaleFactorRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetPageScaleFactorResponse;
/**
* @param {!Protocol.EmulationAgent.SetPageScaleFactorRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setPageScaleFactor = function(obj) {};
/**
* @param {boolean} value
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setScriptExecutionDisabled = function(value) {};
/** @typedef {!{value: boolean}} */
Protocol.EmulationAgent.SetScriptExecutionDisabledRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetScriptExecutionDisabledResponse;
/**
* @param {!Protocol.EmulationAgent.SetScriptExecutionDisabledRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setScriptExecutionDisabled = function(obj) {};
/**
* @param {boolean} enabled
* @param {number=} opt_maxTouchPoints
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setTouchEmulationEnabled = function(enabled, opt_maxTouchPoints) {};
/** @typedef {!{maxTouchPoints: (number|undefined), enabled: boolean}} */
Protocol.EmulationAgent.SetTouchEmulationEnabledRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetTouchEmulationEnabledResponse;
/**
* @param {!Protocol.EmulationAgent.SetTouchEmulationEnabledRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setTouchEmulationEnabled = function(obj) {};
/**
* @param {Protocol.Emulation.VirtualTimePolicy} policy
* @param {number=} opt_budget
* @param {number=} opt_maxVirtualTimeTaskStarvationCount
* @param {boolean=} opt_waitForNavigation
* @param {Protocol.Network.TimeSinceEpoch=} opt_initialVirtualTime
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setVirtualTimePolicy = function(policy, opt_budget, opt_maxVirtualTimeTaskStarvationCount, opt_waitForNavigation, opt_initialVirtualTime) {};
/** @typedef {!{policy: Protocol.Emulation.VirtualTimePolicy, initialVirtualTime: (Protocol.Network.TimeSinceEpoch|undefined), maxVirtualTimeTaskStarvationCount: (number|undefined), waitForNavigation: (boolean|undefined), budget: (number|undefined)}} */
Protocol.EmulationAgent.SetVirtualTimePolicyRequest;
/** @typedef {!{virtualTimeTicksBase: number}} */
Protocol.EmulationAgent.SetVirtualTimePolicyResponse;
/**
* @param {!Protocol.EmulationAgent.SetVirtualTimePolicyRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setVirtualTimePolicy = function(obj) {};
/**
* @param {string} timezoneId
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setTimezoneOverride = function(timezoneId) {};
/** @typedef {!{timezoneId: string}} */
Protocol.EmulationAgent.SetTimezoneOverrideRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetTimezoneOverrideResponse;
/**
* @param {!Protocol.EmulationAgent.SetTimezoneOverrideRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setTimezoneOverride = function(obj) {};
/**
* @param {number} width
* @param {number} height
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setVisibleSize = function(width, height) {};
/** @typedef {!{width: number, height: number}} */
Protocol.EmulationAgent.SetVisibleSizeRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetVisibleSizeResponse;
/**
* @param {!Protocol.EmulationAgent.SetVisibleSizeRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setVisibleSize = function(obj) {};
/**
* @param {string} userAgent
* @param {string=} opt_acceptLanguage
* @param {string=} opt_platform
* @return {!Promise}
*/
Protocol.EmulationAgent.prototype.setUserAgentOverride = function(userAgent, opt_acceptLanguage, opt_platform) {};
/** @typedef {!{acceptLanguage: (string|undefined), userAgent: string, platform: (string|undefined)}} */
Protocol.EmulationAgent.SetUserAgentOverrideRequest;
/** @typedef {Object|undefined} */
Protocol.EmulationAgent.SetUserAgentOverrideResponse;
/**
* @param {!Protocol.EmulationAgent.SetUserAgentOverrideRequest} obj
* @return {!Promise} */
Protocol.EmulationAgent.prototype.invoke_setUserAgentOverride = function(obj) {};
/** @enum {string} */
Protocol.Emulation.ScreenOrientationType = {
PortraitPrimary: "portraitPrimary",
PortraitSecondary: "portraitSecondary",
LandscapePrimary: "landscapePrimary",
LandscapeSecondary: "landscapeSecondary"
};
/** @typedef {!{type:(Protocol.Emulation.ScreenOrientationType), angle:(number)}} */
Protocol.Emulation.ScreenOrientation;
/** @typedef {!{name:(string), value:(string)}} */
Protocol.Emulation.MediaFeature;
/** @enum {string} */
Protocol.Emulation.VirtualTimePolicy = {
Advance: "advance",
Pause: "pause",
PauseIfNetworkFetchesPending: "pauseIfNetworkFetchesPending"
};
/** @interface */
Protocol.EmulationDispatcher = function() {};
Protocol.EmulationDispatcher.prototype.virtualTimeBudgetExpired = function() {};
Protocol.HeadlessExperimental = {};
/**
* @constructor
*/
Protocol.HeadlessExperimentalAgent = function(){};
/**
* @param {number=} opt_frameTimeTicks
* @param {number=} opt_interval
* @param {boolean=} opt_noDisplayUpdates
* @param {Protocol.HeadlessExperimental.ScreenshotParams=} opt_screenshot
* @return {!Promise}
*/
Protocol.HeadlessExperimentalAgent.prototype.beginFrame = function(opt_frameTimeTicks, opt_interval, opt_noDisplayUpdates, opt_screenshot) {};
/** @typedef {!{interval: (number|undefined), frameTimeTicks: (number|undefined), noDisplayUpdates: (boolean|undefined), screenshot: (Protocol.HeadlessExperimental.ScreenshotParams|undefined)}} */
Protocol.HeadlessExperimentalAgent.BeginFrameRequest;
/** @typedef {!{hasDamage: boolean, screenshotData: string}} */
Protocol.HeadlessExperimentalAgent.BeginFrameResponse;
/**
* @param {!Protocol.HeadlessExperimentalAgent.BeginFrameRequest} obj
* @return {!Promise} */
Protocol.HeadlessExperimentalAgent.prototype.invoke_beginFrame = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.HeadlessExperimentalAgent.prototype.disable = function() {};
/** @typedef {Object|undefined} */
Protocol.HeadlessExperimentalAgent.DisableRequest;
/** @typedef {Object|undefined} */
Protocol.HeadlessExperimentalAgent.DisableResponse;
/**
* @param {!Protocol.HeadlessExperimentalAgent.DisableRequest} obj
* @return {!Promise} */
Protocol.HeadlessExperimentalAgent.prototype.invoke_disable = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.HeadlessExperimentalAgent.prototype.enable = function() {};
/** @typedef {Object|undefined} */
Protocol.HeadlessExperimentalAgent.EnableRequest;
/** @typedef {Object|undefined} */
Protocol.HeadlessExperimentalAgent.EnableResponse;
/**
* @param {!Protocol.HeadlessExperimentalAgent.EnableRequest} obj
* @return {!Promise} */
Protocol.HeadlessExperimentalAgent.prototype.invoke_enable = function(obj) {};
/** @enum {string} */
Protocol.HeadlessExperimental.ScreenshotParamsFormat = {
Jpeg: "jpeg",
Png: "png"
};
/** @typedef {!{format:(Protocol.HeadlessExperimental.ScreenshotParamsFormat|undefined), quality:(number|undefined)}} */
Protocol.HeadlessExperimental.ScreenshotParams;
/** @interface */
Protocol.HeadlessExperimentalDispatcher = function() {};
/**
* @param {boolean} needsBeginFrames
*/
Protocol.HeadlessExperimentalDispatcher.prototype.needsBeginFramesChanged = function(needsBeginFrames) {};
Protocol.IO = {};
/**
* @constructor
*/
Protocol.IOAgent = function(){};
/**
* @param {Protocol.IO.StreamHandle} handle
* @return {!Promise}
*/
Protocol.IOAgent.prototype.close = function(handle) {};
/** @typedef {!{handle: Protocol.IO.StreamHandle}} */
Protocol.IOAgent.CloseRequest;
/** @typedef {Object|undefined} */
Protocol.IOAgent.CloseResponse;
/**
* @param {!Protocol.IOAgent.CloseRequest} obj
* @return {!Promise} */
Protocol.IOAgent.prototype.invoke_close = function(obj) {};
/**
* @param {Protocol.IO.StreamHandle} handle
* @param {number=} opt_offset
* @param {number=} opt_size
* @return {!Promise}
*/
Protocol.IOAgent.prototype.read = function(handle, opt_offset, opt_size) {};
/** @typedef {!{size: (number|undefined), handle: Protocol.IO.StreamHandle, offset: (number|undefined)}} */
Protocol.IOAgent.ReadRequest;
/** @typedef {!{data: string, base64Encoded: boolean, eof: boolean}} */
Protocol.IOAgent.ReadResponse;
/**
* @param {!Protocol.IOAgent.ReadRequest} obj
* @return {!Promise} */
Protocol.IOAgent.prototype.invoke_read = function(obj) {};
/**
* @param {Protocol.Runtime.RemoteObjectId} objectId
* @return {!Promise}
*/
Protocol.IOAgent.prototype.resolveBlob = function(objectId) {};
/** @typedef {!{objectId: Protocol.Runtime.RemoteObjectId}} */
Protocol.IOAgent.ResolveBlobRequest;
/** @typedef {!{uuid: string}} */
Protocol.IOAgent.ResolveBlobResponse;
/**
* @param {!Protocol.IOAgent.ResolveBlobRequest} obj
* @return {!Promise} */
Protocol.IOAgent.prototype.invoke_resolveBlob = function(obj) {};
/** @typedef {string} */
Protocol.IO.StreamHandle;
/** @interface */
Protocol.IODispatcher = function() {};
Protocol.IndexedDB = {};
/**
* @constructor
*/
Protocol.IndexedDBAgent = function(){};
/**
* @param {string} securityOrigin
* @param {string} databaseName
* @param {string} objectStoreName
* @return {!Promise}
*/
Protocol.IndexedDBAgent.prototype.clearObjectStore = function(securityOrigin, databaseName, objectStoreName) {};
/** @typedef {!{objectStoreName: string, databaseName: string, securityOrigin: string}} */
Protocol.IndexedDBAgent.ClearObjectStoreRequest;
/** @typedef {Object|undefined} */
Protocol.IndexedDBAgent.ClearObjectStoreResponse;
/**
* @param {!Protocol.IndexedDBAgent.ClearObjectStoreRequest} obj
* @return {!Promise} */
Protocol.IndexedDBAgent.prototype.invoke_clearObjectStore = function(obj) {};
/**
* @param {string} securityOrigin
* @param {string} databaseName
* @return {!Promise}
*/
Protocol.IndexedDBAgent.prototype.deleteDatabase = function(securityOrigin, databaseName) {};
/** @typedef {!{databaseName: string, securityOrigin: string}} */
Protocol.IndexedDBAgent.DeleteDatabaseRequest;
/** @typedef {Object|undefined} */
Protocol.IndexedDBAgent.DeleteDatabaseResponse;
/**
* @param {!Protocol.IndexedDBAgent.DeleteDatabaseRequest} obj
* @return {!Promise} */
Protocol.IndexedDBAgent.prototype.invoke_deleteDatabase = function(obj) {};
/**
* @param {string} securityOrigin
* @param {string} databaseName
* @param {string} objectStoreName
* @param {Protocol.IndexedDB.KeyRange} keyRange
* @return {!Promise}
*/
Protocol.IndexedDBAgent.prototype.deleteObjectStoreEntries = function(securityOrigin, databaseName, objectStoreName, keyRange) {};
/** @typedef {!{objectStoreName: string, keyRange: Protocol.IndexedDB.KeyRange, databaseName: string, securityOrigin: string}} */
Protocol.IndexedDBAgent.DeleteObjectStoreEntriesRequest;
/** @typedef {Object|undefined} */
Protocol.IndexedDBAgent.DeleteObjectStoreEntriesResponse;
/**
* @param {!Protocol.IndexedDBAgent.DeleteObjectStoreEntriesRequest} obj
* @return {!Promise} */
Protocol.IndexedDBAgent.prototype.invoke_deleteObjectStoreEntries = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.IndexedDBAgent.prototype.disable = function() {};
/** @typedef {Object|undefined} */
Protocol.IndexedDBAgent.DisableRequest;
/** @typedef {Object|undefined} */
Protocol.IndexedDBAgent.DisableResponse;
/**
* @param {!Protocol.IndexedDBAgent.DisableRequest} obj
* @return {!Promise} */
Protocol.IndexedDBAgent.prototype.invoke_disable = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.IndexedDBAgent.prototype.enable = function() {};
/** @typedef {Object|undefined} */
Protocol.IndexedDBAgent.EnableRequest;
/** @typedef {Object|undefined} */
Protocol.IndexedDBAgent.EnableResponse;
/**
* @param {!Protocol.IndexedDBAgent.EnableRequest} obj
* @return {!Promise} */
Protocol.IndexedDBAgent.prototype.invoke_enable = function(obj) {};
/**
* @param {string} securityOrigin
* @param {string} databaseName
* @param {string} objectStoreName
* @param {string} indexName
* @param {number} skipCount
* @param {number} pageSize
* @param {Protocol.IndexedDB.KeyRange=} opt_keyRange
* @return {!Promise>}
*/
Protocol.IndexedDBAgent.prototype.requestData = function(securityOrigin, databaseName, objectStoreName, indexName, skipCount, pageSize, opt_keyRange) {};
/** @typedef {!{indexName: string, pageSize: number, objectStoreName: string, skipCount: number, keyRange: (Protocol.IndexedDB.KeyRange|undefined), databaseName: string, securityOrigin: string}} */
Protocol.IndexedDBAgent.RequestDataRequest;
/** @typedef {!{hasMore: boolean, objectStoreDataEntries: !Array}} */
Protocol.IndexedDBAgent.RequestDataResponse;
/**
* @param {!Protocol.IndexedDBAgent.RequestDataRequest} obj
* @return {!Promise} */
Protocol.IndexedDBAgent.prototype.invoke_requestData = function(obj) {};
/**
* @param {string} securityOrigin
* @param {string} databaseName
* @param {string} objectStoreName
* @return {!Promise}
*/
Protocol.IndexedDBAgent.prototype.getMetadata = function(securityOrigin, databaseName, objectStoreName) {};
/** @typedef {!{objectStoreName: string, databaseName: string, securityOrigin: string}} */
Protocol.IndexedDBAgent.GetMetadataRequest;
/** @typedef {!{entriesCount: number, keyGeneratorValue: number}} */
Protocol.IndexedDBAgent.GetMetadataResponse;
/**
* @param {!Protocol.IndexedDBAgent.GetMetadataRequest} obj
* @return {!Promise} */
Protocol.IndexedDBAgent.prototype.invoke_getMetadata = function(obj) {};
/**
* @param {string} securityOrigin
* @param {string} databaseName
* @return {!Promise}
*/
Protocol.IndexedDBAgent.prototype.requestDatabase = function(securityOrigin, databaseName) {};
/** @typedef {!{databaseName: string, securityOrigin: string}} */
Protocol.IndexedDBAgent.RequestDatabaseRequest;
/** @typedef {!{databaseWithObjectStores: Protocol.IndexedDB.DatabaseWithObjectStores}} */
Protocol.IndexedDBAgent.RequestDatabaseResponse;
/**
* @param {!Protocol.IndexedDBAgent.RequestDatabaseRequest} obj
* @return {!Promise} */
Protocol.IndexedDBAgent.prototype.invoke_requestDatabase = function(obj) {};
/**
* @param {string} securityOrigin
* @return {!Promise>}
*/
Protocol.IndexedDBAgent.prototype.requestDatabaseNames = function(securityOrigin) {};
/** @typedef {!{securityOrigin: string}} */
Protocol.IndexedDBAgent.RequestDatabaseNamesRequest;
/** @typedef {!{databaseNames: !Array}} */
Protocol.IndexedDBAgent.RequestDatabaseNamesResponse;
/**
* @param {!Protocol.IndexedDBAgent.RequestDatabaseNamesRequest} obj
* @return {!Promise} */
Protocol.IndexedDBAgent.prototype.invoke_requestDatabaseNames = function(obj) {};
/** @typedef {!{name:(string), version:(number), objectStores:(!Array)}} */
Protocol.IndexedDB.DatabaseWithObjectStores;
/** @typedef {!{name:(string), keyPath:(Protocol.IndexedDB.KeyPath), autoIncrement:(boolean), indexes:(!Array)}} */
Protocol.IndexedDB.ObjectStore;
/** @typedef {!{name:(string), keyPath:(Protocol.IndexedDB.KeyPath), unique:(boolean), multiEntry:(boolean)}} */
Protocol.IndexedDB.ObjectStoreIndex;
/** @enum {string} */
Protocol.IndexedDB.KeyType = {
Number: "number",
String: "string",
Date: "date",
Array: "array"
};
/** @typedef {!{type:(Protocol.IndexedDB.KeyType), number:(number|undefined), string:(string|undefined), date:(number|undefined), array:(!Array|undefined)}} */
Protocol.IndexedDB.Key;
/** @typedef {!{lower:(Protocol.IndexedDB.Key|undefined), upper:(Protocol.IndexedDB.Key|undefined), lowerOpen:(boolean), upperOpen:(boolean)}} */
Protocol.IndexedDB.KeyRange;
/** @typedef {!{key:(Protocol.Runtime.RemoteObject), primaryKey:(Protocol.Runtime.RemoteObject), value:(Protocol.Runtime.RemoteObject)}} */
Protocol.IndexedDB.DataEntry;
/** @enum {string} */
Protocol.IndexedDB.KeyPathType = {
Null: "null",
String: "string",
Array: "array"
};
/** @typedef {!{type:(Protocol.IndexedDB.KeyPathType), string:(string|undefined), array:(!Array|undefined)}} */
Protocol.IndexedDB.KeyPath;
/** @interface */
Protocol.IndexedDBDispatcher = function() {};
Protocol.Input = {};
/**
* @constructor
*/
Protocol.InputAgent = function(){};
/**
* @param {string} type
* @param {number=} opt_modifiers
* @param {Protocol.Input.TimeSinceEpoch=} opt_timestamp
* @param {string=} opt_text
* @param {string=} opt_unmodifiedText
* @param {string=} opt_keyIdentifier
* @param {string=} opt_code
* @param {string=} opt_key
* @param {number=} opt_windowsVirtualKeyCode
* @param {number=} opt_nativeVirtualKeyCode
* @param {boolean=} opt_autoRepeat
* @param {boolean=} opt_isKeypad
* @param {boolean=} opt_isSystemKey
* @param {number=} opt_location
* @return {!Promise}
*/
Protocol.InputAgent.prototype.dispatchKeyEvent = function(type, opt_modifiers, opt_timestamp, opt_text, opt_unmodifiedText, opt_keyIdentifier, opt_code, opt_key, opt_windowsVirtualKeyCode, opt_nativeVirtualKeyCode, opt_autoRepeat, opt_isKeypad, opt_isSystemKey, opt_location) {};
/** @typedef {!{code: (string|undefined), keyIdentifier: (string|undefined), modifiers: (number|undefined), timestamp: (Protocol.Input.TimeSinceEpoch|undefined), autoRepeat: (boolean|undefined), isSystemKey: (boolean|undefined), unmodifiedText: (string|undefined), location: (number|undefined), key: (string|undefined), text: (string|undefined), nativeVirtualKeyCode: (number|undefined), windowsVirtualKeyCode: (number|undefined), type: string, isKeypad: (boolean|undefined)}} */
Protocol.InputAgent.DispatchKeyEventRequest;
/** @typedef {Object|undefined} */
Protocol.InputAgent.DispatchKeyEventResponse;
/**
* @param {!Protocol.InputAgent.DispatchKeyEventRequest} obj
* @return {!Promise} */
Protocol.InputAgent.prototype.invoke_dispatchKeyEvent = function(obj) {};
/**
* @param {string} text
* @return {!Promise}
*/
Protocol.InputAgent.prototype.insertText = function(text) {};
/** @typedef {!{text: string}} */
Protocol.InputAgent.InsertTextRequest;
/** @typedef {Object|undefined} */
Protocol.InputAgent.InsertTextResponse;
/**
* @param {!Protocol.InputAgent.InsertTextRequest} obj
* @return {!Promise} */
Protocol.InputAgent.prototype.invoke_insertText = function(obj) {};
/**
* @param {string} type
* @param {number} x
* @param {number} y
* @param {number=} opt_modifiers
* @param {Protocol.Input.TimeSinceEpoch=} opt_timestamp
* @param {string=} opt_button
* @param {number=} opt_buttons
* @param {number=} opt_clickCount
* @param {number=} opt_deltaX
* @param {number=} opt_deltaY
* @param {string=} opt_pointerType
* @return {!Promise}
*/
Protocol.InputAgent.prototype.dispatchMouseEvent = function(type, x, y, opt_modifiers, opt_timestamp, opt_button, opt_buttons, opt_clickCount, opt_deltaX, opt_deltaY, opt_pointerType) {};
/** @typedef {!{modifiers: (number|undefined), clickCount: (number|undefined), deltaX: (number|undefined), timestamp: (Protocol.Input.TimeSinceEpoch|undefined), button: (string|undefined), buttons: (number|undefined), pointerType: (string|undefined), deltaY: (number|undefined), y: number, x: number, type: string}} */
Protocol.InputAgent.DispatchMouseEventRequest;
/** @typedef {Object|undefined} */
Protocol.InputAgent.DispatchMouseEventResponse;
/**
* @param {!Protocol.InputAgent.DispatchMouseEventRequest} obj
* @return {!Promise} */
Protocol.InputAgent.prototype.invoke_dispatchMouseEvent = function(obj) {};
/**
* @param {string} type
* @param {!Array} touchPoints
* @param {number=} opt_modifiers
* @param {Protocol.Input.TimeSinceEpoch=} opt_timestamp
* @return {!Promise}
*/
Protocol.InputAgent.prototype.dispatchTouchEvent = function(type, touchPoints, opt_modifiers, opt_timestamp) {};
/** @typedef {!{timestamp: (Protocol.Input.TimeSinceEpoch|undefined), modifiers: (number|undefined), type: string, touchPoints: !Array}} */
Protocol.InputAgent.DispatchTouchEventRequest;
/** @typedef {Object|undefined} */
Protocol.InputAgent.DispatchTouchEventResponse;
/**
* @param {!Protocol.InputAgent.DispatchTouchEventRequest} obj
* @return {!Promise} */
Protocol.InputAgent.prototype.invoke_dispatchTouchEvent = function(obj) {};
/**
* @param {string} type
* @param {number} x
* @param {number} y
* @param {string} button
* @param {Protocol.Input.TimeSinceEpoch=} opt_timestamp
* @param {number=} opt_deltaX
* @param {number=} opt_deltaY
* @param {number=} opt_modifiers
* @param {number=} opt_clickCount
* @return {!Promise}
*/
Protocol.InputAgent.prototype.emulateTouchFromMouseEvent = function(type, x, y, button, opt_timestamp, opt_deltaX, opt_deltaY, opt_modifiers, opt_clickCount) {};
/** @typedef {!{modifiers: (number|undefined), clickCount: (number|undefined), deltaX: (number|undefined), timestamp: (Protocol.Input.TimeSinceEpoch|undefined), button: string, deltaY: (number|undefined), y: number, x: number, type: string}} */
Protocol.InputAgent.EmulateTouchFromMouseEventRequest;
/** @typedef {Object|undefined} */
Protocol.InputAgent.EmulateTouchFromMouseEventResponse;
/**
* @param {!Protocol.InputAgent.EmulateTouchFromMouseEventRequest} obj
* @return {!Promise} */
Protocol.InputAgent.prototype.invoke_emulateTouchFromMouseEvent = function(obj) {};
/**
* @param {boolean} ignore
* @return {!Promise}
*/
Protocol.InputAgent.prototype.setIgnoreInputEvents = function(ignore) {};
/** @typedef {!{ignore: boolean}} */
Protocol.InputAgent.SetIgnoreInputEventsRequest;
/** @typedef {Object|undefined} */
Protocol.InputAgent.SetIgnoreInputEventsResponse;
/**
* @param {!Protocol.InputAgent.SetIgnoreInputEventsRequest} obj
* @return {!Promise} */
Protocol.InputAgent.prototype.invoke_setIgnoreInputEvents = function(obj) {};
/**
* @param {number} x
* @param {number} y
* @param {number} scaleFactor
* @param {number=} opt_relativeSpeed
* @param {Protocol.Input.GestureSourceType=} opt_gestureSourceType
* @return {!Promise}
*/
Protocol.InputAgent.prototype.synthesizePinchGesture = function(x, y, scaleFactor, opt_relativeSpeed, opt_gestureSourceType) {};
/** @typedef {!{y: number, x: number, gestureSourceType: (Protocol.Input.GestureSourceType|undefined), relativeSpeed: (number|undefined), scaleFactor: number}} */
Protocol.InputAgent.SynthesizePinchGestureRequest;
/** @typedef {Object|undefined} */
Protocol.InputAgent.SynthesizePinchGestureResponse;
/**
* @param {!Protocol.InputAgent.SynthesizePinchGestureRequest} obj
* @return {!Promise} */
Protocol.InputAgent.prototype.invoke_synthesizePinchGesture = function(obj) {};
/**
* @param {number} x
* @param {number} y
* @param {number=} opt_xDistance
* @param {number=} opt_yDistance
* @param {number=} opt_xOverscroll
* @param {number=} opt_yOverscroll
* @param {boolean=} opt_preventFling
* @param {number=} opt_speed
* @param {Protocol.Input.GestureSourceType=} opt_gestureSourceType
* @param {number=} opt_repeatCount
* @param {number=} opt_repeatDelayMs
* @param {string=} opt_interactionMarkerName
* @return {!Promise}
*/
Protocol.InputAgent.prototype.synthesizeScrollGesture = function(x, y, opt_xDistance, opt_yDistance, opt_xOverscroll, opt_yOverscroll, opt_preventFling, opt_speed, opt_gestureSourceType, opt_repeatCount, opt_repeatDelayMs, opt_interactionMarkerName) {};
/** @typedef {!{xOverscroll: (number|undefined), yOverscroll: (number|undefined), preventFling: (boolean|undefined), yDistance: (number|undefined), interactionMarkerName: (string|undefined), xDistance: (number|undefined), repeatCount: (number|undefined), gestureSourceType: (Protocol.Input.GestureSourceType|undefined), repeatDelayMs: (number|undefined), y: number, x: number, speed: (number|undefined)}} */
Protocol.InputAgent.SynthesizeScrollGestureRequest;
/** @typedef {Object|undefined} */
Protocol.InputAgent.SynthesizeScrollGestureResponse;
/**
* @param {!Protocol.InputAgent.SynthesizeScrollGestureRequest} obj
* @return {!Promise} */
Protocol.InputAgent.prototype.invoke_synthesizeScrollGesture = function(obj) {};
/**
* @param {number} x
* @param {number} y
* @param {number=} opt_duration
* @param {number=} opt_tapCount
* @param {Protocol.Input.GestureSourceType=} opt_gestureSourceType
* @return {!Promise}
*/
Protocol.InputAgent.prototype.synthesizeTapGesture = function(x, y, opt_duration, opt_tapCount, opt_gestureSourceType) {};
/** @typedef {!{y: number, x: number, duration: (number|undefined), gestureSourceType: (Protocol.Input.GestureSourceType|undefined), tapCount: (number|undefined)}} */
Protocol.InputAgent.SynthesizeTapGestureRequest;
/** @typedef {Object|undefined} */
Protocol.InputAgent.SynthesizeTapGestureResponse;
/**
* @param {!Protocol.InputAgent.SynthesizeTapGestureRequest} obj
* @return {!Promise} */
Protocol.InputAgent.prototype.invoke_synthesizeTapGesture = function(obj) {};
/** @typedef {!{x:(number), y:(number), radiusX:(number|undefined), radiusY:(number|undefined), rotationAngle:(number|undefined), force:(number|undefined), id:(number|undefined)}} */
Protocol.Input.TouchPoint;
/** @enum {string} */
Protocol.Input.GestureSourceType = {
Default: "default",
Touch: "touch",
Mouse: "mouse"
};
/** @typedef {number} */
Protocol.Input.TimeSinceEpoch;
/** @interface */
Protocol.InputDispatcher = function() {};
Protocol.Inspector = {};
/**
* @constructor
*/
Protocol.InspectorAgent = function(){};
/**
* @return {!Promise}
*/
Protocol.InspectorAgent.prototype.disable = function() {};
/** @typedef {Object|undefined} */
Protocol.InspectorAgent.DisableRequest;
/** @typedef {Object|undefined} */
Protocol.InspectorAgent.DisableResponse;
/**
* @param {!Protocol.InspectorAgent.DisableRequest} obj
* @return {!Promise} */
Protocol.InspectorAgent.prototype.invoke_disable = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.InspectorAgent.prototype.enable = function() {};
/** @typedef {Object|undefined} */
Protocol.InspectorAgent.EnableRequest;
/** @typedef {Object|undefined} */
Protocol.InspectorAgent.EnableResponse;
/**
* @param {!Protocol.InspectorAgent.EnableRequest} obj
* @return {!Promise} */
Protocol.InspectorAgent.prototype.invoke_enable = function(obj) {};
/** @interface */
Protocol.InspectorDispatcher = function() {};
/**
* @param {string} reason
*/
Protocol.InspectorDispatcher.prototype.detached = function(reason) {};
Protocol.InspectorDispatcher.prototype.targetCrashed = function() {};
Protocol.InspectorDispatcher.prototype.targetReloadedAfterCrash = function() {};
Protocol.LayerTree = {};
/**
* @constructor
*/
Protocol.LayerTreeAgent = function(){};
/**
* @param {Protocol.LayerTree.LayerId} layerId
* @return {!Promise>}
*/
Protocol.LayerTreeAgent.prototype.compositingReasons = function(layerId) {};
/** @typedef {!{layerId: Protocol.LayerTree.LayerId}} */
Protocol.LayerTreeAgent.CompositingReasonsRequest;
/** @typedef {!{compositingReasons: !Array}} */
Protocol.LayerTreeAgent.CompositingReasonsResponse;
/**
* @param {!Protocol.LayerTreeAgent.CompositingReasonsRequest} obj
* @return {!Promise} */
Protocol.LayerTreeAgent.prototype.invoke_compositingReasons = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.LayerTreeAgent.prototype.disable = function() {};
/** @typedef {Object|undefined} */
Protocol.LayerTreeAgent.DisableRequest;
/** @typedef {Object|undefined} */
Protocol.LayerTreeAgent.DisableResponse;
/**
* @param {!Protocol.LayerTreeAgent.DisableRequest} obj
* @return {!Promise} */
Protocol.LayerTreeAgent.prototype.invoke_disable = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.LayerTreeAgent.prototype.enable = function() {};
/** @typedef {Object|undefined} */
Protocol.LayerTreeAgent.EnableRequest;
/** @typedef {Object|undefined} */
Protocol.LayerTreeAgent.EnableResponse;
/**
* @param {!Protocol.LayerTreeAgent.EnableRequest} obj
* @return {!Promise} */
Protocol.LayerTreeAgent.prototype.invoke_enable = function(obj) {};
/**
* @param {!Array} tiles
* @return {!Promise}
*/
Protocol.LayerTreeAgent.prototype.loadSnapshot = function(tiles) {};
/** @typedef {!{tiles: !Array}} */
Protocol.LayerTreeAgent.LoadSnapshotRequest;
/** @typedef {!{snapshotId: Protocol.LayerTree.SnapshotId}} */
Protocol.LayerTreeAgent.LoadSnapshotResponse;
/**
* @param {!Protocol.LayerTreeAgent.LoadSnapshotRequest} obj
* @return {!Promise} */
Protocol.LayerTreeAgent.prototype.invoke_loadSnapshot = function(obj) {};
/**
* @param {Protocol.LayerTree.LayerId} layerId
* @return {!Promise}
*/
Protocol.LayerTreeAgent.prototype.makeSnapshot = function(layerId) {};
/** @typedef {!{layerId: Protocol.LayerTree.LayerId}} */
Protocol.LayerTreeAgent.MakeSnapshotRequest;
/** @typedef {!{snapshotId: Protocol.LayerTree.SnapshotId}} */
Protocol.LayerTreeAgent.MakeSnapshotResponse;
/**
* @param {!Protocol.LayerTreeAgent.MakeSnapshotRequest} obj
* @return {!Promise} */
Protocol.LayerTreeAgent.prototype.invoke_makeSnapshot = function(obj) {};
/**
* @param {Protocol.LayerTree.SnapshotId} snapshotId
* @param {number=} opt_minRepeatCount
* @param {number=} opt_minDuration
* @param {Protocol.DOM.Rect=} opt_clipRect
* @return {!Promise>}
*/
Protocol.LayerTreeAgent.prototype.profileSnapshot = function(snapshotId, opt_minRepeatCount, opt_minDuration, opt_clipRect) {};
/** @typedef {!{minRepeatCount: (number|undefined), snapshotId: Protocol.LayerTree.SnapshotId, clipRect: (Protocol.DOM.Rect|undefined), minDuration: (number|undefined)}} */
Protocol.LayerTreeAgent.ProfileSnapshotRequest;
/** @typedef {!{timings: !Array}} */
Protocol.LayerTreeAgent.ProfileSnapshotResponse;
/**
* @param {!Protocol.LayerTreeAgent.ProfileSnapshotRequest} obj
* @return {!Promise} */
Protocol.LayerTreeAgent.prototype.invoke_profileSnapshot = function(obj) {};
/**
* @param {Protocol.LayerTree.SnapshotId} snapshotId
* @return {!Promise}
*/
Protocol.LayerTreeAgent.prototype.releaseSnapshot = function(snapshotId) {};
/** @typedef {!{snapshotId: Protocol.LayerTree.SnapshotId}} */
Protocol.LayerTreeAgent.ReleaseSnapshotRequest;
/** @typedef {Object|undefined} */
Protocol.LayerTreeAgent.ReleaseSnapshotResponse;
/**
* @param {!Protocol.LayerTreeAgent.ReleaseSnapshotRequest} obj
* @return {!Promise} */
Protocol.LayerTreeAgent.prototype.invoke_releaseSnapshot = function(obj) {};
/**
* @param {Protocol.LayerTree.SnapshotId} snapshotId
* @param {number=} opt_fromStep
* @param {number=} opt_toStep
* @param {number=} opt_scale
* @return {!Promise}
*/
Protocol.LayerTreeAgent.prototype.replaySnapshot = function(snapshotId, opt_fromStep, opt_toStep, opt_scale) {};
/** @typedef {!{snapshotId: Protocol.LayerTree.SnapshotId, scale: (number|undefined), fromStep: (number|undefined), toStep: (number|undefined)}} */
Protocol.LayerTreeAgent.ReplaySnapshotRequest;
/** @typedef {!{dataURL: string}} */
Protocol.LayerTreeAgent.ReplaySnapshotResponse;
/**
* @param {!Protocol.LayerTreeAgent.ReplaySnapshotRequest} obj
* @return {!Promise} */
Protocol.LayerTreeAgent.prototype.invoke_replaySnapshot = function(obj) {};
/**
* @param {Protocol.LayerTree.SnapshotId} snapshotId
* @return {!Promise>}
*/
Protocol.LayerTreeAgent.prototype.snapshotCommandLog = function(snapshotId) {};
/** @typedef {!{snapshotId: Protocol.LayerTree.SnapshotId}} */
Protocol.LayerTreeAgent.SnapshotCommandLogRequest;
/** @typedef {!{commandLog: !Array}} */
Protocol.LayerTreeAgent.SnapshotCommandLogResponse;
/**
* @param {!Protocol.LayerTreeAgent.SnapshotCommandLogRequest} obj
* @return {!Promise} */
Protocol.LayerTreeAgent.prototype.invoke_snapshotCommandLog = function(obj) {};
/** @typedef {string} */
Protocol.LayerTree.LayerId;
/** @typedef {string} */
Protocol.LayerTree.SnapshotId;
/** @enum {string} */
Protocol.LayerTree.ScrollRectType = {
RepaintsOnScroll: "RepaintsOnScroll",
TouchEventHandler: "TouchEventHandler",
WheelEventHandler: "WheelEventHandler"
};
/** @typedef {!{rect:(Protocol.DOM.Rect), type:(Protocol.LayerTree.ScrollRectType)}} */
Protocol.LayerTree.ScrollRect;
/** @typedef {!{stickyBoxRect:(Protocol.DOM.Rect), containingBlockRect:(Protocol.DOM.Rect), nearestLayerShiftingStickyBox:(Protocol.LayerTree.LayerId|undefined), nearestLayerShiftingContainingBlock:(Protocol.LayerTree.LayerId|undefined)}} */
Protocol.LayerTree.StickyPositionConstraint;
/** @typedef {!{x:(number), y:(number), picture:(string)}} */
Protocol.LayerTree.PictureTile;
/** @typedef {!{layerId:(Protocol.LayerTree.LayerId), parentLayerId:(Protocol.LayerTree.LayerId|undefined), backendNodeId:(Protocol.DOM.BackendNodeId|undefined), offsetX:(number), offsetY:(number), width:(number), height:(number), transform:(!Array|undefined), anchorX:(number|undefined), anchorY:(number|undefined), anchorZ:(number|undefined), paintCount:(number), drawsContent:(boolean), invisible:(boolean|undefined), scrollRects:(!Array|undefined), stickyPositionConstraint:(Protocol.LayerTree.StickyPositionConstraint|undefined)}} */
Protocol.LayerTree.Layer;
/** @typedef {!Array} */
Protocol.LayerTree.PaintProfile;
/** @interface */
Protocol.LayerTreeDispatcher = function() {};
/**
* @param {Protocol.LayerTree.LayerId} layerId
* @param {Protocol.DOM.Rect} clip
*/
Protocol.LayerTreeDispatcher.prototype.layerPainted = function(layerId, clip) {};
/**
* @param {!Array=} opt_layers
*/
Protocol.LayerTreeDispatcher.prototype.layerTreeDidChange = function(opt_layers) {};
Protocol.Log = {};
/**
* @constructor
*/
Protocol.LogAgent = function(){};
/**
* @return {!Promise}
*/
Protocol.LogAgent.prototype.clear = function() {};
/** @typedef {Object|undefined} */
Protocol.LogAgent.ClearRequest;
/** @typedef {Object|undefined} */
Protocol.LogAgent.ClearResponse;
/**
* @param {!Protocol.LogAgent.ClearRequest} obj
* @return {!Promise} */
Protocol.LogAgent.prototype.invoke_clear = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.LogAgent.prototype.disable = function() {};
/** @typedef {Object|undefined} */
Protocol.LogAgent.DisableRequest;
/** @typedef {Object|undefined} */
Protocol.LogAgent.DisableResponse;
/**
* @param {!Protocol.LogAgent.DisableRequest} obj
* @return {!Promise} */
Protocol.LogAgent.prototype.invoke_disable = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.LogAgent.prototype.enable = function() {};
/** @typedef {Object|undefined} */
Protocol.LogAgent.EnableRequest;
/** @typedef {Object|undefined} */
Protocol.LogAgent.EnableResponse;
/**
* @param {!Protocol.LogAgent.EnableRequest} obj
* @return {!Promise} */
Protocol.LogAgent.prototype.invoke_enable = function(obj) {};
/**
* @param {!Array} config
* @return {!Promise}
*/
Protocol.LogAgent.prototype.startViolationsReport = function(config) {};
/** @typedef {!{config: !Array}} */
Protocol.LogAgent.StartViolationsReportRequest;
/** @typedef {Object|undefined} */
Protocol.LogAgent.StartViolationsReportResponse;
/**
* @param {!Protocol.LogAgent.StartViolationsReportRequest} obj
* @return {!Promise} */
Protocol.LogAgent.prototype.invoke_startViolationsReport = function(obj) {};
/**
* @return {!Promise}
*/
Protocol.LogAgent.prototype.stopViolationsReport = function() {};
/** @typedef {Object|undefined} */
Protocol.LogAgent.StopViolationsReportRequest;
/** @typedef {Object|undefined} */
Protocol.LogAgent.StopViolationsReportResponse;
/**
* @param {!Protocol.LogAgent.StopViolationsReportRequest} obj
* @return {!Promise} */
Protocol.LogAgent.prototype.invoke_stopViolationsReport = function(obj) {};
/** @enum {string} */
Protocol.Log.LogEntrySource = {
XML: "xml",
Javascript: "javascript",
Network: "network",
Storage: "storage",
Appcache: "appcache",
Rendering: "rendering",
Security: "security",
Deprecation: "deprecation",
Worker: "worker",
Violation: "violation",
Intervention: "intervention",
Recommendation: "recommendation",
Other: "other"
};
/** @enum {string} */
Protocol.Log.LogEntryLevel = {
Verbose: "verbose",
Info: "info",
Warning: "warning",
Error: "error"
};
/** @typedef {!{source:(Protocol.Log.LogEntrySource), level:(Protocol.Log.LogEntryLevel), text:(string), timestamp:(Protocol.Runtime.Timestamp), url:(string|undefined), lineNumber:(number|undefined), stackTrace:(Protocol.Runtime.StackTrace|undefined), networkRequestId:(Protocol.Network.RequestId|undefined), workerId:(string|undefined), args:(!Array|undefined)}} */
Protocol.Log.LogEntry;
/** @enum {string} */
Protocol.Log.ViolationSettingName = {
LongTask: "longTask",
LongLayout: "longLayout",
BlockedEvent: "blockedEvent",
BlockedParser: "blockedParser",
DiscouragedAPIUse: "discouragedAPIUse",
Handler: "handler",
RecurringHandler: "recurringHandler"
};
/** @typedef {!{name:(Protocol.Log.ViolationSettingName), threshold:(number)}} */
Protocol.Log.ViolationSetting;
/** @interface */
Protocol.LogDispatcher = function() {};
/**
* @param {Protocol.Log.LogEntry} entry
*/
Protocol.LogDispatcher.prototype.entryAdded = function(entry) {};
Protocol.Memory = {};
/**
* @constructor
*/
Protocol.MemoryAgent = function(){};
/**
* @return {!Promise}
*/
Protocol.MemoryAgent.prototype.getDOMCounters = function() {};
/** @typedef {Object|undefined} */
Protocol.MemoryAgent.GetDOMCountersRequest;
/** @typedef {!{nodes: number, documents: number, jsEventListeners: number}} */
Protocol.MemoryAgent.GetDOMCountersResponse;
/**
* @param {!Protocol.MemoryAgent.GetDOMCountersRequest} obj
* @return {!Promise} */
Protocol.MemoryAgent.prototype.invoke_getDOMCounters = function(obj) {};
/**
* @return {!Promise