chrome-types 0.1.377 → 0.1.379

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 +34 -13
  2. package/index.d.ts +27 -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 Wed Sep 17 2025 22:33:05 GMT+0000 (Coordinated Universal Time)
18
- // Built at 8371ad7bb8fe4359a4515e60de1700fd77516384
17
+ // Generated on Thu Sep 25 2025 22:31:57 GMT+0000 (Coordinated Universal Time)
18
+ // Built at f738486f78066595f876232b5568b8d9c3be6d66
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -6419,7 +6419,7 @@ declare namespace chrome {
6419
6419
  export type MultipleAutomaticDownloadsContentSetting = "allow" | "block" | "ask";
6420
6420
 
6421
6421
  /**
6422
- * @since Pending
6422
+ * @since Chrome 141
6423
6423
  */
6424
6424
  export type SoundContentSetting = "allow" | "block";
6425
6425
 
@@ -26649,7 +26649,7 @@ declare namespace chrome {
26649
26649
  }
26650
26650
 
26651
26651
  /**
26652
- * @since Pending
26652
+ * @since Chrome 141
26653
26653
  */
26654
26654
  export interface CloseOptions {
26655
26655
 
@@ -26665,7 +26665,7 @@ declare namespace chrome {
26665
26665
  }
26666
26666
 
26667
26667
  /**
26668
- * @since Pending
26668
+ * @since Chrome 141
26669
26669
  */
26670
26670
  export interface PanelOpenedInfo {
26671
26671
 
@@ -26685,10 +26685,31 @@ declare namespace chrome {
26685
26685
  path: string;
26686
26686
  }
26687
26687
 
26688
+ /**
26689
+ * @since Pending
26690
+ */
26691
+ export interface PanelClosedInfo {
26692
+
26693
+ /**
26694
+ * The ID of the window where the side panel was closed. This is available for both global and tab-specific panels.
26695
+ */
26696
+ windowId: number;
26697
+
26698
+ /**
26699
+ * The optional ID of the tab where the side panel was closed. This is provided only when the panel is tab-specific.
26700
+ */
26701
+ tabId?: number;
26702
+
26703
+ /**
26704
+ * The path of the local resource within the extension package whose content is displayed in the panel.
26705
+ */
26706
+ path: string;
26707
+ }
26708
+
26688
26709
  /**
26689
26710
  * Fired when the extension's side panel is opened.
26690
26711
  *
26691
- * @since Pending
26712
+ * @since Chrome 141
26692
26713
  */
26693
26714
  export const onOpened: events.Event<(
26694
26715
  info: PanelOpenedInfo,
@@ -38786,42 +38807,42 @@ declare namespace chrome {
38786
38807
  /**
38787
38808
  * 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`.
38788
38809
  *
38789
- * @since Pending
38810
+ * @since Chrome 141
38790
38811
  */
38791
38812
  export type StopFindingAction = "clear" | "keep" | "activate";
38792
38813
 
38793
38814
  /**
38794
38815
  * The type of modal dialog requested by the guest.
38795
38816
  *
38796
- * @since Pending
38817
+ * @since Chrome 141
38797
38818
  */
38798
38819
  export type DialogMessageType = "alert" | "confirm" | "prompt";
38799
38820
 
38800
38821
  /**
38801
38822
  * String indicating the reason for the exit.
38802
38823
  *
38803
- * @since Pending
38824
+ * @since Chrome 141
38804
38825
  */
38805
38826
  export type ExitReason = "normal" | "abnormal" | "crashed" | "killed" | "oom killed" | "oom" | "failed to launch" | "integrity failure";
38806
38827
 
38807
38828
  /**
38808
38829
  * 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.
38809
38830
  *
38810
- * @since Pending
38831
+ * @since Chrome 141
38811
38832
  */
38812
38833
  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";
38813
38834
 
38814
38835
  /**
38815
38836
  * The requested disposition of the new window.
38816
38837
  *
38817
- * @since Pending
38838
+ * @since Chrome 141
38818
38839
  */
38819
38840
  export type WindowOpenDisposition = "ignore" | "save_to_disk" | "current_tab" | "new_background_tab" | "new_foreground_tab" | "new_window" | "new_popup";
38820
38841
 
38821
38842
  /**
38822
38843
  * The type of permission being requested.
38823
38844
  *
38824
- * @since Pending
38845
+ * @since Chrome 141
38825
38846
  */
38826
38847
  export type PermissionType = "media" | "geolocation" | "pointerLock" | "download" | "loadplugin" | "filesystem" | "fullscreen" | "hid";
38827
38848
 
@@ -38914,7 +38935,7 @@ declare namespace chrome {
38914
38935
  */
38915
38936
  export const exit: events.Event<(
38916
38937
  /**
38917
- * @since Pending
38938
+ * @since Chrome 141
38918
38939
  */
38919
38940
  details: {
38920
38941
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Wed Sep 17 2025 22:33:00 GMT+0000 (Coordinated Universal Time)
18
- // Built at 8371ad7bb8fe4359a4515e60de1700fd77516384
17
+ // Generated on Thu Sep 25 2025 22:31:52 GMT+0000 (Coordinated Universal Time)
18
+ // Built at f738486f78066595f876232b5568b8d9c3be6d66
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -3171,7 +3171,7 @@ declare namespace chrome {
3171
3171
  export type MultipleAutomaticDownloadsContentSetting = "allow" | "block" | "ask";
3172
3172
 
3173
3173
  /**
3174
- * @since Pending
3174
+ * @since Chrome 141
3175
3175
  */
3176
3176
  export type SoundContentSetting = "allow" | "block";
3177
3177
 
@@ -20765,7 +20765,7 @@ declare namespace chrome {
20765
20765
  }
20766
20766
 
20767
20767
  /**
20768
- * @since Pending
20768
+ * @since Chrome 141
20769
20769
  */
20770
20770
  export interface CloseOptions {
20771
20771
 
@@ -20781,7 +20781,7 @@ declare namespace chrome {
20781
20781
  }
20782
20782
 
20783
20783
  /**
20784
- * @since Pending
20784
+ * @since Chrome 141
20785
20785
  */
20786
20786
  export interface PanelOpenedInfo {
20787
20787
 
@@ -20801,10 +20801,31 @@ declare namespace chrome {
20801
20801
  path: string;
20802
20802
  }
20803
20803
 
20804
+ /**
20805
+ * @since Pending
20806
+ */
20807
+ export interface PanelClosedInfo {
20808
+
20809
+ /**
20810
+ * The ID of the window where the side panel was closed. This is available for both global and tab-specific panels.
20811
+ */
20812
+ windowId: number;
20813
+
20814
+ /**
20815
+ * The optional ID of the tab where the side panel was closed. This is provided only when the panel is tab-specific.
20816
+ */
20817
+ tabId?: number;
20818
+
20819
+ /**
20820
+ * The path of the local resource within the extension package whose content is displayed in the panel.
20821
+ */
20822
+ path: string;
20823
+ }
20824
+
20804
20825
  /**
20805
20826
  * Fired when the extension's side panel is opened.
20806
20827
  *
20807
- * @since Pending
20828
+ * @since Chrome 141
20808
20829
  */
20809
20830
  export const onOpened: events.Event<(
20810
20831
  info: PanelOpenedInfo,
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "fe073f2ebb4d9a3e"
8
+ "build-hash": "eb84b7e98d8e50b2"
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.377"
19
+ "version": "0.1.379"
20
20
  }