chrome-types 0.1.361 → 0.1.363

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 +39 -225
  2. package/index.d.ts +39 -229
  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 Jul 11 2025 22:33:08 GMT+0000 (Coordinated Universal Time)
18
- // Built at 83eed982f14dfcc882513cb92ced129156e1b0f8
17
+ // Generated on Wed Jul 23 2025 22:33:30 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 2822372ce65ec5ce57bbbb4efb22427b90dcac83
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -726,217 +726,6 @@ declare namespace chrome {
726
726
  ): void;
727
727
  }
728
728
 
729
- /**
730
- * Use the `chrome.alarms` API to schedule code to run periodically or at a specified time in the future.
731
- *
732
- * @chrome-permission alarms
733
- */
734
- export namespace alarms {
735
-
736
- export interface Alarm {
737
-
738
- /**
739
- * Name of this alarm.
740
- */
741
- name: string;
742
-
743
- /**
744
- * Time at which this alarm was scheduled to fire, in milliseconds past the epoch (e.g. `Date.now() + n`). For performance reasons, the alarm may have been delayed an arbitrary amount beyond this.
745
- */
746
- scheduledTime: number;
747
-
748
- /**
749
- * If not null, the alarm is a repeating alarm and will fire again in `periodInMinutes` minutes.
750
- */
751
- periodInMinutes?: number;
752
- }
753
-
754
- export interface AlarmCreateInfo {
755
-
756
- /**
757
- * Time at which the alarm should fire, in milliseconds past the epoch (e.g. `Date.now() + n`).
758
- */
759
- when?: number;
760
-
761
- /**
762
- * Length of time in minutes after which the `onAlarm` event should fire.
763
- */
764
- delayInMinutes?: number;
765
-
766
- /**
767
- * If set, the onAlarm event should fire every `periodInMinutes` minutes after the initial event specified by `when` or `delayInMinutes`. If not set, the alarm will only fire once.
768
- */
769
- periodInMinutes?: number;
770
- }
771
-
772
- /**
773
- * Fired when an alarm has elapsed. Useful for event pages.
774
- */
775
- export const onAlarm: events.Event<(
776
- alarm: Alarm,
777
- ) => void>;
778
-
779
- /**
780
- * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
781
- *
782
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
783
- *
784
- * 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.
785
- *
786
- * @chrome-returns-extra since Chrome 111
787
- * @param name Optional name to identify this alarm. Defaults to the empty string.
788
- * @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`.
789
- */
790
- export function create(
791
-
792
- name: string,
793
-
794
- alarmInfo: AlarmCreateInfo,
795
- ): Promise<void>;
796
-
797
- /**
798
- * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
799
- *
800
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
801
- *
802
- * 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.
803
- *
804
- * @chrome-returns-extra since Chrome 111
805
- * @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`.
806
- */
807
- export function create(
808
-
809
- alarmInfo: AlarmCreateInfo,
810
- ): Promise<void>;
811
-
812
- /**
813
- * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
814
- *
815
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
816
- *
817
- * 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.
818
- *
819
- * @param name Optional name to identify this alarm. Defaults to the empty string.
820
- * @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`.
821
- * @param callback Invoked when the alarm has been created.
822
- */
823
- export function create(
824
-
825
- name: string,
826
-
827
- alarmInfo: AlarmCreateInfo,
828
-
829
- /**
830
- * @since Chrome 111
831
- */
832
- callback?: () => void,
833
- ): void;
834
-
835
- /**
836
- * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
837
- *
838
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
839
- *
840
- * 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.
841
- *
842
- * @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`.
843
- * @param callback Invoked when the alarm has been created.
844
- */
845
- export function create(
846
-
847
- alarmInfo: AlarmCreateInfo,
848
-
849
- /**
850
- * @since Chrome 111
851
- */
852
- callback?: () => void,
853
- ): void;
854
-
855
- /**
856
- * Retrieves details about the specified alarm.
857
- *
858
- * @chrome-returns-extra since Chrome 91
859
- * @param name The name of the alarm to get. Defaults to the empty string.
860
- */
861
- export function get(
862
-
863
- name?: string,
864
- ): Promise<Alarm | undefined>;
865
-
866
- /**
867
- * Retrieves details about the specified alarm.
868
- *
869
- * @param name The name of the alarm to get. Defaults to the empty string.
870
- */
871
- export function get(
872
-
873
- name?: string,
874
-
875
- callback?: (
876
- alarm?: Alarm,
877
- ) => void,
878
- ): void;
879
-
880
- /**
881
- * Gets an array of all the alarms.
882
- *
883
- * @chrome-returns-extra since Chrome 91
884
- */
885
- export function getAll(): Promise<Alarm[]>;
886
-
887
- /**
888
- * Gets an array of all the alarms.
889
- */
890
- export function getAll(
891
-
892
- callback?: (
893
- alarms: Alarm[],
894
- ) => void,
895
- ): void;
896
-
897
- /**
898
- * Clears the alarm with the given name.
899
- *
900
- * @chrome-returns-extra since Chrome 91
901
- * @param name The name of the alarm to clear. Defaults to the empty string.
902
- */
903
- export function clear(
904
-
905
- name?: string,
906
- ): Promise<boolean>;
907
-
908
- /**
909
- * Clears the alarm with the given name.
910
- *
911
- * @param name The name of the alarm to clear. Defaults to the empty string.
912
- */
913
- export function clear(
914
-
915
- name?: string,
916
-
917
- callback?: (
918
- wasCleared: boolean,
919
- ) => void,
920
- ): void;
921
-
922
- /**
923
- * Clears all alarms.
924
- *
925
- * @chrome-returns-extra since Chrome 91
926
- */
927
- export function clearAll(): Promise<boolean>;
928
-
929
- /**
930
- * Clears all alarms.
931
- */
932
- export function clearAll(
933
-
934
- callback?: (
935
- wasCleared: boolean,
936
- ) => void,
937
- ): void;
938
- }
939
-
940
729
  /**
941
730
  * @chrome-disallow-service-workers
942
731
  * @chrome-max-manifest MV2
@@ -10080,7 +9869,7 @@ declare namespace chrome {
10080
9869
  }
10081
9870
 
10082
9871
  /**
10083
- * Represents a panel created by extension.
9872
+ * Represents a panel created by an extension.
10084
9873
  */
