chrome-types 0.1.371 → 0.1.372
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 +69 -34
- package/index.d.ts +7 -27
- 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 Thu Aug 21 2025 22:32:46 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 0985f026222f7b539a5428a5c96aa19bdcf235dc
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -6418,6 +6418,11 @@ declare namespace chrome {
|
|
|
6418
6418
|
*/
|
|
6419
6419
|
export type MultipleAutomaticDownloadsContentSetting = "allow" | "block" | "ask";
|
|
6420
6420
|
|
|
6421
|
+
/**
|
|
6422
|
+
* @since Pending
|
|
6423
|
+
*/
|
|
6424
|
+
export type SoundContentSetting = "allow" | "block";
|
|
6425
|
+
|
|
6421
6426
|
/**
|
|
6422
6427
|
* Whether to allow sites to use the [Private State Tokens API](https://developer.chrome.com/docs/privacy-sandbox/trust-tokens/). One of
|
|
6423
6428
|
* `allow`: Allow sites to use the Private State Tokens API,
|
|
@@ -25714,10 +25719,6 @@ declare namespace chrome {
|
|
|
25714
25719
|
*
|
|
25715
25720
|
* @since Chrome 87
|
|
25716
25721
|
* @chrome-permission search
|
|
25717
|
-
* @chrome-platform chromeos
|
|
25718
|
-
* @chrome-platform linux
|
|
25719
|
-
* @chrome-platform mac
|
|
25720
|
-
* @chrome-platform win
|
|
25721
25722
|
*/
|
|
25722
25723
|
export namespace search {
|
|
25723
25724
|
|
|
@@ -26655,27 +26656,6 @@ declare namespace chrome {
|
|
|
26655
26656
|
tabId?: number;
|
|
26656
26657
|
}
|
|
26657
26658
|
|
|
26658
|
-
/**
|
|
26659
|
-
* @since Pending
|
|
26660
|
-
*/
|
|
26661
|
-
export interface PanelOpenedInfo {
|
|
26662
|
-
|
|
26663
|
-
/**
|
|
26664
|
-
* The ID of the window where the side panel is opened. This is available for both global and tab-specific panels.
|
|
26665
|
-
*/
|
|
26666
|
-
windowId: number;
|
|
26667
|
-
|
|
26668
|
-
/**
|
|
26669
|
-
* The optional ID of the tab where the side panel is opened. This is provided only when the panel is tab-specific.
|
|
26670
|
-
*/
|
|
26671
|
-
tabId?: number;
|
|
26672
|
-
|
|
26673
|
-
/**
|
|
26674
|
-
* The path of the local resource within the extension package whose content is displayed in the panel.
|
|
26675
|
-
*/
|
|
26676
|
-
path: string;
|
|
26677
|
-
}
|
|
26678
|
-
|
|
26679
26659
|
/**
|
|
26680
26660
|
* Configures the side panel.
|
|
26681
26661
|
*
|
|
@@ -38769,6 +38749,48 @@ declare namespace chrome {
|
|
|
38769
38749
|
*/
|
|
38770
38750
|
export type ZoomMode = "per-origin" | "per-view" | "disabled";
|
|
38771
38751
|
|
|
38752
|
+
/**
|
|
38753
|
+
* Determines what to do with the active match after the find session has ended. `clear` will clear the highlighting over the active match; `keep` will keep the active match highlighted; `activate` will keep the active match highlighted and simulate a user click on that match. The default action is `keep`.
|
|
38754
|
+
*
|
|
38755
|
+
* @since Pending
|
|
38756
|
+
*/
|
|
38757
|
+
export type StopFindingAction = "clear" | "keep" | "activate";
|
|
38758
|
+
|
|
38759
|
+
/**
|
|
38760
|
+
* The type of modal dialog requested by the guest.
|
|
38761
|
+
*
|
|
38762
|
+
* @since Pending
|
|
38763
|
+
*/
|
|
38764
|
+
export type DialogMessageType = "alert" | "confirm" | "prompt";
|
|
38765
|
+
|
|
38766
|
+
/**
|
|
38767
|
+
* String indicating the reason for the exit.
|
|
38768
|
+
*
|
|
38769
|
+
* @since Pending
|
|
38770
|
+
*/
|
|
38771
|
+
export type ExitReason = "normal" | "abnormal" | "crashed" | "killed" | "oom killed" | "oom" | "failed to launch" | "integrity failure";
|
|
38772
|
+
|
|
38773
|
+
/**
|
|
38774
|
+
* String indicating what type of abort occurred. This string is _not_ guaranteed to remain backwards compatible between releases. You must not parse and act based upon its content. It is also possible that, in some cases, an error not listed here could be reported.
|
|
38775
|
+
*
|
|
38776
|
+
* @since Pending
|
|
38777
|
+
*/
|
|
38778
|
+
export type LoadAbortReason = "ERR_ABORTED" | "ERR_INVALID_URL" | "ERR_DISALLOWED_URL_SCHEME" | "ERR_BLOCKED_BY_CLIENT" | "ERR_ADDRESS_UNREACHABLE" | "ERR_EMPTY_RESPONSE" | "ERR_FILE_NOT_FOUND" | "ERR_UNKNOWN_URL_SCHEME";
|
|
38779
|
+
|
|
38780
|
+
/**
|
|
38781
|
+
* The requested disposition of the new window.
|
|
38782
|
+
*
|
|
38783
|
+
* @since Pending
|
|
38784
|
+
*/
|
|
38785
|
+
export type WindowOpenDisposition = "ignore" | "save_to_disk" | "current_tab" | "new_background_tab" | "new_foreground_tab" | "new_window" | "new_popup";
|
|
38786
|
+
|
|
38787
|
+
/**
|
|
38788
|
+
* The type of permission being requested.
|
|
38789
|
+
*
|
|
38790
|
+
* @since Pending
|
|
38791
|
+
*/
|
|
38792
|
+
export type PermissionType = "media" | "geolocation" | "pointerLock" | "download" | "loadplugin" | "filesystem" | "fullscreen" | "hid";
|
|
38793
|
+
|
|
38772
38794
|
/**
|
|
38773
38795
|
* Object reference which can be used to post messages into the guest page.
|
|
38774
38796
|
*/
|
|
@@ -38838,7 +38860,7 @@ declare namespace chrome {
|
|
|
38838
38860
|
* The default behavior is to cancel the dialog.
|
|
38839
38861
|
*/
|
|
38840
38862
|
export const dialog: events.Event<(
|
|
38841
|
-
messageType:
|
|
38863
|
+
messageType: DialogMessageType,
|
|
38842
38864
|
messageText: string,
|
|
38843
38865
|
dialog: DialogController,
|
|
38844
38866
|
) => void>;
|
|
@@ -38857,8 +38879,21 @@ declare namespace chrome {
|
|
|
38857
38879
|
* ```
|
|
38858
38880
|
*/
|
|
38859
38881
|
export const exit: events.Event<(
|
|
38860
|
-
|
|
38861
|
-
|
|
38882
|
+
/**
|
|
38883
|
+
* @since Pending
|
|
38884
|
+
*/
|
|
38885
|
+
details: {
|
|
38886
|
+
|
|
38887
|
+
/**
|
|
38888
|
+
* Chrome's internal ID of the process that exited.
|
|
38889
|
+
*/
|
|
38890
|
+
processID: number,
|
|
38891
|
+
|
|
38892
|
+
/**
|
|
38893
|
+
* String indicating the reason for the exit.
|
|
38894
|
+
*/
|
|
38895
|
+
reason: ExitReason,
|
|
38896
|
+
},
|
|
38862
38897
|
) => void>;
|
|
38863
38898
|
|
|
38864
38899
|
/**
|
|
@@ -38887,7 +38922,7 @@ declare namespace chrome {
|
|
|
38887
38922
|
* @since Chrome 44
|
|
38888
38923
|
*/
|
|
38889
38924
|
code: number,
|
|
38890
|
-
reason:
|
|
38925
|
+
reason: LoadAbortReason,
|
|
38891
38926
|
) => void>;
|
|
38892
38927
|
|
|
38893
38928
|
/**
|
|
@@ -38941,7 +38976,7 @@ declare namespace chrome {
|
|
|
38941
38976
|
initialWidth: number,
|
|
38942
38977
|
initialHeight: number,
|
|
38943
38978
|
name: string,
|
|
38944
|
-
windowOpenDisposition:
|
|
38979
|
+
windowOpenDisposition: WindowOpenDisposition,
|
|
38945
38980
|
) => void>;
|
|
38946
38981
|
|
|
38947
38982
|
/**
|
|
@@ -38958,7 +38993,7 @@ declare namespace chrome {
|
|
|
38958
38993
|
* ```
|
|
38959
38994
|
*/
|
|
38960
38995
|
export const permissionrequest: events.Event<(
|
|
38961
|
-
permission:
|
|
38996
|
+
permission: PermissionType,
|
|
38962
38997
|
request: {},
|
|
38963
38998
|
) => void>;
|
|
38964
38999
|
|
|
@@ -39397,7 +39432,7 @@ declare namespace chrome {
|
|
|
39397
39432
|
*/
|
|
39398
39433
|
export function stopFinding(
|
|
39399
39434
|
|
|
39400
|
-
action?:
|
|
39435
|
+
action?: StopFindingAction,
|
|
39401
39436
|
): void;
|
|
39402
39437
|
|
|
39403
39438
|
/**
|
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 Thu Aug 21 2025 22:32:41 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 0985f026222f7b539a5428a5c96aa19bdcf235dc
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -3170,6 +3170,11 @@ declare namespace chrome {
|
|
|
3170
3170
|
*/
|
|
3171
3171
|
export type MultipleAutomaticDownloadsContentSetting = "allow" | "block" | "ask";
|
|
3172
3172
|
|
|
3173
|
+
/**
|
|
3174
|
+
* @since Pending
|
|
3175
|
+
*/
|
|
3176
|
+
export type SoundContentSetting = "allow" | "block";
|
|
3177
|
+
|
|
3173
3178
|
/**
|
|
3174
3179
|
* Whether to allow sites to use the [Private State Tokens API](https://developer.chrome.com/docs/privacy-sandbox/trust-tokens/). One of
|
|
3175
3180
|
* `allow`: Allow sites to use the Private State Tokens API,
|
|
@@ -20448,10 +20453,6 @@ declare namespace chrome {
|
|
|
20448
20453
|
*
|
|
20449
20454
|
* @since Chrome 87
|
|
20450
20455
|
* @chrome-permission search
|
|
20451
|
-
* @chrome-platform chromeos
|
|
20452
|
-
* @chrome-platform linux
|
|
20453
|
-
* @chrome-platform mac
|
|
20454
|
-
* @chrome-platform win
|
|
20455
20456
|
*/
|
|
20456
20457
|
export namespace search {
|
|
20457
20458
|
|
|
@@ -20771,27 +20772,6 @@ declare namespace chrome {
|
|
|
20771
20772
|
tabId?: number;
|
|
20772
20773
|
}
|
|
20773
20774
|
|
|
20774
|
-
/**
|
|
20775
|
-
* @since Pending
|
|
20776
|
-
*/
|
|
20777
|
-
export interface PanelOpenedInfo {
|
|
20778
|
-
|
|
20779
|
-
/**
|
|
20780
|
-
* The ID of the window where the side panel is opened. This is available for both global and tab-specific panels.
|
|
20781
|
-
*/
|
|
20782
|
-
windowId: number;
|
|
20783
|
-
|
|
20784
|
-
/**
|
|
20785
|
-
* The optional ID of the tab where the side panel is opened. This is provided only when the panel is tab-specific.
|
|
20786
|
-
*/
|
|
20787
|
-
tabId?: number;
|
|
20788
|
-
|
|
20789
|
-
/**
|
|
20790
|
-
* The path of the local resource within the extension package whose content is displayed in the panel.
|
|
20791
|
-
*/
|
|
20792
|
-
path: string;
|
|
20793
|
-
}
|
|
20794
|
-
|
|
20795
20775
|
/**
|
|
20796
20776
|
* Configures the side panel.
|
|
20797
20777
|
*
|
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": "6a00907b1f44d61c"
|
|
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.372"
|
|
20
20
|
}
|