chrome-types 0.1.177 → 0.1.178

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 +32 -29
  2. package/index.d.ts +32 -29
  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 Mon Mar 06 2023 14:09:22 GMT+0000 (Coordinated Universal Time)
18
- // Built at 2fcc0bfab0c95326a08e419eaa8f7b9784a03962
17
+ // Generated on Tue Mar 07 2023 22:29:45 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 05f8fe382dcc45f96756d092b24690e56006c82a
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -761,7 +761,7 @@ declare namespace chrome {
761
761
  *
762
762
  * To help you debug your app or extension, when you've loaded it unpacked, there's no limit to how often the alarm can fire.
763
763
  *
764
- * @chrome-returns-extra since Pending
764
+ * @chrome-returns-extra since Chrome 111
765
765
  * @param name Optional name to identify this alarm. Defaults to the empty string.
766
766
  * @param alarmInfo Describes when the alarm should fire. The initial time must be specified by either `when` or `delayInMinutes` (but not both). If `periodInMinutes` is set, the alarm will repeat every `periodInMinutes` minutes after the initial event. If neither `when` or `delayInMinutes` is set for a repeating alarm, `periodInMinutes` is used as the default for `delayInMinutes`.
767
767
  */
@@ -779,7 +779,7 @@ declare namespace chrome {
779
779
  *
780
780
  * To help you debug your app or extension, when you've loaded it unpacked, there's no limit to how often the alarm can fire.
781
781
  *
782
- * @chrome-returns-extra since Pending
782
+ * @chrome-returns-extra since Chrome 111
783
783
  * @param alarmInfo Describes when the alarm should fire. The initial time must be specified by either `when` or `delayInMinutes` (but not both). If `periodInMinutes` is set, the alarm will repeat every `periodInMinutes` minutes after the initial event. If neither `when` or `delayInMinutes` is set for a repeating alarm, `periodInMinutes` is used as the default for `delayInMinutes`.
784
784
  */
785
785
  export function create(
@@ -805,7 +805,7 @@ declare namespace chrome {
805
805
  alarmInfo: AlarmCreateInfo,
806
806
 
807
807
  /**
808
- * @since Pending
808
+ * @since Chrome 111
809
809
  */
810
810
  callback?: () => void,
811
811
  ): void;
@@ -825,7 +825,7 @@ declare namespace chrome {
825
825
  alarmInfo: AlarmCreateInfo,
826
826
 
827
827
  /**
828
- * @since Pending
828
+ * @since Chrome 111
829
829
  */
830
830
  callback?: () => void,
831
831
  ): void;
@@ -9435,7 +9435,7 @@ declare namespace chrome {
9435
9435
  }
9436
9436
 
9437
9437
  /**
9438
- * @since Pending
9438
+ * @since Chrome 111
9439
9439
  */
9440
9440
  export interface GetRulesFilter {
9441
9441
 
@@ -9671,7 +9671,7 @@ declare namespace chrome {
9671
9671
  }
9672
9672
 
9673
9673
  /**
9674
- * @since Pending
9674
+ * @since Chrome 111
9675
9675
  */
9676
9676
  export interface UpdateStaticRulesOptions {
9677
9677
 
@@ -9692,7 +9692,7 @@ declare namespace chrome {
9692
9692
  }
9693
9693
 
9694
9694
  /**
9695
- * @since Pending
9695
+ * @since Chrome 111
9696
9696
  */
9697
9697
  export interface GetDisabledRuleIdsOptions {
9698
9698
 
@@ -9848,7 +9848,7 @@ declare namespace chrome {
9848
9848
  export function getDynamicRules(
9849
9849
 
9850
9850
  /**
9851
- * @since Pending
9851
+ * @since Chrome 111
9852
9852
  */
9853
9853
  filter?: GetRulesFilter,
9854
9854
  ): Promise<Rule[]>;
@@ -9862,7 +9862,7 @@ declare namespace chrome {
9862
9862
  export function getDynamicRules(
9863
9863
 
9864
9864
  /**
9865
- * @since Pending
9865
+ * @since Chrome 111
9866
9866
  */
9867
9867
  filter?: GetRulesFilter,
9868
9868
 
@@ -9913,7 +9913,7 @@ declare namespace chrome {
9913
9913
  export function getSessionRules(
9914
9914
 
9915
9915
  /**
9916
- * @since Pending
9916
+ * @since Chrome 111
9917
9917
  */
9918
9918
  filter?: GetRulesFilter,
9919
9919
  ): Promise<Rule[]>;
@@ -9928,7 +9928,7 @@ declare namespace chrome {
9928
9928
  export function getSessionRules(
9929
9929
 
9930
9930
  /**
9931
- * @since Pending
9931
+ * @since Chrome 111
9932
9932
  */
9933
9933
  filter?: GetRulesFilter,
9934
9934
 
@@ -17385,7 +17385,7 @@ declare namespace chrome {
17385
17385
  /**
17386
17386
  * Set the current composition. If this extension does not own the active IME, this fails.
17387
17387
  *
17388
- * @chrome-returns-extra since Pending
17388
+ * @chrome-returns-extra since Chrome 111
17389
17389
  */
17390
17390
  export function setComposition(
17391
17391
 
@@ -17503,7 +17503,7 @@ declare namespace chrome {
17503
17503
  /**
17504
17504
  * Clear the current composition. If this extension does not own the active IME, this fails.
17505
17505
  *
17506
- * @chrome-returns-extra since Pending
17506
+ * @chrome-returns-extra since Chrome 111
17507
17507
  */
17508
17508
  export function clearComposition(
17509
17509
 
@@ -17539,7 +17539,7 @@ declare namespace chrome {
17539
17539
  /**
17540
17540
  * Commits the provided text to the current input.
17541
17541
  *
17542
- * @chrome-returns-extra since Pending
17542
+ * @chrome-returns-extra since Chrome 111
17543
17543
  */
17544
17544
  export function commitText(
17545
17545
 
@@ -17585,7 +17585,7 @@ declare namespace chrome {
17585
17585
  /**
17586
17586
  * Sends the key events. This function is expected to be used by virtual keyboards. When key(s) on a virtual keyboard is pressed by a user, this function is used to propagate that event to the system.
17587
17587
  *
17588
- * @chrome-returns-extra since Pending
17588
+ * @chrome-returns-extra since Chrome 111
17589
17589
  */
17590
17590
  export function sendKeyEvents(
17591
17591
 
@@ -17634,7 +17634,7 @@ declare namespace chrome {
17634
17634
  /**
17635
17635
  * Sets the properties of the candidate window. This fails if the extension doesn't own the active IME
17636
17636
  *
17637
- * @chrome-returns-extra since Pending
17637
+ * @chrome-returns-extra since Chrome 111
17638
17638
  */
17639
17639
  export function setCandidateWindowProperties(
17640
17640
 
@@ -17774,7 +17774,7 @@ declare namespace chrome {
17774
17774
  /**
17775
17775
  * Sets the current candidate list. This fails if this extension doesn't own the active IME
17776
17776
  *
17777
- * @chrome-returns-extra since Pending
17777
+ * @chrome-returns-extra since Chrome 111
17778
17778
  */
17779
17779
  export function setCandidates(
17780
17780
 
@@ -17904,7 +17904,7 @@ declare namespace chrome {
17904
17904
  /**
17905
17905
  * Set the position of the cursor in the candidate window. This is a no-op if this extension does not own the active IME.
17906
17906
  *
17907
- * @chrome-returns-extra since Pending
17907
+ * @chrome-returns-extra since Chrome 111
17908
17908
  */
17909
17909
  export function setCursorPosition(
17910
17910
 
@@ -17950,7 +17950,7 @@ declare namespace chrome {
17950
17950
  /**
17951
17951
  * Shows/Hides an assistive window with the given properties.
17952
17952
  *
17953
- * @chrome-returns-extra since Pending
17953
+ * @chrome-returns-extra since Chrome 111
17954
17954
  * @since Chrome 85
17955
17955
  */
17956
17956
  export function setAssistiveWindowProperties(
@@ -17998,7 +17998,7 @@ declare namespace chrome {
17998
17998
  /**
17999
17999
  * Highlights/Unhighlights a button in an assistive window.
18000
18000
  *
18001
- * @chrome-returns-extra since Pending
18001
+ * @chrome-returns-extra since Chrome 111
18002
18002
  * @since Chrome 86
18003
18003
  */
18004
18004
  export function setAssistiveWindowButtonHighlighted(
@@ -18074,7 +18074,7 @@ declare namespace chrome {
18074
18074
  /**
18075
18075
  * Adds the provided menu items to the language menu when this IME is active.
18076
18076
  *
18077
- * @chrome-returns-extra since Pending
18077
+ * @chrome-returns-extra since Chrome 111
18078
18078
  */
18079
18079
  export function setMenuItems(
18080
18080
 
@@ -18094,7 +18094,7 @@ declare namespace chrome {
18094
18094
  /**
18095
18095
  * Updates the state of the MenuItems specified
18096
18096
  *
18097
- * @chrome-returns-extra since Pending
18097
+ * @chrome-returns-extra since Chrome 111
18098
18098
  */
18099
18099
  export function updateMenuItems(
18100
18100
 
@@ -18116,7 +18116,7 @@ declare namespace chrome {
18116
18116
  /**
18117
18117
  * Deletes the text around the caret.
18118
18118
  *
18119
- * @chrome-returns-extra since Pending
18119
+ * @chrome-returns-extra since Chrome 111
18120
18120
  */
18121
18121
  export function deleteSurroundingText(
18122
18122
 
@@ -21704,8 +21704,10 @@ declare namespace chrome {
21704
21704
  * @chrome-enum "DISPLAY\_MEDIA" The offscreen document needs to interact with media streams from display media (e.g. `getDisplayMedia()`
21705
21705
  * @chrome-enum "WEB\_RTC" The offscreen document needs to use WebRTC APIs.
21706
21706
  * @chrome-enum "CLIPBOARD" The offscreen document needs to interact with the clipboard APIs (e.g. `Navigator.clipboard`).
21707
+ * @chrome-enum "LOCAL\_STORAGE" The offscreen document needs access to [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).
21708
+ * @chrome-enum "WORKERS" The offscreen document needs to spawn workers.
21707
21709
  */
21708
- export type Reason = "TESTING" | "AUDIO_PLAYBACK" | "IFRAME_SCRIPTING" | "DOM_SCRAPING" | "BLOBS" | "DOM_PARSER" | "USER_MEDIA" | "DISPLAY_MEDIA" | "WEB_RTC" | "CLIPBOARD";
21710
+ export type Reason = "TESTING" | "AUDIO_PLAYBACK" | "IFRAME_SCRIPTING" | "DOM_SCRAPING" | "BLOBS" | "DOM_PARSER" | "USER_MEDIA" | "DISPLAY_MEDIA" | "WEB_RTC" | "CLIPBOARD" | "LOCAL_STORAGE" | "WORKERS";
21709
21711
 
21710
21712
  export interface CreateParameters {
21711
21713
 
@@ -23160,27 +23162,28 @@ declare namespace chrome {
23160
23162
  *
23161
23163
  * @deprecated We’re deprecating the API {@link websites.privacySandboxEnabled chrome.privacy.websites.privacySandboxEnabled}, though it will remain active for backward compatibility until release M113. Instead, please use {@link websites.topicsEnabled chrome.privacy.websites.topicsEnabled}, {@link websites.fledgeEnabled chrome.privacy.websites.fledgeEnabled} and {@link websites.adMeasurementEnabled chrome.privacy.websites.adMeasurementEnabled}. During the migration period: 1. Enabling privacySandboxEnabled will CLEAR the new APIs listed above because extensions aren’t allowed to enable them; 2. Disabling privacySandboxEnabled will also disable the new APIs; 3. Clearing privacySandboxEnabled will also clear the new APIs.
23162
23164
  * @since Chrome 90
23165
+ * @chrome-deprecated-since Chrome 111
23163
23166
  */
23164
23167
  privacySandboxEnabled: types.ChromeSetting<boolean>,
23165
23168
 
23166
23169
  /**
23167
23170
  * If disabled, the [Topics API](https://developer.chrome.com/en/docs/privacy-sandbox/topics/) 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.
23168
23171
  *
23169
- * @since Pending
23172
+ * @since Chrome 111
23170
23173
  */
23171
23174
  topicsEnabled: types.ChromeSetting<boolean>,
23172
23175
 
23173
23176
  /**
23174
23177
  * If disabled, the [Fledge API](https://developer.chrome.com/docs/privacy-sandbox/fledge/) 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.
23175
23178
  *
23176
- * @since Pending
23179
+ * @since Chrome 111
23177
23180
  */
23178
23181
  fledgeEnabled: types.ChromeSetting<boolean>,
23179
23182
 
23180
23183
  /**
23181
23184
  * If disabled, the [Attribution Reporting API](https://developer.chrome.com/en/docs/privacy-sandbox/attribution-reporting/) and [Private Aggregation API](https://developer.chrome.com/docs/privacy-sandbox/private-aggregation/) are deactivated. The value of this preference is of type boolean, and the default value is `true`. Extensions may only disable these APIs by setting the value to `false`. If you try setting these APIs to `true`, it will throw an error.
23182
23185
  *
23183
- * @since Pending
23186
+ * @since Chrome 111
23184
23187
  */
23185
23188
  adMeasurementEnabled: types.ChromeSetting<boolean>,
23186
23189
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Mon Mar 06 2023 14:09:17 GMT+0000 (Coordinated Universal Time)
18
- // Built at 2fcc0bfab0c95326a08e419eaa8f7b9784a03962
17
+ // Generated on Tue Mar 07 2023 22:29:40 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 05f8fe382dcc45f96756d092b24690e56006c82a
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -819,7 +819,7 @@ declare namespace chrome {
819
819
  *
820
820
  * To help you debug your app or extension, when you've loaded it unpacked, there's no limit to how often the alarm can fire.
821
821
  *
822
- * @chrome-returns-extra since Pending
822
+ * @chrome-returns-extra since Chrome 111
823
823
  * @param name Optional name to identify this alarm. Defaults to the empty string.
824
824
  * @param alarmInfo Describes when the alarm should fire. The initial time must be specified by either `when` or `delayInMinutes` (but not both). If `periodInMinutes` is set, the alarm will repeat every `periodInMinutes` minutes after the initial event. If neither `when` or `delayInMinutes` is set for a repeating alarm, `periodInMinutes` is used as the default for `delayInMinutes`.
825
825
  */
@@ -837,7 +837,7 @@ declare namespace chrome {
837
837
  *
838
838
  * To help you debug your app or extension, when you've loaded it unpacked, there's no limit to how often the alarm can fire.
839
839
  *
840
- * @chrome-returns-extra since Pending
840
+ * @chrome-returns-extra since Chrome 111
841
841
  * @param alarmInfo Describes when the alarm should fire. The initial time must be specified by either `when` or `delayInMinutes` (but not both). If `periodInMinutes` is set, the alarm will repeat every `periodInMinutes` minutes after the initial event. If neither `when` or `delayInMinutes` is set for a repeating alarm, `periodInMinutes` is used as the default for `delayInMinutes`.
842
842
  */
843
843
  export function create(
@@ -863,7 +863,7 @@ declare namespace chrome {
863
863
  alarmInfo: AlarmCreateInfo,
864
864
 
865
865
  /**
866
- * @since Pending
866
+ * @since Chrome 111
867
867
  */
868
868
  callback?: () => void,
869
869
  ): void;
@@ -883,7 +883,7 @@ declare namespace chrome {
883
883
  alarmInfo: AlarmCreateInfo,
884
884
 
885
885
  /**
886
- * @since Pending
886
+ * @since Chrome 111
887
887
  */
888
888
  callback?: () => void,
889
889
  ): void;
@@ -6237,7 +6237,7 @@ declare namespace chrome {
6237
6237
  }
6238
6238
 
6239
6239
  /**
6240
- * @since Pending
6240
+ * @since Chrome 111
6241
6241
  */
6242
6242
  export interface GetRulesFilter {
6243
6243
 
@@ -6473,7 +6473,7 @@ declare namespace chrome {
6473
6473
  }
6474
6474
 
6475
6475
  /**
6476
- * @since Pending
6476
+ * @since Chrome 111
6477
6477
  */
6478
6478
  export interface UpdateStaticRulesOptions {
6479
6479
 
@@ -6494,7 +6494,7 @@ declare namespace chrome {
6494
6494
  }
6495
6495
 
6496
6496
  /**
6497
- * @since Pending
6497
+ * @since Chrome 111
6498
6498
  */
6499
6499
  export interface GetDisabledRuleIdsOptions {
6500
6500
 
@@ -6650,7 +6650,7 @@ declare namespace chrome {
6650
6650
  export function getDynamicRules(
6651
6651
 
6652
6652
  /**
6653
- * @since Pending
6653
+ * @since Chrome 111
6654
6654
  */
6655
6655
  filter?: GetRulesFilter,
6656
6656
  ): Promise<Rule[]>;
@@ -6664,7 +6664,7 @@ declare namespace chrome {
6664
6664
  export function getDynamicRules(
6665
6665
 
6666
6666
  /**
6667
- * @since Pending
6667
+ * @since Chrome 111
6668
6668
  */
6669
6669
  filter?: GetRulesFilter,
6670
6670
 
@@ -6715,7 +6715,7 @@ declare namespace chrome {
6715
6715
  export function getSessionRules(
6716
6716
 
6717
6717
  /**
6718
- * @since Pending
6718
+ * @since Chrome 111
6719
6719
  */
6720
6720
  filter?: GetRulesFilter,
6721
6721
  ): Promise<Rule[]>;
@@ -6730,7 +6730,7 @@ declare namespace chrome {
6730
6730
  export function getSessionRules(
6731
6731
 
6732
6732
  /**
6733
- * @since Pending
6733
+ * @since Chrome 111
6734
6734
  */
6735
6735
  filter?: GetRulesFilter,
6736
6736
 
@@ -12946,7 +12946,7 @@ declare namespace chrome {
12946
12946
  /**
12947
12947
  * Set the current composition. If this extension does not own the active IME, this fails.
12948
12948
  *
12949
- * @chrome-returns-extra since Pending
12949
+ * @chrome-returns-extra since Chrome 111
12950
12950
  */
12951
12951
  export function setComposition(
12952
12952
 
@@ -13064,7 +13064,7 @@ declare namespace chrome {
13064
13064
  /**
13065
13065
  * Clear the current composition. If this extension does not own the active IME, this fails.
13066
13066
  *
13067
- * @chrome-returns-extra since Pending
13067
+ * @chrome-returns-extra since Chrome 111
13068
13068
  */
13069
13069
  export function clearComposition(
13070
13070
 
@@ -13100,7 +13100,7 @@ declare namespace chrome {
13100
13100
  /**
13101
13101
  * Commits the provided text to the current input.
13102
13102
  *
13103
- * @chrome-returns-extra since Pending
13103
+ * @chrome-returns-extra since Chrome 111
13104
13104
  */
13105
13105
  export function commitText(
13106
13106
 
@@ -13146,7 +13146,7 @@ declare namespace chrome {
13146
13146
  /**
13147
13147
  * Sends the key events. This function is expected to be used by virtual keyboards. When key(s) on a virtual keyboard is pressed by a user, this function is used to propagate that event to the system.
13148
13148
  *
13149
- * @chrome-returns-extra since Pending
13149
+ * @chrome-returns-extra since Chrome 111
13150
13150
  */
13151
13151
  export function sendKeyEvents(
13152
13152
 
@@ -13195,7 +13195,7 @@ declare namespace chrome {
13195
13195
  /**
13196
13196
  * Sets the properties of the candidate window. This fails if the extension doesn't own the active IME
13197
13197
  *
13198
- * @chrome-returns-extra since Pending
13198
+ * @chrome-returns-extra since Chrome 111
13199
13199
  */
13200
13200
  export function setCandidateWindowProperties(
13201
13201
 
@@ -13335,7 +13335,7 @@ declare namespace chrome {
13335
13335
  /**
13336
13336
  * Sets the current candidate list. This fails if this extension doesn't own the active IME
13337
13337
  *
13338
- * @chrome-returns-extra since Pending
13338
+ * @chrome-returns-extra since Chrome 111
13339
13339
  */
13340
13340
  export function setCandidates(
13341
13341
 
@@ -13465,7 +13465,7 @@ declare namespace chrome {
13465
13465
  /**
13466
13466
  * Set the position of the cursor in the candidate window. This is a no-op if this extension does not own the active IME.
13467
13467
  *
13468
- * @chrome-returns-extra since Pending
13468
+ * @chrome-returns-extra since Chrome 111
13469
13469
  */
13470
13470
  export function setCursorPosition(
13471
13471
 
@@ -13511,7 +13511,7 @@ declare namespace chrome {
13511
13511
  /**
13512
13512
  * Shows/Hides an assistive window with the given properties.
13513
13513
  *
13514
- * @chrome-returns-extra since Pending
13514
+ * @chrome-returns-extra since Chrome 111
13515
13515
  * @since Chrome 85
13516
13516
  */
13517
13517
  export function setAssistiveWindowProperties(
@@ -13559,7 +13559,7 @@ declare namespace chrome {
13559
13559
  /**
13560
13560
  * Highlights/Unhighlights a button in an assistive window.
13561
13561
  *
13562
- * @chrome-returns-extra since Pending
13562
+ * @chrome-returns-extra since Chrome 111
13563
13563
  * @since Chrome 86
13564
13564
  */
13565
13565
  export function setAssistiveWindowButtonHighlighted(
@@ -13635,7 +13635,7 @@ declare namespace chrome {
13635
13635
  /**
13636
13636
  * Adds the provided menu items to the language menu when this IME is active.
13637
13637
  *
13638
- * @chrome-returns-extra since Pending
13638
+ * @chrome-returns-extra since Chrome 111
13639
13639
  */
13640
13640
  export function setMenuItems(
13641
13641
 
@@ -13655,7 +13655,7 @@ declare namespace chrome {
13655
13655
  /**
13656
13656
  * Updates the state of the MenuItems specified
13657
13657
  *
13658
- * @chrome-returns-extra since Pending
13658
+ * @chrome-returns-extra since Chrome 111
13659
13659
  */
13660
13660
  export function updateMenuItems(
13661
13661
 
@@ -13677,7 +13677,7 @@ declare namespace chrome {
13677
13677
  /**
13678
13678
  * Deletes the text around the caret.
13679
13679
  *
13680
- * @chrome-returns-extra since Pending
13680
+ * @chrome-returns-extra since Chrome 111
13681
13681
  */
13682
13682
  export function deleteSurroundingText(
13683
13683
 
@@ -16910,8 +16910,10 @@ declare namespace chrome {
16910
16910
  * @chrome-enum "DISPLAY\_MEDIA" The offscreen document needs to interact with media streams from display media (e.g. `getDisplayMedia()`
16911
16911
  * @chrome-enum "WEB\_RTC" The offscreen document needs to use WebRTC APIs.
16912
16912
  * @chrome-enum "CLIPBOARD" The offscreen document needs to interact with the clipboard APIs (e.g. `Navigator.clipboard`).
16913
+ * @chrome-enum "LOCAL\_STORAGE" The offscreen document needs access to [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).
16914
+ * @chrome-enum "WORKERS" The offscreen document needs to spawn workers.
16913
16915
  */
16914
- export type Reason = "TESTING" | "AUDIO_PLAYBACK" | "IFRAME_SCRIPTING" | "DOM_SCRAPING" | "BLOBS" | "DOM_PARSER" | "USER_MEDIA" | "DISPLAY_MEDIA" | "WEB_RTC" | "CLIPBOARD";
16916
+ export type Reason = "TESTING" | "AUDIO_PLAYBACK" | "IFRAME_SCRIPTING" | "DOM_SCRAPING" | "BLOBS" | "DOM_PARSER" | "USER_MEDIA" | "DISPLAY_MEDIA" | "WEB_RTC" | "CLIPBOARD" | "LOCAL_STORAGE" | "WORKERS";
16915
16917
 
16916
16918
  export interface CreateParameters {
16917
16919
 
@@ -18086,27 +18088,28 @@ declare namespace chrome {
18086
18088
  *
18087
18089
  * @deprecated We’re deprecating the API {@link websites.privacySandboxEnabled chrome.privacy.websites.privacySandboxEnabled}, though it will remain active for backward compatibility until release M113. Instead, please use {@link websites.topicsEnabled chrome.privacy.websites.topicsEnabled}, {@link websites.fledgeEnabled chrome.privacy.websites.fledgeEnabled} and {@link websites.adMeasurementEnabled chrome.privacy.websites.adMeasurementEnabled}. During the migration period: 1. Enabling privacySandboxEnabled will CLEAR the new APIs listed above because extensions aren’t allowed to enable them; 2. Disabling privacySandboxEnabled will also disable the new APIs; 3. Clearing privacySandboxEnabled will also clear the new APIs.
18088
18090
  * @since Chrome 90
18091
+ * @chrome-deprecated-since Chrome 111
18089
18092
  */
18090
18093
  privacySandboxEnabled: types.ChromeSetting<boolean>,
18091
18094
 
18092
18095
  /**
18093
18096
  * If disabled, the [Topics API](https://developer.chrome.com/en/docs/privacy-sandbox/topics/) 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.
18094
18097
  *
18095
- * @since Pending
18098
+ * @since Chrome 111
18096
18099
  */
18097
18100
  topicsEnabled: types.ChromeSetting<boolean>,
18098
18101
 
18099
18102
  /**
18100
18103
  * If disabled, the [Fledge API](https://developer.chrome.com/docs/privacy-sandbox/fledge/) 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.
18101
18104
  *
18102
- * @since Pending
18105
+ * @since Chrome 111
18103
18106
  */
18104
18107
  fledgeEnabled: types.ChromeSetting<boolean>,
18105
18108
 
18106
18109
  /**
18107
18110
  * If disabled, the [Attribution Reporting API](https://developer.chrome.com/en/docs/privacy-sandbox/attribution-reporting/) and [Private Aggregation API](https://developer.chrome.com/docs/privacy-sandbox/private-aggregation/) are deactivated. The value of this preference is of type boolean, and the default value is `true`. Extensions may only disable these APIs by setting the value to `false`. If you try setting these APIs to `true`, it will throw an error.
18108
18111
  *
18109
- * @since Pending
18112
+ * @since Chrome 111
18110
18113
  */
18111
18114
  adMeasurementEnabled: types.ChromeSetting<boolean>,
18112
18115
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "7824a7d6208c94f4"
8
+ "build-hash": "a0a53503844b7982"
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.177"
19
+ "version": "0.1.178"
20
20
  }