chrome-types 0.1.445 → 0.1.447

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 +90 -12
  2. package/index.d.ts +90 -12
  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 Thu Sep 10 2026 22:23:04 GMT+0000 (Coordinated Universal Time)
18
- // Built at 86ad11aaff3bd9c037e9de33ea1c59cea5b78336
17
+ // Generated on Sat Sep 12 2026 22:23:28 GMT+0000 (Coordinated Universal Time)
18
+ // Built at f7d1b002f2076110dc2da7002114de24b20d120a
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -24195,13 +24195,6 @@ declare namespace chrome {
24195
24195
  * **Available on Windows and ChromeOS only**: If enabled, Chrome provides a unique ID to plugins in order to run protected content. The value of this preference is of type boolean, and the default value is `true`.
24196
24196
  */
24197
24197
  protectedContentEnabled: types.ChromeSetting<boolean>,
24198
-
24199
- /**
24200
- * If disabled, [Related Website Sets](https://developer.chrome.com/docs/privacy-sandbox/related-website-sets/) is deactivated. The value of this preference is of type boolean, and the default value is `true`. Extensions may only disable this API by setting the value to `false`. If you try setting this API to `true`, it will throw an error.
24201
- *
24202
- * @since Chrome 121
24203
- */
24204
- relatedWebsiteSetsEnabled: types.ChromeSetting<boolean>,
24205
24198
  };
24206
24199
  }
24207
24200
 
