chrome-types 0.1.353 → 0.1.355

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 +35 -4
  2. package/index.d.ts +35 -4
  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 Fri May 30 2025 14:28:33 GMT+0000 (Coordinated Universal Time)
18
- // Built at f3c1029454d8d2c2db74c6816d9cb0a7436aa3b6
17
+ // Generated on Tue Jun 24 2025 22:33:53 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 07959329033d08f8249fc3fae06673ebef90047b
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -9644,6 +9644,13 @@ declare namespace chrome {
9644
9644
  */
9645
9645
  export type SystemAudioPreferenceEnum = "include" | "exclude";
9646
9646
 
9647
+ /**
9648
+ * Mirrors [WindowAudioPreferenceEnum](https://w3c.github.io/mediacapture-screen-share/#dom-windowaudiopreferenceenum).
9649
+ *
9650
+ * @since Pending
9651
+ */
9652
+ export type WindowAudioPreferenceEnum = "system" | "window" | "exclude";
9653
+
9647
9654
  /**
9648
9655
  * Mirrors [SelfCapturePreferenceEnum](https://w3c.github.io/mediacapture-screen-share/#dom-selfcapturepreferenceenum).
9649
9656
  *
@@ -12303,6 +12310,30 @@ declare namespace chrome {
12303
12310
  ): void;
12304
12311
  }
12305
12312
 
12313
+ /**
12314
+ * Use the `chrome.enterprise.login` API to exit user sessions. Note: This API is only available to extensions installed by enterprise policy in ChromeOS managed sessions.
12315
+ *
12316
+ * @since Pending
12317
+ * @chrome-permission enterprise.login
12318
+ * @chrome-install-location policy
12319
+ * @chrome-platform chromeos
12320
+ */
12321
+ export namespace enterprise.login {
12322
+
12323
+ /**
12324
+ * Exits the current managed guest session.
12325
+ */
12326
+ export function exitCurrentManagedGuestSession(): Promise<void>;
12327
+
12328
+ /**
12329
+ * Exits the current managed guest session.
12330
+ */
12331
+ export function exitCurrentManagedGuestSession(
12332
+
12333
+ callback?: () => void,
12334
+ ): void;
12335
+ }
12336
+
12306
12337
  /**
12307
12338
  * Use the `chrome.enterprise.networkingAttributes` API to read information about your current network. Note: This API is only available to extensions force-installed by enterprise policy.
12308
12339
  *
@@ -23673,9 +23704,9 @@ declare namespace chrome {
23673
23704
  export const websites: {
23674
23705
 
23675
23706
  /**
23676
- * If disabled, Chrome blocks third-party sites from setting cookies. The value of this preference is of type boolean, and the default value is `true`.
23707
+ * If disabled, Chrome blocks third-party sites from setting cookies. The value of this preference is of type boolean, and the default value is `true`. Extensions may not enable this API in Incognito mode, where third-party cookies are blocked and can only be allowed at the site level. If you try setting this API to true in Incognito, it will throw an error.
23677
23708
  *
23678
- * **Note:**Individual sites may still be able to access third-party cookies when this API returns `false`, if they have a valid [exemption](https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/preserving-critical-user-experiences) or they use the [Storage Access API](https://developers.google.com/privacy-sandbox/cookies/storage-access-api) instead.
23709
+ * Note: Individual sites may still be able to access third-party cookies when this API returns `false`, if they have a valid [exemption](https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/preserving-critical-user-experiences) or they use the [Storage Access API](https://developers.google.com/privacy-sandbox/cookies/storage-access-api) instead.
23679
23710
  */
23680
23711
  thirdPartyCookiesAllowed: types.ChromeSetting<boolean>,
23681
23712
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Fri May 30 2025 14:28:28 GMT+0000 (Coordinated Universal Time)
18
- // Built at f3c1029454d8d2c2db74c6816d9cb0a7436aa3b6
17
+ // Generated on Tue Jun 24 2025 22:33:48 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 07959329033d08f8249fc3fae06673ebef90047b
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -5861,6 +5861,13 @@ declare namespace chrome {
5861
5861
  */
5862
5862
  export type SystemAudioPreferenceEnum = "include" | "exclude";
5863
5863
 
5864
+ /**
5865
+ * Mirrors [WindowAudioPreferenceEnum](https://w3c.github.io/mediacapture-screen-share/#dom-windowaudiopreferenceenum).
5866
+ *
5867
+ * @since Pending
5868
+ */
5869
+ export type WindowAudioPreferenceEnum = "system" | "window" | "exclude";
5870
+
5864
5871
  /**
5865
5872
  * Mirrors [SelfCapturePreferenceEnum](https://w3c.github.io/mediacapture-screen-share/#dom-selfcapturepreferenceenum).
5866
5873
  *
@@ -8453,6 +8460,30 @@ declare namespace chrome {
8453
8460
  ): void;
8454
8461
  }
8455
8462
 
8463
+ /**
8464
+ * Use the `chrome.enterprise.login` API to exit user sessions. Note: This API is only available to extensions installed by enterprise policy in ChromeOS managed sessions.
8465
+ *
8466
+ * @since Pending
8467
+ * @chrome-permission enterprise.login
8468
+ * @chrome-install-location policy
8469
+ * @chrome-platform chromeos
8470
+ */
8471
+ export namespace enterprise.login {
8472
+
8473
+ /**
8474
+ * Exits the current managed guest session.
8475
+ */
8476
+ export function exitCurrentManagedGuestSession(): Promise<void>;
8477
+
8478
+ /**
8479
+ * Exits the current managed guest session.
8480
+ */
8481
+ export function exitCurrentManagedGuestSession(
8482
+
8483
+ callback?: () => void,
8484
+ ): void;
8485
+ }
8486
+
8456
8487
  /**
8457
8488
  * Use the `chrome.enterprise.networkingAttributes` API to read information about your current network. Note: This API is only available to extensions force-installed by enterprise policy.
8458
8489
  *
@@ -18448,9 +18479,9 @@ declare namespace chrome {
18448
18479
  export const websites: {
18449
18480
 
18450
18481
  /**
18451
- * If disabled, Chrome blocks third-party sites from setting cookies. The value of this preference is of type boolean, and the default value is `true`.
18482
+ * If disabled, Chrome blocks third-party sites from setting cookies. The value of this preference is of type boolean, and the default value is `true`. Extensions may not enable this API in Incognito mode, where third-party cookies are blocked and can only be allowed at the site level. If you try setting this API to true in Incognito, it will throw an error.
18452
18483
  *
18453
- * **Note:**Individual sites may still be able to access third-party cookies when this API returns `false`, if they have a valid [exemption](https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/preserving-critical-user-experiences) or they use the [Storage Access API](https://developers.google.com/privacy-sandbox/cookies/storage-access-api) instead.
18484
+ * Note: Individual sites may still be able to access third-party cookies when this API returns `false`, if they have a valid [exemption](https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/preserving-critical-user-experiences) or they use the [Storage Access API](https://developers.google.com/privacy-sandbox/cookies/storage-access-api) instead.
18454
18485
  */
18455
18486
  thirdPartyCookiesAllowed: types.ChromeSetting<boolean>,
18456
18487
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "7e5dd444ae8761d7"
8
+ "build-hash": "12360c91c819e84a"
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.353"
19
+ "version": "0.1.355"
20
20
  }