chrome-types 0.1.372 → 0.1.374
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 +33 -12
- package/index.d.ts +33 -12
- 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 Wed Aug 27 2025 22:32:20 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at b72c5e5e9621be57f53d6915ced563c9a8a976ca
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -9682,7 +9682,7 @@ declare namespace chrome {
|
|
|
9682
9682
|
/**
|
|
9683
9683
|
* Mirrors [WindowAudioPreferenceEnum](https://w3c.github.io/mediacapture-screen-share/#dom-windowaudiopreferenceenum).
|
|
9684
9684
|
*
|
|
9685
|
-
* @since
|
|
9685
|
+
* @since Chrome 140
|
|
9686
9686
|
*/
|
|
9687
9687
|
export type WindowAudioPreferenceEnum = "system" | "window" | "exclude";
|
|
9688
9688
|
|
|
@@ -10124,7 +10124,7 @@ declare namespace chrome {
|
|
|
10124
10124
|
/**
|
|
10125
10125
|
* Shows the panel by activating the corresponding tab.
|
|
10126
10126
|
*
|
|
10127
|
-
* @since
|
|
10127
|
+
* @since Chrome 140
|
|
10128
10128
|
*/
|
|
10129
10129
|
show(): void;
|
|
10130
10130
|
}
|
|
@@ -24076,7 +24076,7 @@ declare namespace chrome {
|
|
|
24076
24076
|
/**
|
|
24077
24077
|
* `protocol_handlers` manifest key defintion. Protocol Handlers allow developers to let extensions register Custom Handlers for URL's schemes unknown to the Browser. This manifest key provides a similar behavior than the Web API implementing the Custom Handlers section of the HTML specification. https://html.spec.whatwg.org/#custom-handlers
|
|
24078
24078
|
*
|
|
24079
|
-
* @since
|
|
24079
|
+
* @since Chrome 140
|
|
24080
24080
|
*/
|
|
24081
24081
|
export namespace protocolHandlers {
|
|
24082
24082
|
|
|
@@ -26578,12 +26578,12 @@ declare namespace chrome {
|
|
|
26578
26578
|
/**
|
|
26579
26579
|
* Defines the possible alignment for the side panel in the browser UI.
|
|
26580
26580
|
*
|
|
26581
|
-
* @since
|
|
26581
|
+
* @since Chrome 140
|
|
26582
26582
|
*/
|
|
26583
26583
|
export type Side = "left" | "right";
|
|
26584
26584
|
|
|
26585
26585
|
/**
|
|
26586
|
-
* @since
|
|
26586
|
+
* @since Chrome 140
|
|
26587
26587
|
*/
|
|
26588
26588
|
export interface PanelLayout {
|
|
26589
26589
|
|
|
@@ -26656,6 +26656,27 @@ declare namespace chrome {
|
|
|
26656
26656
|
tabId?: number;
|
|
26657
26657
|
}
|
|
26658
26658
|
|
|
26659
|
+
/**
|
|
26660
|
+
* @since Pending
|
|
26661
|
+
*/
|
|
26662
|
+
export interface PanelOpenedInfo {
|
|
26663
|
+
|
|
26664
|
+
/**
|
|
26665
|
+
* The ID of the window where the side panel is opened. This is available for both global and tab-specific panels.
|
|
26666
|
+
*/
|
|
26667
|
+
windowId: number;
|
|
26668
|
+
|
|
26669
|
+
/**
|
|
26670
|
+
* The optional ID of the tab where the side panel is opened. This is provided only when the panel is tab-specific.
|
|
26671
|
+
*/
|
|
26672
|
+
tabId?: number;
|
|
26673
|
+
|
|
26674
|
+
/**
|
|
26675
|
+
* The path of the local resource within the extension package whose content is displayed in the panel.
|
|
26676
|
+
*/
|
|
26677
|
+
path: string;
|
|
26678
|
+
}
|
|
26679
|
+
|
|
26659
26680
|
/**
|
|
26660
26681
|
* Configures the side panel.
|
|
26661
26682
|
*
|
|
@@ -26772,7 +26793,7 @@ declare namespace chrome {
|
|
|
26772
26793
|
/**
|
|
26773
26794
|
* Returns the side panel's current layout.
|
|
26774
26795
|
*
|
|
26775
|
-
* @since
|
|
26796
|
+
* @since Chrome 140
|
|
26776
26797
|
*/
|
|
26777
26798
|
export function getLayout(): Promise<PanelLayout>;
|
|
26778
26799
|
|
|
@@ -26780,7 +26801,7 @@ declare namespace chrome {
|
|
|
26780
26801
|
* Returns the side panel's current layout.
|
|
26781
26802
|
*
|
|
26782
26803
|
* @param callback Called with a {@link PanelLayout} containing the side value.
|
|
26783
|
-
* @since
|
|
26804
|
+
* @since Chrome 140
|
|
26784
26805
|
*/
|
|
26785
26806
|
export function getLayout(
|
|
26786
26807
|
|
|
@@ -31205,7 +31226,7 @@ declare namespace chrome {
|
|
|
31205
31226
|
/**
|
|
31206
31227
|
* The tab's new Split View.
|
|
31207
31228
|
*
|
|
31208
|
-
* @since
|
|
31229
|
+
* @since Chrome 140
|
|
31209
31230
|
*/
|
|
31210
31231
|
splitViewId?: number,
|
|
31211
31232
|
|
|
@@ -31887,7 +31908,7 @@ declare namespace chrome {
|
|
|
31887
31908
|
/**
|
|
31888
31909
|
* The ID of the Split View that the tabs are in, or {@link tabs.SPLIT_VIEW_ID_NONE} for tabs that aren't in a Split View.
|
|
31889
31910
|
*
|
|
31890
|
-
* @since
|
|
31911
|
+
* @since Chrome 140
|
|
31891
31912
|
*/
|
|
31892
31913
|
splitViewId?: number,
|
|
31893
31914
|
|
|
@@ -32000,7 +32021,7 @@ declare namespace chrome {
|
|
|
32000
32021
|
/**
|
|
32001
32022
|
* The ID of the Split View that the tabs are in, or {@link tabs.SPLIT_VIEW_ID_NONE} for tabs that aren't in a Split View.
|
|
32002
32023
|
*
|
|
32003
|
-
* @since
|
|
32024
|
+
* @since Chrome 140
|
|
32004
32025
|
*/
|
|
32005
32026
|
splitViewId?: number,
|
|
32006
32027
|
|
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 Wed Aug 27 2025 22:32:15 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at b72c5e5e9621be57f53d6915ced563c9a8a976ca
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -5881,7 +5881,7 @@ declare namespace chrome {
|
|
|
5881
5881
|
/**
|
|
5882
5882
|
* Mirrors [WindowAudioPreferenceEnum](https://w3c.github.io/mediacapture-screen-share/#dom-windowaudiopreferenceenum).
|
|
5883
5883
|
*
|
|
5884
|
-
* @since
|
|
5884
|
+
* @since Chrome 140
|
|
5885
5885
|
*/
|
|
5886
5886
|
export type WindowAudioPreferenceEnum = "system" | "window" | "exclude";
|
|
5887
5887
|
|
|
@@ -6323,7 +6323,7 @@ declare namespace chrome {
|
|
|
6323
6323
|
/**
|
|
6324
6324
|
* Shows the panel by activating the corresponding tab.
|
|
6325
6325
|
*
|
|
6326
|
-
* @since
|
|
6326
|
+
* @since Chrome 140
|
|
6327
6327
|
*/
|
|
6328
6328
|
show(): void;
|
|
6329
6329
|
}
|
|
@@ -18821,7 +18821,7 @@ declare namespace chrome {
|
|
|
18821
18821
|
/**
|
|
18822
18822
|
* `protocol_handlers` manifest key defintion. Protocol Handlers allow developers to let extensions register Custom Handlers for URL's schemes unknown to the Browser. This manifest key provides a similar behavior than the Web API implementing the Custom Handlers section of the HTML specification. https://html.spec.whatwg.org/#custom-handlers
|
|
18823
18823
|
*
|
|
18824
|
-
* @since
|
|
18824
|
+
* @since Chrome 140
|
|
18825
18825
|
*/
|
|
18826
18826
|
export namespace protocolHandlers {
|
|
18827
18827
|
|
|
@@ -20694,12 +20694,12 @@ declare namespace chrome {
|
|
|
20694
20694
|
/**
|
|
20695
20695
|
* Defines the possible alignment for the side panel in the browser UI.
|
|
20696
20696
|
*
|
|
20697
|
-
* @since
|
|
20697
|
+
* @since Chrome 140
|
|
20698
20698
|
*/
|
|
20699
20699
|
export type Side = "left" | "right";
|
|
20700
20700
|
|
|
20701
20701
|
/**
|
|
20702
|
-
* @since
|
|
20702
|
+
* @since Chrome 140
|
|
20703
20703
|
*/
|
|
20704
20704
|
export interface PanelLayout {
|
|
20705
20705
|
|
|
@@ -20772,6 +20772,27 @@ declare namespace chrome {
|
|
|
20772
20772
|
tabId?: number;
|
|
20773
20773
|
}
|
|
20774
20774
|
|
|
20775
|
+
/**
|
|
20776
|
+
* @since Pending
|
|
20777
|
+
*/
|
|
20778
|
+
export interface PanelOpenedInfo {
|
|
20779
|
+
|
|
20780
|
+
/**
|
|
20781
|
+
* The ID of the window where the side panel is opened. This is available for both global and tab-specific panels.
|
|
20782
|
+
*/
|
|
20783
|
+
windowId: number;
|
|
20784
|
+
|
|
20785
|
+
/**
|
|
20786
|
+
* The optional ID of the tab where the side panel is opened. This is provided only when the panel is tab-specific.
|
|
20787
|
+
*/
|
|
20788
|
+
tabId?: number;
|
|
20789
|
+
|
|
20790
|
+
/**
|
|
20791
|
+
* The path of the local resource within the extension package whose content is displayed in the panel.
|
|
20792
|
+
*/
|
|
20793
|
+
path: string;
|
|
20794
|
+
}
|
|
20795
|
+
|
|
20775
20796
|
/**
|
|
20776
20797
|
* Configures the side panel.
|
|
20777
20798
|
*
|
|
@@ -20888,7 +20909,7 @@ declare namespace chrome {
|
|
|
20888
20909
|
/**
|
|
20889
20910
|
* Returns the side panel's current layout.
|
|
20890
20911
|
*
|
|
20891
|
-
* @since
|
|
20912
|
+
* @since Chrome 140
|
|
20892
20913
|
*/
|
|
20893
20914
|
export function getLayout(): Promise<PanelLayout>;
|
|
20894
20915
|
|
|
@@ -20896,7 +20917,7 @@ declare namespace chrome {
|
|
|
20896
20917
|
* Returns the side panel's current layout.
|
|
20897
20918
|
*
|
|
20898
20919
|
* @param callback Called with a {@link PanelLayout} containing the side value.
|
|
20899
|
-
* @since
|
|
20920
|
+
* @since Chrome 140
|
|
20900
20921
|
*/
|
|
20901
20922
|
export function getLayout(
|
|
20902
20923
|
|
|
@@ -24392,7 +24413,7 @@ declare namespace chrome {
|
|
|
24392
24413
|
/**
|
|
24393
24414
|
* The tab's new Split View.
|
|
24394
24415
|
*
|
|
24395
|
-
* @since
|
|
24416
|
+
* @since Chrome 140
|
|
24396
24417
|
*/
|
|
24397
24418
|
splitViewId?: number,
|
|
24398
24419
|
|
|
@@ -24926,7 +24947,7 @@ declare namespace chrome {
|
|
|
24926
24947
|
/**
|
|
24927
24948
|
* The ID of the Split View that the tabs are in, or {@link tabs.SPLIT_VIEW_ID_NONE} for tabs that aren't in a Split View.
|
|
24928
24949
|
*
|
|
24929
|
-
* @since
|
|
24950
|
+
* @since Chrome 140
|
|
24930
24951
|
*/
|
|
24931
24952
|
splitViewId?: number,
|
|
24932
24953
|
|
|
@@ -25039,7 +25060,7 @@ declare namespace chrome {
|
|
|
25039
25060
|
/**
|
|
25040
25061
|
* The ID of the Split View that the tabs are in, or {@link tabs.SPLIT_VIEW_ID_NONE} for tabs that aren't in a Split View.
|
|
25041
25062
|
*
|
|
25042
|
-
* @since
|
|
25063
|
+
* @since Chrome 140
|
|
25043
25064
|
*/
|
|
25044
25065
|
splitViewId?: number,
|
|
25045
25066
|
|
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": "5e8ab2aeb806e77a"
|
|
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.374"
|
|
20
20
|
}
|