@@ -28005,7 +27998,7 @@ declare namespace chrome {
28005
27998
  export interface SocketProperties {
28006
27999
 
28007
28000
  /**
28008
- * Flag indicating if the socket is left open when the event page of the application is unloaded (see [Manage App Lifecycle](https://developer.chrome.com/docs/apps/app_lifecycle)). The default value is "false." When the application is loaded, any sockets previously opened with persistent=true can be fetched with `getSockets`.
28001
+ * Flag indicating if the socket is left open when the event page of the application is unloaded (see [Manage App Lifecycle](https://developer.chrome.com/docs/apps/app_lifecycle)). The default value is "false". When the application is loaded, any sockets previously opened with persistent=true can be fetched with `getSockets`.
28009
28002
  */
28010
28003
  persistent?: boolean;
28011
28004
 
@@ -28083,7 +28076,7 @@ declare namespace chrome {
28083
28076
  name?: string;
28084
28077
 
28085
28078
  /**
28086
- * The size of the buffer used to receive data. If no buffer size has been specified explictly, the value is not provided.
28079
+ * The size of the buffer used to receive data. If no buffer size has been specified explicitly, the value is not provided.
28087
28080
  */
28088
28081
  bufferSize?: number;
28089
28082
 
@@ -28152,7 +28145,7 @@ declare namespace chrome {
28152
28145
  ) => void>;
28153
28146
 
28154
28147
  /**
28155
- * Event raised when a network error occured while the runtime was waiting for data on the socket address and port. Once this event is raised, the socket is set to `paused` and no more `onReceive` events are raised for this socket.
28148
+ * Event raised when a network error occurred while the runtime was waiting for data on the socket address and port. Once this event is raised, the socket is set to `paused` and no more `onReceive` events are raised for this socket.
28156
28149
  */
28157
28150
  export const onReceiveError: events.Event<(
28158
28151
  info: ReceiveErrorInfo,
@@ -32233,6 +32226,18 @@ declare namespace chrome {
32233
32226
  * The ID of the tab that opened this tab. If specified, the opener tab must be in the same window as the newly created tab.
32234
32227
  */
32235
32228
  openerTabId?: number,
32229
+
32230
+ /**
32231
+ * The ID of an existing tab to create a split view with. If specified, the split-with tab must meet the following conditions:
32232
+ *
32233
+ * * It must not be an already split tab.
32234
+ * * It must be in the same window as the newly created tab.
32235
+ * * If `windowId` is specified, it must be the same as the split-with tab's window ID.
32236
+ * * If `index` is specified, it must be an index adjacent to the split-with tab and will affect the relative positioning of the newly created tab.
32237
+ *
32238
+ * @since Pending
32239
+ */
32240
+ splitWithTabId?: number,
32236
32241
  },
32237
32242
  ): Promise<Tab>;
32238
32243
 
@@ -32279,6 +32284,18 @@ declare namespace chrome {
32279
32284
  * The ID of the tab that opened this tab. If specified, the opener tab must be in the same window as the newly created tab.
32280
32285
  */
32281
32286
  openerTabId?: number,
32287
+
32288
+ /**
32289
+ * The ID of an existing tab to create a split view with. If specified, the split-with tab must meet the following conditions:
32290
+ *
32291
+ * * It must not be an already split tab.
32292
+ * * It must be in the same window as the newly created tab.
32293
+ * * If `windowId` is specified, it must be the same as the split-with tab's window ID.
32294
+ * * If `index` is specified, it must be an index adjacent to the split-with tab and will affect the relative positioning of the newly created tab.
32295
+ *
32296
+ * @since Pending
32297
+ */
32298
+ splitWithTabId?: number,
32282
32299
  },
32283
32300
 
32284
32301
  /**
@@ -32289,6 +32306,43 @@ declare namespace chrome {
32289
32306
  ) => void,
32290
32307
  ): void;
32291
32308
 
32309
+ /**
32310
+ * Splits two existing tabs into a Split View.
32311
+ *
32312
+ * @param tabIds An array of exactly two tab IDs to pair into a Split View. All tabs must meet the following conditions:
32313
+
32314
+ * They must be adjacent.
32315
+ * They must not already be in a split view.
32316
+ * They must have matching `windowId`, `pinned`, and `groupId` states.
32317
+ * @since Pending
32318
+ */
32319
+ export function createSplit(
32320
+
32321
+ tabIds: [number, number],
32322
+ ): Promise<number>;
32323
+
32324
+ /**
32325
+ * Splits two existing tabs into a Split View.
32326
+ *
32327
+ * @param tabIds An array of exactly two tab IDs to pair into a Split View. All tabs must meet the following conditions:
32328
+
32329
+ * They must be adjacent.
32330
+ * They must not already be in a split view.
32331
+ * They must have matching `windowId`, `pinned`, and `groupId` states.
32332
+ * @since Pending
32333
+ */
32334
+ export function createSplit(
32335
+
32336
+ tabIds: [number, number],
32337
+
32338
+ /**
32339
+ * @param splitViewId The ID of the newly created Split View containing the tabs specified.
32340
+ */
32341
+ callback?: (
32342
+ splitViewId: number,
32343
+ ) => void,
32344
+ ): void;
32345
+
32292
32346
  /**
32293
32347
  * Duplicates a tab.
32294
32348
  *
@@ -33052,6 +33106,30 @@ declare namespace chrome {
33052
33106
  callback?: () => void,
33053
33107
  ): void;
33054
33108
 
33109
+ /**
33110
+ * Separates the tabs in a Split View into independent tabs.
33111
+ *
33112
+ * @param splitViewId The ID of the Split View to separate.
33113
+ * @since Pending
33114
+ */
33115
+ export function unsplit(
33116
+
33117
+ splitViewId: number,
33118
+ ): Promise<void>;
33119
+
33120
+ /**
33121
+ * Separates the tabs in a Split View into independent tabs.
33122
+ *
33123
+ * @param splitViewId The ID of the Split View to separate.
33124
+ * @since Pending
33125
+ */
33126
+ export function unsplit(
33127
+
33128
+ splitViewId: number,
33129
+
33130
+ callback?: () => void,
33131
+ ): void;
33132
+
33055
33133
  /**
33056
33134
  * Detects the primary language of the content in a tab.
33057
33135
  *
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Thu Sep 10 2026 22:23:01 GMT+0000 (Coordinated Universal Time)
18
- // Built at 86ad11aaff3bd9c037e9de33ea1c59cea5b78336
17
+ // Generated on Sat Sep 12 2026 22:23:26 GMT+0000 (Coordinated Universal Time)
18
+ // Built at f7d1b002f2076110dc2da7002114de24b20d120a
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -16999,13 +16999,6 @@ declare namespace chrome {
16999
16999
  * **Available on Windows and ChromeOS only**: If enabled, Chrome provides a unique ID to plugins in order to run protected content. The value of this preference is of type boolean, and the default value is `true`.
17000
17000
  */
17001
17001
  protectedContentEnabled: types.ChromeSetting<boolean>,
17002
-
17003
- /**
17004
- * If disabled, [Related Website Sets](https://developer.chrome.com/docs/privacy-sandbox/related-website-sets/) is deactivated. The value of this preference is of type boolean, and the default value is `true`. Extensions may only disable this API by setting the value to `false`. If you try setting this API to `true`, it will throw an error.
17005
- *
17006
- * @since Chrome 121
17007
- */
17008
- relatedWebsiteSetsEnabled: types.ChromeSetting<boolean>,
17009
17002
  };
17010
17003
  }
17011
17004
 
@@ -19565,7 +19558,7 @@ declare namespace chrome {
19565
19558
  export interface SocketProperties {
19566
19559
 
19567
19560
  /**
19568
- * Flag indicating if the socket is left open when the event page of the application is unloaded (see [Manage App Lifecycle](https://developer.chrome.com/docs/apps/app_lifecycle)). The default value is "false." When the application is loaded, any sockets previously opened with persistent=true can be fetched with `getSockets`.
19561
+ * Flag indicating if the socket is left open when the event page of the application is unloaded (see [Manage App Lifecycle](https://developer.chrome.com/docs/apps/app_lifecycle)). The default value is "false". When the application is loaded, any sockets previously opened with persistent=true can be fetched with `getSockets`.
19569
19562
  */
19570
19563
  persistent?: boolean;
19571
19564
 
@@ -19641,7 +19634,7 @@ declare namespace chrome {
19641
19634
  name?: string;
19642
19635
 
19643
19636
  /**
19644
- * The size of the buffer used to receive data. If no buffer size has been specified explictly, the value is not provided.
19637
+ * The size of the buffer used to receive data. If no buffer size has been specified explicitly, the value is not provided.
19645
19638
  */
19646
19639
  bufferSize?: number;
19647
19640
 
@@ -19710,7 +19703,7 @@ declare namespace chrome {
19710
19703
  ) => void>;
19711
19704
 
19712
19705
  /**
19713
- * Event raised when a network error occured while the runtime was waiting for data on the socket address and port. Once this event is raised, the socket is set to `paused` and no more `onReceive` events are raised for this socket.
19706
+ * Event raised when a network error occurred while the runtime was waiting for data on the socket address and port. Once this event is raised, the socket is set to `paused` and no more `onReceive` events are raised for this socket.
19714
19707
  */
19715
19708
  export const onReceiveError: events.Event<(
19716
19709
  info: ReceiveErrorInfo,
@@ -23392,6 +23385,18 @@ declare namespace chrome {
23392
23385
  * The ID of the tab that opened this tab. If specified, the opener tab must be in the same window as the newly created tab.
23393
23386
  */
23394
23387
  openerTabId?: number,
23388
+
23389
+ /**
23390
+ * The ID of an existing tab to create a split view with. If specified, the split-with tab must meet the following conditions:
23391
+ *
23392
+ * * It must not be an already split tab.
23393
+ * * It must be in the same window as the newly created tab.
23394
+ * * If `windowId` is specified, it must be the same as the split-with tab's window ID.
23395
+ * * If `index` is specified, it must be an index adjacent to the split-with tab and will affect the relative positioning of the newly created tab.
23396
+ *
23397
+ * @since Pending
23398
+ */
23399
+ splitWithTabId?: number,
23395
23400
  },
23396
23401
  ): Promise<Tab>;
23397
23402
 
@@ -23438,6 +23443,18 @@ declare namespace chrome {
23438
23443
  * The ID of the tab that opened this tab. If specified, the opener tab must be in the same window as the newly created tab.
23439
23444
  */
23440
23445
  openerTabId?: number,
23446
+
23447
+ /**
23448
+ * The ID of an existing tab to create a split view with. If specified, the split-with tab must meet the following conditions:
23449
+ *
23450
+ * * It must not be an already split tab.
23451
+ * * It must be in the same window as the newly created tab.
23452
+ * * If `windowId` is specified, it must be the same as the split-with tab's window ID.
23453
+ * * If `index` is specified, it must be an index adjacent to the split-with tab and will affect the relative positioning of the newly created tab.
23454
+ *
23455
+ * @since Pending
23456
+ */
23457
+ splitWithTabId?: number,
23441
23458
  },
23442
23459
 
23443
23460
  /**
@@ -23448,6 +23465,43 @@ declare namespace chrome {
23448
23465
  ) => void,
23449
23466
  ): void;
23450
23467
 
23468
+ /**
23469
+ * Splits two existing tabs into a Split View.
23470
+ *
23471
+ * @param tabIds An array of exactly two tab IDs to pair into a Split View. All tabs must meet the following conditions:
23472
+
23473
+ * They must be adjacent.
23474
+ * They must not already be in a split view.
23475
+ * They must have matching `windowId`, `pinned`, and `groupId` states.
23476
+ * @since Pending
23477
+ */
23478
+ export function createSplit(
23479
+
23480
+ tabIds: [number, number],
23481
+ ): Promise<number>;
23482
+
23483
+ /**
23484
+ * Splits two existing tabs into a Split View.
23485
+ *
23486
+ * @param tabIds An array of exactly two tab IDs to pair into a Split View. All tabs must meet the following conditions:
23487
+
23488
+ * They must be adjacent.
23489
+ * They must not already be in a split view.
23490
+ * They must have matching `windowId`, `pinned`, and `groupId` states.
23491
+ * @since Pending
23492
+ */
23493
+ export function createSplit(
23494
+
23495
+ tabIds: [number, number],
23496
+
23497
+ /**
23498
+ * @param splitViewId The ID of the newly created Split View containing the tabs specified.
23499
+ */
23500
+ callback?: (
23501
+ splitViewId: number,
23502
+ ) => void,
23503
+ ): void;
23504
+
23451
23505
  /**
23452
23506
  * Duplicates a tab.
23453
23507
  *
@@ -24211,6 +24265,30 @@ declare namespace chrome {
24211
24265
  callback?: () => void,
24212
24266
  ): void;
24213
24267
 
24268
+ /**
24269
+ * Separates the tabs in a Split View into independent tabs.
24270
+ *
24271
+ * @param splitViewId The ID of the Split View to separate.
24272
+ * @since Pending
24273
+ */
24274
+ export function unsplit(
24275
+
24276
+ splitViewId: number,
24277
+ ): Promise<void>;
24278
+
24279
+ /**
24280
+ * Separates the tabs in a Split View into independent tabs.
24281
+ *
24282
+ * @param splitViewId The ID of the Split View to separate.
24283
+ * @since Pending
24284
+ */
24285
+ export function unsplit(
24286
+
24287
+ splitViewId: number,
24288
+
24289
+ callback?: () => void,
24290
+ ): void;
24291
+
24214
24292
  /**
24215
24293
  * Detects the primary language of the content in a tab.
24216
24294
  *
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "a24ce7bb02d21d6b"
8
+ "build-hash": "f8960dcb82d2fad1"
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.445"
19
+ "version": "0.1.447"
20
20
  }