chrome-types 0.1.387 → 0.1.389
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.
- package/_all.d.ts +27 -6
- package/index.d.ts +27 -6
- 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
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Tue Nov 18 2025 22:34:14 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 9df7cf391ea739bf580164ed3748aeb62737359f
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -10229,6 +10229,15 @@ declare namespace chrome {
|
|
|
10229
10229
|
): void;
|
|
10230
10230
|
}
|
|
10231
10231
|
|
|
10232
|
+
/**
|
|
10233
|
+
* Theme used by DevTools.
|
|
10234
|
+
*
|
|
10235
|
+
* @chrome-enum "default" Default DevTools theme. This is always the light theme.
|
|
10236
|
+
* @chrome-enum "dark" Dark theme.
|
|
10237
|
+
* @since Chrome 99
|
|
10238
|
+
*/
|
|
10239
|
+
export type Theme = "default" | "dark";
|
|
10240
|
+
|
|
10232
10241
|
/**
|
|
10233
10242
|
* Elements panel.
|
|
10234
10243
|
*/
|
|
@@ -10308,6 +10317,22 @@ declare namespace chrome {
|
|
|
10308
10317
|
|
|
10309
10318
|
callback?: () => void,
|
|
10310
10319
|
): void;
|
|
10320
|
+
|
|
10321
|
+
/**
|
|
10322
|
+
* Specifies the function to be called when the current theme changes in DevTools. To unset the handler, either call the method with no parameters or pass `null` as the parameter.
|
|
10323
|
+
*
|
|
10324
|
+
* @param callback A function that is called when the current theme changes in DevTools.
|
|
10325
|
+
* @since Chrome 99
|
|
10326
|
+
*/
|
|
10327
|
+
export function setThemeChangeHandler(
|
|
10328
|
+
|
|
10329
|
+
/**
|
|
10330
|
+
* @param theme Current theme in DevTools.
|
|
10331
|
+
*/
|
|
10332
|
+
callback?: (
|
|
10333
|
+
theme: Theme,
|
|
10334
|
+
) => void,
|
|
10335
|
+
): void;
|
|
10311
10336
|
}
|
|
10312
10337
|
|
|
10313
10338
|
/**
|
|
@@ -30526,10 +30551,6 @@ declare namespace chrome {
|
|
|
30526
30551
|
* Use the `chrome.tabCapture` API to interact with tab media streams.
|
|
30527
30552
|
*
|
|
30528
30553
|
* @chrome-permission tabCapture
|
|
30529
|
-
* @chrome-platform chromeos
|
|
30530
|
-
* @chrome-platform linux
|
|
30531
|
-
* @chrome-platform mac
|
|
30532
|
-
* @chrome-platform win
|
|
30533
30554
|
*/
|
|
30534
30555
|
export namespace tabCapture {
|
|
30535
30556
|
|
package/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Tue Nov 18 2025 22:34:10 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 9df7cf391ea739bf580164ed3748aeb62737359f
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -6425,6 +6425,15 @@ declare namespace chrome {
|
|
|
6425
6425
|
): void;
|
|
6426
6426
|
}
|
|
6427
6427
|
|
|
6428
|
+
/**
|
|
6429
|
+
* Theme used by DevTools.
|
|
6430
|
+
*
|
|
6431
|
+
* @chrome-enum "default" Default DevTools theme. This is always the light theme.
|
|
6432
|
+
* @chrome-enum "dark" Dark theme.
|
|
6433
|
+
* @since Chrome 99
|
|
6434
|
+
*/
|
|
6435
|
+
export type Theme = "default" | "dark";
|
|
6436
|
+
|
|
6428
6437
|
/**
|
|
6429
6438
|
* Elements panel.
|
|
6430
6439
|
*/
|
|
@@ -6504,6 +6513,22 @@ declare namespace chrome {
|
|
|
6504
6513
|
|
|
6505
6514
|
callback?: () => void,
|
|
6506
6515
|
): void;
|
|
6516
|
+
|
|
6517
|
+
/**
|
|
6518
|
+
* Specifies the function to be called when the current theme changes in DevTools. To unset the handler, either call the method with no parameters or pass `null` as the parameter.
|
|
6519
|
+
*
|
|
6520
|
+
* @param callback A function that is called when the current theme changes in DevTools.
|
|
6521
|
+
* @since Chrome 99
|
|
6522
|
+
*/
|
|
6523
|
+
export function setThemeChangeHandler(
|
|
6524
|
+
|
|
6525
|
+
/**
|
|
6526
|
+
* @param theme Current theme in DevTools.
|
|
6527
|
+
*/
|
|
6528
|
+
callback?: (
|
|
6529
|
+
theme: Theme,
|
|
6530
|
+
) => void,
|
|
6531
|
+
): void;
|
|
6507
6532
|
}
|
|
6508
6533
|
|
|
6509
6534
|
/**
|
|
@@ -21690,10 +21715,6 @@ declare namespace chrome {
|
|
|
21690
21715
|
* Use the `chrome.tabCapture` API to interact with tab media streams.
|
|
21691
21716
|
*
|
|
21692
21717
|
* @chrome-permission tabCapture
|
|
21693
|
-
* @chrome-platform chromeos
|
|
21694
|
-
* @chrome-platform linux
|
|
21695
|
-
* @chrome-platform mac
|
|
21696
|
-
* @chrome-platform win
|
|
21697
21718
|
*/
|
|
21698
21719
|
export namespace tabCapture {
|
|
21699
21720
|
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"name": "chrome-types",
|
|
7
7
|
"config": {
|
|
8
|
-
"build-hash": "
|
|
8
|
+
"build-hash": "19a7d88395b50b53"
|
|
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.
|
|
19
|
+
"version": "0.1.389"
|
|
20
20
|
}
|