@@ -12536,3 +12536,82 @@ chrome.dom = {};
12536
12536
* @see https://developer.chrome.com/docs/extensions/reference/dom/#method-openOrClosedShadowRoot
12537
12537
*/
12538
12538
chrome . dom . openOrClosedShadowRoot = function ( element ) { } ;
12539
+
12540
+ /**
12541
+ * @see https://developer.chrome.com/docs/extensions/reference/api/userScripts
12542
+ * @const
12543
+ */
12544
+ chrome . userScripts = { } ;
12545
+
12546
+ /**
12547
+ * @typedef {{
12548
+ * code: (string|undefined),
12549
+ * file: (string|undefined)
12550
+ * }}
12551
+ */
12552
+ chrome . userScripts . ScriptSource ;
12553
+
12554
+ /**
12555
+ * @typedef {{
12556
+ * allFrames: (boolean|undefined),
12557
+ * excludeGlobs: (!Array<string>|undefined),
12558
+ * excludeMatches: (!Array<string>|undefined),
12559
+ * id: string,
12560
+ * includeGlobs: (!Array<string>|undefined),
12561
+ * js: (!Array<chrome.userScripts.ScriptSource>|undefined),
12562
+ * matches: (!Array<string>|undefined),
12563
+ * runAt: (string|undefined),
12564
+ * world: (string|undefined)
12565
+ * }}
12566
+ */
12567
+ chrome . userScripts . RegisteredUserScript ;
12568
+
12569
+ /**
12570
+ * @typedef {{
12571
+ * ids: (!Array<string>|undefined)
12572
+ * }}
12573
+ */
12574
+ chrome . userScripts . UserScriptFilter ;
12575
+
12576
+ /**
12577
+ * @typedef {{
12578
+ * csp: (string|undefined),
12579
+ * messaging: (boolean|undefined)
12580
+ * }}
12581
+ */
12582
+ chrome . userScripts . WorldProperties ;
12583
+
12584
+ /**
12585
+ * @param {!chrome.userScripts.WorldProperties } properties
12586
+ * @param {function(): void= } opt_callback
12587
+ * @return {undefined }
12588
+ */
12589
+ chrome . userScripts . configureWorld = function ( properties , opt_callback ) { } ;
12590
+
12591
+ /**
12592
+ * @param {!chrome.userScripts.UserScriptFilter } filter
12593
+ * @param {function(): void= } opt_callback
12594
+ * @return {undefined }
12595
+ */
12596
+ chrome . userScripts . getScripts = function ( filter , opt_callback ) { } ;
12597
+
12598
+ /**
12599
+ * @param {!Array<!chrome.userScripts.RegisteredUserScript> } scripts
12600
+ * @param {function(): void= } opt_callback
12601
+ * @return {undefined }
12602
+ */
12603
+ chrome . userScripts . register = function ( scripts , opt_callback ) { } ;
12604
+
12605
+ /**
12606
+ * @param {!chrome.userScripts.UserScriptFilter } filter
12607
+ * @param {function(): void= } opt_callback
12608
+ * @return {undefined }
12609
+ */
12610
+ chrome . userScripts . unregister = function ( filter , opt_callback ) { } ;
12611
+
12612
+ /**
12613
+ * @param {!Array<!chrome.userScripts.RegisteredUserScript> } scripts
12614
+ * @param {function(): void= } opt_callback
12615
+ * @return {undefined }
12616
+ */
12617
+ chrome . userScripts . update = function ( scripts , opt_callback ) { } ;
0 commit comments