@@ -267,6 +267,20 @@ Protocol.PageAgent.SetAutoAttachToCreatedPagesResponse;
267267 * @return {!Promise<!Protocol.PageAgent.SetAutoAttachToCreatedPagesResponse> } */
268268Protocol . PageAgent . prototype . invoke_setAutoAttachToCreatedPages = function ( obj ) { } ;
269269
270+ /**
271+ * @param {boolean } enabled
272+ * @return {!Promise<undefined> }
273+ */
274+ Protocol . PageAgent . prototype . setLifecycleEventsEnabled = function ( enabled ) { } ;
275+ /** @typedef {!{enabled: boolean} } */
276+ Protocol . PageAgent . SetLifecycleEventsEnabledRequest ;
277+ /** @typedef {Object|undefined } */
278+ Protocol . PageAgent . SetLifecycleEventsEnabledResponse ;
279+ /**
280+ * @param {!Protocol.PageAgent.SetLifecycleEventsEnabledRequest } obj
281+ * @return {!Promise<!Protocol.PageAgent.SetLifecycleEventsEnabledResponse> } */
282+ Protocol . PageAgent . prototype . invoke_setLifecycleEventsEnabled = function ( obj ) { } ;
283+
270284/**
271285 * @param {boolean= } opt_ignoreCache
272286 * @param {string= } opt_scriptToEvaluateOnLoad
@@ -305,7 +319,7 @@ Protocol.PageAgent.prototype.invoke_setAdBlockingEnabled = function(obj) {};
305319Protocol . PageAgent . prototype . navigate = function ( url , opt_referrer , opt_transitionType ) { } ;
306320/** @typedef {!{url: string, referrer: (string|undefined), transitionType: (Protocol.Page.TransitionType|undefined)} } */
307321Protocol . PageAgent . NavigateRequest ;
308- /** @typedef {!{frameId: Protocol.Page.FrameId} } */
322+ /** @typedef {!{loaderId: Protocol.Network.LoaderId, frameId: Protocol.Page.FrameId} } */
309323Protocol . PageAgent . NavigateResponse ;
310324/**
311325 * @param {!Protocol.PageAgent.NavigateRequest } obj
@@ -393,6 +407,19 @@ Protocol.PageAgent.GetResourceTreeResponse;
393407 * @return {!Promise<!Protocol.PageAgent.GetResourceTreeResponse> } */
394408Protocol . PageAgent . prototype . invoke_getResourceTree = function ( obj ) { } ;
395409
410+ /**
411+ * @return {!Promise<?Protocol.Page.FrameTree> }
412+ */
413+ Protocol . PageAgent . prototype . getFrameTree = function ( ) { } ;
414+ /** @typedef {Object|undefined } */
415+ Protocol . PageAgent . GetFrameTreeRequest ;
416+ /** @typedef {!{frameTree: Protocol.Page.FrameTree} } */
417+ Protocol . PageAgent . GetFrameTreeResponse ;
418+ /**
419+ * @param {!Protocol.PageAgent.GetFrameTreeRequest } obj
420+ * @return {!Promise<!Protocol.PageAgent.GetFrameTreeResponse> } */
421+ Protocol . PageAgent . prototype . invoke_getFrameTree = function ( obj ) { } ;
422+
396423/**
397424 * @param {Protocol.Page.FrameId } frameId
398425 * @param {string } url
@@ -766,6 +793,9 @@ Protocol.Page.FrameResource;
766793/** @typedef {!{frame:(Protocol.Page.Frame), childFrames:(!Array<Protocol.Page.FrameResourceTree>|undefined), resources:(!Array<Protocol.Page.FrameResource>)} } */
767794Protocol . Page . FrameResourceTree ;
768795
796+ /** @typedef {!{frame:(Protocol.Page.Frame), childFrames:(!Array<Protocol.Page.FrameTree>|undefined)} } */
797+ Protocol . Page . FrameTree ;
798+
769799/** @typedef {string } */
770800Protocol . Page . ScriptIdentifier ;
771801
@@ -802,13 +832,6 @@ Protocol.Page.DialogType = {
802832/** @typedef {!{message:(string), critical:(number), line:(number), column:(number)} } */
803833Protocol . Page . AppManifestError ;
804834
805- /** @enum {string} */
806- Protocol . Page . NavigationResponse = {
807- Proceed : "Proceed" ,
808- Cancel : "Cancel" ,
809- CancelAndIgnore : "CancelAndIgnore"
810- } ;
811-
812835/** @typedef {!{pageX:(number), pageY:(number), clientWidth:(number), clientHeight:(number)} } */
813836Protocol . Page . LayoutViewport ;
814837
@@ -829,10 +852,11 @@ Protocol.PageDispatcher.prototype.domContentEventFired = function(timestamp) {};
829852Protocol . PageDispatcher . prototype . loadEventFired = function ( timestamp ) { } ;
830853/**
831854 * @param {Protocol.Page.FrameId } frameId
855+ * @param {Protocol.Network.LoaderId } loaderId
832856 * @param {string } name
833857 * @param {Protocol.Network.MonotonicTime } timestamp
834858 */
835- Protocol . PageDispatcher . prototype . lifecycleEvent = function ( frameId , name , timestamp ) { } ;
859+ Protocol . PageDispatcher . prototype . lifecycleEvent = function ( frameId , loaderId , name , timestamp ) { } ;
836860/**
837861 * @param {Protocol.Page.FrameId } frameId
838862 * @param {Protocol.Page.FrameId } parentFrameId
@@ -894,7 +918,7 @@ Protocol.PageDispatcher.prototype.interstitialHidden = function() {};
894918/**
895919 * @param {string } url
896920 * @param {string } windowName
897- * @param {string } windowFeatures
921+ * @param {!Array< string> } windowFeatures
898922 * @param {boolean } userGesture
899923 */
900924Protocol . PageDispatcher . prototype . windowOpen = function ( url , windowName , windowFeatures , userGesture ) { } ;
@@ -3835,9 +3859,6 @@ Protocol.CSS.CSSKeyframeRule;
38353859
38363860/** @typedef {!{styleSheetId:(Protocol.CSS.StyleSheetId), range:(Protocol.CSS.SourceRange), text:(string)} } */
38373861Protocol . CSS . StyleDeclarationEdit ;
3838-
3839- /** @typedef {!{boundingBox:(Protocol.DOM.Rect), startCharacterIndex:(number), numCharacters:(number)} } */
3840- Protocol . CSS . InlineTextBox ;
38413862/** @interface */
38423863Protocol . CSSDispatcher = function ( ) { } ;
38433864Protocol . CSSDispatcher . prototype . mediaQueryResultChanged = function ( ) { } ;
@@ -3879,7 +3900,10 @@ Protocol.DOMSnapshotAgent.prototype.invoke_getSnapshot = function(obj) {};
38793900/** @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<number>|undefined), attributes:(!Array<Protocol.DOMSnapshot.NameValue>|undefined), pseudoElementIndexes:(!Array<number>|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), importedDocumentIndex:(number|undefined), templateContentIndex:(number|undefined), pseudoType:(Protocol.DOM.PseudoType|undefined), isClickable:(boolean|undefined)} } */
38803901Protocol . DOMSnapshot . DOMNode ;
38813902
3882- /** @typedef {!{domNodeIndex:(number), boundingBox:(Protocol.DOM.Rect), layoutText:(string|undefined), inlineTextNodes:(!Array<Protocol.CSS.InlineTextBox>|undefined), styleIndex:(number|undefined)} } */
3903+ /** @typedef {!{boundingBox:(Protocol.DOM.Rect), startCharacterIndex:(number), numCharacters:(number)} } */
3904+ Protocol . DOMSnapshot . InlineTextBox ;
3905+
3906+ /** @typedef {!{domNodeIndex:(number), boundingBox:(Protocol.DOM.Rect), layoutText:(string|undefined), inlineTextNodes:(!Array<Protocol.DOMSnapshot.InlineTextBox>|undefined), styleIndex:(number|undefined)} } */
38833907Protocol . DOMSnapshot . LayoutTreeNode ;
38843908
38853909/** @typedef {!{properties:(!Array<Protocol.DOMSnapshot.NameValue>)} } */
0 commit comments