chrome-types 0.1.371 → 0.1.373

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.
Files changed (3) hide show
  1. package/_all.d.ts +69 -13
  2. package/index.d.ts +7 -6
  3. 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 Sat Aug 16 2025 22:32:37 GMT+0000 (Coordinated Universal Time)
18
- // Built at ef373820fec1dd17029b92b3c2b79db1c8e9ae29
17
+ // Generated on Mon Aug 25 2025 22:34:24 GMT+0000 (Coordinated Universal Time)
18
+ // Built at f6a160fe6b8378fc2e61dd84e286e3493d6da59a
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
 
@@ -38769,6 +38770,48 @@ declare namespace chrome {
38769
38770
  */
38770
38771
  export type ZoomMode = "per-origin" | "per-view" | "disabled";
38771
38772
 
38773
+ /**
38774
+ * 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`.
38775
+ *
38776
+ * @since Pending
38777
+ */
38778
+ export type StopFindingAction = "clear" | "keep" | "activate";
38779
+
38780
+ /**
38781
+ * The type of modal dialog requested by the guest.
38782
+ *
38783
+ * @since Pending
38784
+ */
38785
+ export type DialogMessageType = "alert" | "confirm" | "prompt";
38786
+
38787
+ /**
38788
+ * String indicating the reason for the exit.
38789
+ *
38790
+ * @since Pending
38791
+ */
38792
+ export type ExitReason = "normal" | "abnormal" | "crashed" | "killed" | "oom killed" | "oom" | "failed to launch" | "integrity failure";
38793
+
38794
+ /**
38795
+ * 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.
38796
+ *
38797
+ * @since Pending
38798
+ */
38799
+ 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";
38800
+
38801
+ /**
38802
+ * The requested disposition of the new window.
38803
+ *
38804
+ * @since Pending
38805
+ */
38806
+ export type WindowOpenDisposition = "ignore" | "save_to_disk" | "current_tab" | "new_background_tab" | "new_foreground_tab" | "new_window" | "new_popup";
38807
+
38808
+ /**
38809
+ * The type of permission being requested.
38810
+ *
38811
+ * @since Pending
38812
+ */
38813
+ export type PermissionType = "media" | "geolocation" | "pointerLock" | "download" | "loadplugin" | "filesystem" | "fullscreen" | "hid";
38814
+
38772
38815
  /**
38773
38816
  * Object reference which can be used to post messages into the guest page.
38774
38817
  */
@@ -38838,7 +38881,7 @@ declare namespace chrome {
38838
38881
  * The default behavior is to cancel the dialog.
38839
38882
  */
38840
38883
  export const dialog: events.Event<(
38841
- messageType: "alert" | "confirm" | "prompt",
38884
+ messageType: DialogMessageType,
38842
38885
  messageText: string,
38843
38886
  dialog: DialogController,
38844
38887
  ) => void>;
@@ -38857,8 +38900,21 @@ declare namespace chrome {
38857
38900
  * ```
38858
38901
  */
38859
38902
  export const exit: events.Event<(
38860
- processID: number,
38861
- reason: "normal" | "abnormal" | "crash" | "kill",
38903
+ /**
38904
+ * @since Pending
38905
+ */
38906
+ details: {
38907
+
38908
+ /**
38909
+ * Chrome's internal ID of the process that exited.
38910
+ */
38911
+ processID: number,
38912
+
38913
+ /**
38914
+ * String indicating the reason for the exit.
38915
+ */
38916
+ reason: ExitReason,
38917
+ },
38862
38918
  ) => void>;
38863
38919
 
38864
38920
  /**
@@ -38887,7 +38943,7 @@ declare namespace chrome {
38887
38943
  * @since Chrome 44
38888
38944
  */
38889
38945
  code: number,
38890
- reason: "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",
38946
+ reason: LoadAbortReason,
38891
38947
  ) => void>;
38892
38948
 
38893
38949
  /**
@@ -38941,7 +38997,7 @@ declare namespace chrome {
38941
38997
  initialWidth: number,
38942
38998
  initialHeight: number,
38943
38999
  name: string,
38944
- windowOpenDisposition: "ignore" | "save_to_disk" | "current_tab" | "new_background_tab" | "new_foreground_tab" | "new_window" | "new_popup",
39000
+ windowOpenDisposition: WindowOpenDisposition,
38945
39001
  ) => void>;
38946
39002
 
38947
39003
  /**
@@ -38958,7 +39014,7 @@ declare namespace chrome {
38958
39014
  * ```
38959
39015
  */
38960
39016
  export const permissionrequest: events.Event<(
38961
- permission: "media" | "geolocation" | "pointerLock" | "download" | "loadplugin" | "filesystem" | "fullscreen" | "hid",
39017
+ permission: PermissionType,
38962
39018
  request: {},
38963
39019
  ) => void>;
38964
39020
 
@@ -39397,7 +39453,7 @@ declare namespace chrome {
39397
39453
  */
39398
39454
  export function stopFinding(
39399
39455
 
39400
- action?: "clear" | "keep" | "activate",
39456
+ action?: StopFindingAction,
39401
39457
  ): void;
39402
39458
 
39403
39459
  /**
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Sat Aug 16 2025 22:32:33 GMT+0000 (Coordinated Universal Time)
18
- // Built at ef373820fec1dd17029b92b3c2b79db1c8e9ae29
17
+ // Generated on Mon Aug 25 2025 22:34:19 GMT+0000 (Coordinated Universal Time)
18
+ // Built at f6a160fe6b8378fc2e61dd84e286e3493d6da59a
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
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "d39998650a793fbd"
8
+ "build-hash": "ffc96a8aa57bbde1"
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.371"
19
+ "version": "0.1.373"
20
20
  }