10085
9874
  export interface ExtensionPanel {
10086
9875
 
@@ -10119,6 +9908,13 @@ declare namespace chrome {
10119
9908
 
10120
9909
  disabled: boolean,
10121
9910
  ): Button;
9911
+
9912
+ /**
9913
+ * Shows the panel by activating the corresponding tab.
9914
+ *
9915
+ * @since Pending
9916
+ */
9917
+ show(): void;
10122
9918
  }
10123
9919
 
10124
9920
  /**
@@ -13480,7 +13276,7 @@ declare namespace chrome {
13480
13276
  export type ImageFormat = "jpeg" | "png";
13481
13277
 
13482
13278
  /**
13483
- * Details about the format and quality of an image.
13279
+ * Details about the format, quality, and area of an image.
13484
13280
  */
13485
13281
  export interface ImageDetails {
13486
13282
 
@@ -23832,6 +23628,7 @@ declare namespace chrome {
23832
23628
  /**
23833
23629
  * The types of the browser processes.
23834
23630
  *
23631
+ * @chrome-enum "worker" Obsolete, will never be returned.
23835
23632
  * @chrome-enum "service\_worker" Obsolete, will never be returned.
23836
23633
  */
23837
23634
  export type ProcessType = "browser" | "renderer" | "extension" | "notification" | "plugin" | "worker" | "nacl" | "service_worker" | "utility" | "gpu" | "other";
@@ -24098,10 +23895,6 @@ declare namespace chrome {
24098
23895
  * Use the `chrome.proxy` API to manage Chrome's proxy settings. This API relies on the [ChromeSetting prototype of the type API](https://developer.chrome.com/docs/extensions/reference/api/types#type-ChromeSetting) for getting and setting the proxy configuration.
24099
23896
  *
24100
23897
  * @chrome-permission proxy
24101
- * @chrome-platform chromeos
24102
- * @chrome-platform linux
24103
- * @chrome-platform mac
24104
- * @chrome-platform win
24105
23898
  */
24106
23899
  export namespace proxy {
24107
23900
 
@@ -24611,10 +24404,9 @@ declare namespace chrome {
24611
24404
  * @chrome-enum "x86-64" Specifies the native client architecture as x86-64.
24612
24405
  * @chrome-enum "mips" Specifies the native client architecture as mips.
24613
24406
  * @chrome-enum "mips64" Specifies the native client architecture as mips64.
24614
- * @chrome-enum "riscv64" Specifies the native client architecture as riscv64.
24615
24407
  * @since Chrome 44
24616
24408
  */
24617
- export type PlatformNaclArch = "arm" | "x86-32" | "x86-64" | "mips" | "mips64" | "riscv64";
24409
+ export type PlatformNaclArch = "arm" | "x86-32" | "x86-64" | "mips" | "mips64";
24618
24410
 
24619
24411
  /**
24620
24412
  * An object containing information about the current platform.
@@ -24634,7 +24426,7 @@ declare namespace chrome {
24634
24426
  /**
24635
24427
  * The native client architecture. This may be different from arch on some platforms.
24636
24428
  */
24637
- nacl_arch: PlatformNaclArch;
24429
+ nacl_arch?: PlatformNaclArch;
24638
24430
  }
24639
24431
 
24640
24432
  /**
@@ -28981,7 +28773,7 @@ declare namespace chrome {
28981
28773
  ): void;
28982
28774
 
28983
28775
  /**
28984
- * Sets the desired access level for the storage area. By default, `session` storage is restricted to trusted contexts (extension pages and service workers), while `local` and `sync` storage allow access from both trusted and untrusted contexts.
28776
+ * Sets the desired access level for the storage area. By default, `session` storage is restricted to trusted contexts (extension pages and service workers), while `managed`, `local`, and `sync` storage allow access from both trusted and untrusted contexts.
28985
28777
  *
28986
28778
  * @since Chrome 102
28987
28779
  */
@@ -28997,7 +28789,7 @@ declare namespace chrome {
28997
28789
  ): Promise<void>;
28998
28790
 
28999
28791
  /**
29000
- * Sets the desired access level for the storage area. By default, `session` storage is restricted to trusted contexts (extension pages and service workers), while `local` and `sync` storage allow access from both trusted and untrusted contexts.
28792
+ * Sets the desired access level for the storage area. By default, `session` storage is restricted to trusted contexts (extension pages and service workers), while `managed`, `local`, and `sync` storage allow access from both trusted and untrusted contexts.
29001
28793
  *
29002
28794
  * @param callback Callback on success, or on failure (in which case {@link runtime.lastError} will be set).
29003
28795
  * @since Chrome 102
@@ -31156,6 +30948,13 @@ declare namespace chrome {
31156
30948
  */
31157
30949
  groupId?: number,
31158
30950
 
30951
+ /**
30952
+ * The tab's new Split View.
30953
+ *
30954
+ * @since Pending
30955
+ */
30956
+ splitViewId?: number,
30957
+
31159
30958
  /**
31160
30959
  * The tab's new pinned state.
31161
30960
  */
@@ -31831,6 +31630,13 @@ declare namespace chrome {
31831
31630
  */
31832
31631
  groupId?: number,
31833
31632
 
31633
+ /**
31634
+ * The ID of the Split View that the tabs are in, or {@link tabs.SPLIT_TAB_ID_NONE} for tabs that aren't in a Split View.
31635
+ *
31636
+ * @since Pending
31637
+ */
31638
+ splitViewId?: number,
31639
+
31834
31640
  /**
31835
31641
  * The ID of the parent window, or {@link windows.WINDOW_ID_CURRENT} for the [current window](https://developer.chrome.com/docs/extensions/reference/windows/#current-window).
31836
31642
  */
@@ -31937,6 +31743,13 @@ declare namespace chrome {
31937
31743
  */
31938
31744
  groupId?: number,
31939
31745
 
31746
+ /**
31747
+ * The ID of the Split View that the tabs are in, or {@link tabs.SPLIT_TAB_ID_NONE} for tabs that aren't in a Split View.
31748
+ *
31749
+ * @since Pending
31750
+ */
31751
+ splitViewId?: number,
31752
+
31940
31753
  /**
31941
31754
  * The ID of the parent window, or {@link windows.WINDOW_ID_CURRENT} for the [current window](https://developer.chrome.com/docs/extensions/reference/windows/#current-window).
31942
31755
  */
@@ -35543,9 +35356,10 @@ declare namespace chrome {
35543
35356
  * @since Chrome 115
35544
35357
  * @chrome-permission webAuthenticationProxy
35545
35358
  * @chrome-min-manifest MV3
35546
- * @chrome-platform win
35359
+ * @chrome-platform desktop_android
35547
35360
  * @chrome-platform linux
35548
35361
  * @chrome-platform mac
35362
+ * @chrome-platform win
35549
35363
  */
35550
35364
  export namespace webAuthenticationProxy {
35551
35365
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Fri Jul 11 2025 22:33:03 GMT+0000 (Coordinated Universal Time)
18
- // Built at 83eed982f14dfcc882513cb92ced129156e1b0f8
17
+ // Generated on Wed Jul 23 2025 22:33:25 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 2822372ce65ec5ce57bbbb4efb22427b90dcac83
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -784,217 +784,6 @@ declare namespace chrome {
784
784
  ): void;
785
785
  }
786
786
 
787
- /**
788
- * Use the `chrome.alarms` API to schedule code to run periodically or at a specified time in the future.
789
- *
790
- * @chrome-permission alarms
791
- */
792
- export namespace alarms {
793
-
794
- export interface Alarm {
795
-
796
- /**
797
- * Name of this alarm.
798
- */
799
- name: string;
800
-
801
- /**
802
- * Time at which this alarm was scheduled to fire, in milliseconds past the epoch (e.g. `Date.now() + n`). For performance reasons, the alarm may have been delayed an arbitrary amount beyond this.
803
- */
804
- scheduledTime: number;
805
-
806
- /**
807
- * If not null, the alarm is a repeating alarm and will fire again in `periodInMinutes` minutes.
808
- */
809
- periodInMinutes?: number;
810
- }
811
-
812
- export interface AlarmCreateInfo {
813
-
814
- /**
815
- * Time at which the alarm should fire, in milliseconds past the epoch (e.g. `Date.now() + n`).
816
- */
817
- when?: number;
818
-
819
- /**
820
- * Length of time in minutes after which the `onAlarm` event should fire.
821
- */
822
- delayInMinutes?: number;
823
-
824
- /**
825
- * If set, the onAlarm event should fire every `periodInMinutes` minutes after the initial event specified by `when` or `delayInMinutes`. If not set, the alarm will only fire once.
826
- */
827
- periodInMinutes?: number;
828
- }
829
-
830
- /**
831
- * Fired when an alarm has elapsed. Useful for event pages.
832
- */
833
- export const onAlarm: events.Event<(
834
- alarm: Alarm,
835
- ) => void>;
836
-
837
- /**
838
- * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
839
- *
840
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
841
- *
842
- * 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.
843
- *
844
- * @chrome-returns-extra since Chrome 111
845
- * @param name Optional name to identify this alarm. Defaults to the empty string.
846
- * @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`.
847
- */
848
- export function create(
849
-
850
- name: string,
851
-
852
- alarmInfo: AlarmCreateInfo,
853
- ): Promise<void>;
854
-
855
- /**
856
- * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
857
- *
858
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
859
- *
860
- * 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.
861
- *
862
- * @chrome-returns-extra since Chrome 111
863
- * @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`.
864
- */
865
- export function create(
866
-
867
- alarmInfo: AlarmCreateInfo,
868
- ): Promise<void>;
869
-
870
- /**
871
- * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
872
- *
873
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
874
- *
875
- * 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.
876
- *
877
- * @param name Optional name to identify this alarm. Defaults to the empty string.
878
- * @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`.
879
- * @param callback Invoked when the alarm has been created.
880
- */
881
- export function create(
882
-
883
- name: string,
884
-
885
- alarmInfo: AlarmCreateInfo,
886
-
887
- /**
888
- * @since Chrome 111
889
- */
890
- callback?: () => void,
891
- ): void;
892
-
893
- /**
894
- * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
895
- *
896
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
897
- *
898
- * 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.
899
- *
900
- * @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`.
901
- * @param callback Invoked when the alarm has been created.
902
- */
903
- export function create(
904
-
905
- alarmInfo: AlarmCreateInfo,
906
-
907
- /**
908
- * @since Chrome 111
909
- */
910
- callback?: () => void,
911
- ): void;
912
-
913
- /**
914
- * Retrieves details about the specified alarm.
915
- *
916
- * @chrome-returns-extra since Chrome 91
917
- * @param name The name of the alarm to get. Defaults to the empty string.
918
- */
919
- export function get(
920
-
921
- name?: string,
922
- ): Promise<Alarm | undefined>;
923
-
924
- /**
925
- * Retrieves details about the specified alarm.
926
- *
927
- * @param name The name of the alarm to get. Defaults to the empty string.
928
- */
929
- export function get(
930
-
931
- name?: string,
932
-
933
- callback?: (
934
- alarm?: Alarm,
935
- ) => void,
936
- ): void;
937
-
938
- /**
939
- * Gets an array of all the alarms.
940
- *
941
- * @chrome-returns-extra since Chrome 91
942
- */
943
- export function getAll(): Promise<Alarm[]>;
944
-
945
- /**
946
- * Gets an array of all the alarms.
947
- */
948
- export function getAll(
949
-
950
- callback?: (
951
- alarms: Alarm[],
952
- ) => void,
953
- ): void;
954
-
955
- /**
956
- * Clears the alarm with the given name.
957
- *
958
- * @chrome-returns-extra since Chrome 91
959
- * @param name The name of the alarm to clear. Defaults to the empty string.
960
- */
961
- export function clear(
962
-
963
- name?: string,
964
- ): Promise<boolean>;
965
-
966
- /**
967
- * Clears the alarm with the given name.
968
- *
969
- * @param name The name of the alarm to clear. Defaults to the empty string.
970
- */
971
- export function clear(
972
-
973
- name?: string,
974
-
975
- callback?: (
976
- wasCleared: boolean,
977
- ) => void,
978
- ): void;
979
-
980
- /**
981
- * Clears all alarms.
982
- *
983
- * @chrome-returns-extra since Chrome 91
984
- */
985
- export function clearAll(): Promise<boolean>;
986
-
987
- /**
988
- * Clears all alarms.
989
- */
990
- export function clearAll(
991
-
992
- callback?: (
993
- wasCleared: boolean,
994
- ) => void,
995
- ): void;
996
- }
997
-
998
787
  /**
999
788
  * The `chrome.audio` API is provided to allow users to get information about and control the audio devices attached to the system. This API is currently only available in kiosk mode for ChromeOS.
1000
789
  *
@@ -6279,7 +6068,7 @@ declare namespace chrome {
6279
6068
  }
6280
6069
 
6281
6070
  /**
6282
- * Represents a panel created by extension.
6071
+ * Represents a panel created by an extension.
6283
6072
  */
6284
6073
  export interface ExtensionPanel {
6285
6074
 
@@ -6318,6 +6107,13 @@ declare namespace chrome {
6318
6107
 
6319
6108
  disabled: boolean,
6320
6109
  ): Button;
6110
+
6111
+ /**
6112
+ * Shows the panel by activating the corresponding tab.
6113
+ *
6114
+ * @since Pending
6115
+ */
6116
+ show(): void;
6321
6117
  }
6322
6118
 
6323
6119
  /**
@@ -9478,7 +9274,7 @@ declare namespace chrome {
9478
9274
  export type ImageFormat = "jpeg" | "png";
9479
9275
 
9480
9276
  /**
9481
- * Details about the format and quality of an image.
9277
+ * Details about the format, quality, and area of an image.
9482
9278
  */
9483
9279
  export interface ImageDetails {
9484
9280
 
@@ -14713,10 +14509,6 @@ declare namespace chrome {
14713
14509
  * @alpha
14714
14510
  * @chrome-permission mdns
14715
14511
  * @chrome-channel dev
14716
- * @chrome-platform chromeos
14717
- * @chrome-platform linux
14718
- * @chrome-platform mac
14719
- * @chrome-platform win
14720
14512
  */
14721
14513
  export namespace mdns {
14722
14514
 
@@ -18581,6 +18373,7 @@ declare namespace chrome {
18581
18373
  /**
18582
18374
  * The types of the browser processes.
18583
18375
  *
18376
+ * @chrome-enum "worker" Obsolete, will never be returned.
18584
18377
  * @chrome-enum "service\_worker" Obsolete, will never be returned.
18585
18378
  */
18586
18379
  export type ProcessType = "browser" | "renderer" | "extension" | "notification" | "plugin" | "worker" | "nacl" | "service_worker" | "utility" | "gpu" | "other";
@@ -18847,10 +18640,6 @@ declare namespace chrome {
18847
18640
  * Use the `chrome.proxy` API to manage Chrome's proxy settings. This API relies on the [ChromeSetting prototype of the type API](https://developer.chrome.com/docs/extensions/reference/api/types#type-ChromeSetting) for getting and setting the proxy configuration.
18848
18641
  *
18849
18642
  * @chrome-permission proxy
18850
- * @chrome-platform chromeos
18851
- * @chrome-platform linux
18852
- * @chrome-platform mac
18853
- * @chrome-platform win
18854
18643
  */
18855
18644
  export namespace proxy {
18856
18645
 
@@ -19360,10 +19149,9 @@ declare namespace chrome {
19360
19149
  * @chrome-enum "x86-64" Specifies the native client architecture as x86-64.
19361
19150
  * @chrome-enum "mips" Specifies the native client architecture as mips.
19362
19151
  * @chrome-enum "mips64" Specifies the native client architecture as mips64.
19363
- * @chrome-enum "riscv64" Specifies the native client architecture as riscv64.
19364
19152
  * @since Chrome 44
19365
19153
  */
19366
- export type PlatformNaclArch = "arm" | "x86-32" | "x86-64" | "mips" | "mips64" | "riscv64";
19154
+ export type PlatformNaclArch = "arm" | "x86-32" | "x86-64" | "mips" | "mips64";
19367
19155
 
19368
19156
  /**
19369
19157
  * An object containing information about the current platform.
@@ -19383,7 +19171,7 @@ declare namespace chrome {
19383
19171
  /**
19384
19172
  * The native client architecture. This may be different from arch on some platforms.
19385
19173
  */
19386
- nacl_arch: PlatformNaclArch;
19174
+ nacl_arch?: PlatformNaclArch;
19387
19175
  }
19388
19176
 
19389
19177
  /**
@@ -22432,7 +22220,7 @@ declare namespace chrome {
22432
22220
  ): void;
22433
22221
 
22434
22222
  /**
22435
- * Sets the desired access level for the storage area. By default, `session` storage is restricted to trusted contexts (extension pages and service workers), while `local` and `sync` storage allow access from both trusted and untrusted contexts.
22223
+ * Sets the desired access level for the storage area. By default, `session` storage is restricted to trusted contexts (extension pages and service workers), while `managed`, `local`, and `sync` storage allow access from both trusted and untrusted contexts.
22436
22224
  *
22437
22225
  * @since Chrome 102
22438
22226
  */
@@ -22448,7 +22236,7 @@ declare namespace chrome {
22448
22236
  ): Promise<void>;
22449
22237
 
22450
22238
  /**
22451
- * Sets the desired access level for the storage area. By default, `session` storage is restricted to trusted contexts (extension pages and service workers), while `local` and `sync` storage allow access from both trusted and untrusted contexts.
22239
+ * Sets the desired access level for the storage area. By default, `session` storage is restricted to trusted contexts (extension pages and service workers), while `managed`, `local`, and `sync` storage allow access from both trusted and untrusted contexts.
22452
22240
  *
22453
22241
  * @param callback Callback on success, or on failure (in which case {@link runtime.lastError} will be set).
22454
22242
  * @since Chrome 102
@@ -24347,6 +24135,13 @@ declare namespace chrome {
24347
24135
  */
24348
24136
  groupId?: number,
24349
24137
 
24138
+ /**
24139
+ * The tab's new Split View.
24140
+ *
24141
+ * @since Pending
24142
+ */
24143
+ splitViewId?: number,
24144
+
24350
24145
  /**
24351
24146
  * The tab's new pinned state.
24352
24147
  */
@@ -24874,6 +24669,13 @@ declare namespace chrome {
24874
24669
  */
24875
24670
  groupId?: number,
24876
24671
 
24672
+ /**
24673
+ * The ID of the Split View that the tabs are in, or {@link tabs.SPLIT_TAB_ID_NONE} for tabs that aren't in a Split View.
24674
+ *
24675
+ * @since Pending
24676
+ */
24677
+ splitViewId?: number,
24678
+
24877
24679
  /**
24878
24680
  * The ID of the parent window, or {@link windows.WINDOW_ID_CURRENT} for the [current window](https://developer.chrome.com/docs/extensions/reference/windows/#current-window).
24879
24681
  */
@@ -24980,6 +24782,13 @@ declare namespace chrome {
24980
24782
  */
24981
24783
  groupId?: number,
24982
24784
 
24785
+ /**
24786
+ * The ID of the Split View that the tabs are in, or {@link tabs.SPLIT_TAB_ID_NONE} for tabs that aren't in a Split View.
24787
+ *
24788
+ * @since Pending
24789
+ */
24790
+ splitViewId?: number,
24791
+
24983
24792
  /**
24984
24793
  * The ID of the parent window, or {@link windows.WINDOW_ID_CURRENT} for the [current window](https://developer.chrome.com/docs/extensions/reference/windows/#current-window).
24985
24794
  */
@@ -28334,9 +28143,10 @@ declare namespace chrome {
28334
28143
  * @since Chrome 115
28335
28144
  * @chrome-permission webAuthenticationProxy
28336
28145
  * @chrome-min-manifest MV3
28337
- * @chrome-platform win
28146
+ * @chrome-platform desktop_android
28338
28147
  * @chrome-platform linux
28339
28148
  * @chrome-platform mac
28149
+ * @chrome-platform win
28340
28150
  */
28341
28151
  export namespace webAuthenticationProxy {
28342
28152
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "d6d7aec16926a074"
8
+ "build-hash": "8cf54701d8da01d1"
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.361"
19
+ "version": "0.1.363"
20
20
  }