chrome-types 0.1.81 → 0.1.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_all.d.ts +37 -2
- package/index.d.ts +37 -2
- package/package.json +2 -2
package/_all.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Sat Jan 15 2022 22:29:31 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 040ad91f1757fcd307097354a34660144bbbf344
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -207,6 +207,17 @@ declare namespace chrome {
|
|
|
207
207
|
isOnToolbar: boolean;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
+
/**
|
|
211
|
+
* @since Pending
|
|
212
|
+
*/
|
|
213
|
+
export interface OpenPopupOptions {
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* The id of the window to open the action popup in. Defaults to the currently-active window if unspecified.
|
|
217
|
+
*/
|
|
218
|
+
windowId?: number;
|
|
219
|
+
}
|
|
220
|
+
|
|
210
221
|
/**
|
|
211
222
|
* Fired when an action icon is clicked. This event will not fire if the action has a popup.
|
|
212
223
|
*/
|
|
@@ -587,6 +598,30 @@ declare namespace chrome {
|
|
|
587
598
|
userSettings: UserSettings,
|
|
588
599
|
) => void,
|
|
589
600
|
): void;
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* Opens the extension's popup.
|
|
604
|
+
*
|
|
605
|
+
* @param options Specifies options for opening the popup.
|
|
606
|
+
* @since Pending
|
|
607
|
+
*/
|
|
608
|
+
export function openPopup(
|
|
609
|
+
|
|
610
|
+
options?: OpenPopupOptions,
|
|
611
|
+
): Promise<void>;
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Opens the extension's popup.
|
|
615
|
+
*
|
|
616
|
+
* @param options Specifies options for opening the popup.
|
|
617
|
+
* @since Pending
|
|
618
|
+
*/
|
|
619
|
+
export function openPopup(
|
|
620
|
+
|
|
621
|
+
options?: OpenPopupOptions,
|
|
622
|
+
|
|
623
|
+
callback?: () => void,
|
|
624
|
+
): void;
|
|
590
625
|
}
|
|
591
626
|
|
|
592
627
|
/**
|
package/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Sat Jan 15 2022 22:29:25 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 040ad91f1757fcd307097354a34660144bbbf344
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -265,6 +265,17 @@ declare namespace chrome {
|
|
|
265
265
|
isOnToolbar: boolean;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
+
/**
|
|
269
|
+
* @since Pending
|
|
270
|
+
*/
|
|
271
|
+
export interface OpenPopupOptions {
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* The id of the window to open the action popup in. Defaults to the currently-active window if unspecified.
|
|
275
|
+
*/
|
|
276
|
+
windowId?: number;
|
|
277
|
+
}
|
|
278
|
+
|
|
268
279
|
/**
|
|
269
280
|
* Fired when an action icon is clicked. This event will not fire if the action has a popup.
|
|
270
281
|
*/
|
|
@@ -645,6 +656,30 @@ declare namespace chrome {
|
|
|
645
656
|
userSettings: UserSettings,
|
|
646
657
|
) => void,
|
|
647
658
|
): void;
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* Opens the extension's popup.
|
|
662
|
+
*
|
|
663
|
+
* @param options Specifies options for opening the popup.
|
|
664
|
+
* @since Pending
|
|
665
|
+
*/
|
|
666
|
+
export function openPopup(
|
|
667
|
+
|
|
668
|
+
options?: OpenPopupOptions,
|
|
669
|
+
): Promise<void>;
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Opens the extension's popup.
|
|
673
|
+
*
|
|
674
|
+
* @param options Specifies options for opening the popup.
|
|
675
|
+
* @since Pending
|
|
676
|
+
*/
|
|
677
|
+
export function openPopup(
|
|
678
|
+
|
|
679
|
+
options?: OpenPopupOptions,
|
|
680
|
+
|
|
681
|
+
callback?: () => void,
|
|
682
|
+
): void;
|
|
648
683
|
}
|
|
649
684
|
|
|
650
685
|
/**
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"name": "chrome-types",
|
|
7
7
|
"config": {
|
|
8
|
-
"build-hash": "
|
|
8
|
+
"build-hash": "7209106be5968c9c"
|
|
9
9
|
},
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"url": "https://github.com/GoogleChrome/chrome-types/issues"
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/GoogleChrome/chrome-types",
|
|
19
|
-
"version": "0.1.
|
|
19
|
+
"version": "0.1.82"
|
|
20
20
|
}
|