chrome-types 0.1.439 → 0.1.441
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 +87 -24
- package/index.d.ts +87 -24
- 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 Sep 01 2026 16:00:39 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at bd9e2eed8facaa47577e40cf01edbcfb8f920975
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -24629,6 +24629,69 @@ declare namespace chrome {
|
|
|
24629
24629
|
) => void>;
|
|
24630
24630
|
}
|
|
24631
24631
|
|
|
24632
|
+
/**
|
|
24633
|
+
* Use the `chrome.publicSuffix` API to query the browser's Public Suffix List (PSL).
|
|
24634
|
+
*
|
|
24635
|
+
* @since Chrome 153
|
|
24636
|
+
* @chrome-permission publicSuffix
|
|
24637
|
+
*/
|
|
24638
|
+
export namespace publicSuffix {
|
|
24639
|
+
|
|
24640
|
+
/**
|
|
24641
|
+
* The encoding to use for returned domains.
|
|
24642
|
+
*/
|
|
24643
|
+
export type DomainEncoding = "punycode" | "display";
|
|
24644
|
+
|
|
24645
|
+
export interface DomainOptions {
|
|
24646
|
+
|
|
24647
|
+
/**
|
|
24648
|
+
* The encoding to use for the returned domain. Defaults to "punycode", but pass "display" if displaying the domain to the user. Generally, "display" will use Unicode, except in cases where that would be unsafe due to ["Unicode confusables"](https://www.unicode.org/reports/tr39/#Confusable_Detection).
|
|
24649
|
+
*/
|
|
24650
|
+
encoding?: DomainEncoding;
|
|
24651
|
+
|
|
24652
|
+
/**
|
|
24653
|
+
* Whether IP addresses may be returned as domains. Defaults to false. Note: When allowed, IP addresses are returned without being looked up in the Public Suffix List.
|
|
24654
|
+
*/
|
|
24655
|
+
allowIPAddress?: boolean;
|
|
24656
|
+
|
|
24657
|
+
/**
|
|
24658
|
+
* Whether known public suffixes may be returned as domains. Defaults to false.
|
|
24659
|
+
*/
|
|
24660
|
+
allowPlainSuffix?: boolean;
|
|
24661
|
+
|
|
24662
|
+
/**
|
|
24663
|
+
* Whether unknown TLDs should be considered as a public suffix. For example, for non-public hostnames like `printer.internal-network`. Defaults to false.
|
|
24664
|
+
*/
|
|
24665
|
+
allowUnknownSuffix?: boolean;
|
|
24666
|
+
}
|
|
24667
|
+
|
|
24668
|
+
/**
|
|
24669
|
+
* Determines whether `hostname` is itself a known public suffix.
|
|
24670
|
+
*/
|
|
24671
|
+
export function isKnownSuffix(
|
|
24672
|
+
|
|
24673
|
+
hostname: string,
|
|
24674
|
+
): boolean;
|
|
24675
|
+
|
|
24676
|
+
/**
|
|
24677
|
+
* Gets the known public suffix for `hostname`, if any.
|
|
24678
|
+
*/
|
|
24679
|
+
export function getKnownSuffix(
|
|
24680
|
+
|
|
24681
|
+
hostname: string,
|
|
24682
|
+
): string | undefined;
|
|
24683
|
+
|
|
24684
|
+
/**
|
|
24685
|
+
* Gets the registrable domain for `hostname`, if any.
|
|
24686
|
+
*/
|
|
24687
|
+
export function getDomain(
|
|
24688
|
+
|
|
24689
|
+
hostname: string,
|
|
24690
|
+
|
|
24691
|
+
options?: DomainOptions,
|
|
24692
|
+
): string | undefined;
|
|
24693
|
+
}
|
|
24694
|
+
|
|
24632
24695
|
/**
|
|
24633
24696
|
* Use the `chrome.readingList` API to read from and modify the items in the [Reading List](https://support.google.com/chrome/answer/7343019).
|
|
24634
24697
|
*
|
|
@@ -25537,7 +25600,7 @@ declare namespace chrome {
|
|
|
25537
25600
|
/**
|
|
25538
25601
|
* Connects to a native application in the host machine. This method requires the `"nativeMessaging"` permission. See [Native Messaging](https://developer.chrome.com/extensions/develop/concepts/native-messaging) for more information.
|
|
25539
25602
|
*
|
|
25540
|
-
* @param application The name of the registered application to connect to.
|
|
25603
|
+
* @param application The name of the registered application to connect to, or target details.
|
|
25541
25604
|
* @returns Port through which messages can be sent and received with the application
|
|
25542
25605
|
* @chrome-permission nativeMessaging
|
|
25543
25606
|
* @chrome-platform chromeos
|
|
@@ -25652,7 +25715,7 @@ declare namespace chrome {
|
|
|
25652
25715
|
* Send a single message to a native application. This method requires the `"nativeMessaging"` permission.
|
|
25653
25716
|
*
|
|
25654
25717
|
* @chrome-returns-extra since Chrome 99
|
|
25655
|
-
* @param application The name of the native messaging host.
|
|
25718
|
+
* @param application The name of the native messaging host, or target details.
|
|
25656
25719
|
* @param message The message that will be passed to the native messaging host.
|
|
25657
25720
|
* @chrome-permission nativeMessaging
|
|
25658
25721
|
* @chrome-platform chromeos
|
|
@@ -25670,7 +25733,7 @@ declare namespace chrome {
|
|
|
25670
25733
|
/**
|
|
25671
25734
|
* Send a single message to a native application. This method requires the `"nativeMessaging"` permission.
|
|
25672
25735
|
*
|
|
25673
|
-
* @param application The name of the native messaging host.
|
|
25736
|
+
* @param application The name of the native messaging host, or target details.
|
|
25674
25737
|
* @param message The message that will be passed to the native messaging host.
|
|
25675
25738
|
* @chrome-permission nativeMessaging
|
|
25676
25739
|
* @chrome-platform chromeos
|
|
@@ -30194,7 +30257,7 @@ declare namespace chrome {
|
|
|
30194
30257
|
name: string;
|
|
30195
30258
|
|
|
30196
30259
|
/**
|
|
30197
|
-
* NOTE: This is only available to ChromeOS Kiosk apps
|
|
30260
|
+
* NOTE: This is only available to ChromeOS Kiosk apps.
|
|
30198
30261
|
*
|
|
30199
30262
|
* @since Chrome 67
|
|
30200
30263
|
*/
|
|
@@ -30432,7 +30495,7 @@ declare namespace chrome {
|
|
|
30432
30495
|
): void;
|
|
30433
30496
|
|
|
30434
30497
|
/**
|
|
30435
|
-
*
|
|
30498
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Requests the layout info for all displays.
|
|
30436
30499
|
*
|
|
30437
30500
|
* @chrome-returns-extra since Chrome 91
|
|
30438
30501
|
* @returns Promise that resolves with the results.
|
|
@@ -30441,7 +30504,7 @@ declare namespace chrome {
|
|
|
30441
30504
|
export function getDisplayLayout(): Promise<DisplayLayout[]>;
|
|
30442
30505
|
|
|
30443
30506
|
/**
|
|
30444
|
-
*
|
|
30507
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Requests the layout info for all displays.
|
|
30445
30508
|
*
|
|
30446
30509
|
* @since Chrome 53
|
|
30447
30510
|
*/
|
|
@@ -30453,7 +30516,7 @@ declare namespace chrome {
|
|
|
30453
30516
|
): void;
|
|
30454
30517
|
|
|
30455
30518
|
/**
|
|
30456
|
-
* Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set.
|
|
30519
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set.
|
|
30457
30520
|
*
|
|
30458
30521
|
* @chrome-returns-extra since Chrome 91
|
|
30459
30522
|
* @param id The display's unique identifier.
|
|
@@ -30468,7 +30531,7 @@ declare namespace chrome {
|
|
|
30468
30531
|
): Promise<void>;
|
|
30469
30532
|
|
|
30470
30533
|
/**
|
|
30471
|
-
* Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set.
|
|
30534
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set.
|
|
30472
30535
|
*
|
|
30473
30536
|
* @param id The display's unique identifier.
|
|
30474
30537
|
* @param info The information about display properties that should be changed. A property will be changed only if a new value for it is specified in `info`.
|
|
@@ -30483,7 +30546,7 @@ declare namespace chrome {
|
|
|
30483
30546
|
): void;
|
|
30484
30547
|
|
|
30485
30548
|
/**
|
|
30486
|
-
* Set the layout for all displays. Any display not included will use the default layout. If a layout would overlap or be otherwise invalid it will be adjusted to a valid layout. After layout is resolved, an onDisplayChanged event will be triggered.
|
|
30549
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Set the layout for all displays. Any display not included will use the default layout. If a layout would overlap or be otherwise invalid it will be adjusted to a valid layout. After layout is resolved, an onDisplayChanged event will be triggered.
|
|
30487
30550
|
*
|
|
30488
30551
|
* @chrome-returns-extra since Chrome 91
|
|
30489
30552
|
* @param layouts The layout information, required for all displays except the primary display.
|
|
@@ -30496,7 +30559,7 @@ declare namespace chrome {
|
|
|
30496
30559
|
): Promise<void>;
|
|
30497
30560
|
|
|
30498
30561
|
/**
|
|
30499
|
-
* Set the layout for all displays. Any display not included will use the default layout. If a layout would overlap or be otherwise invalid it will be adjusted to a valid layout. After layout is resolved, an onDisplayChanged event will be triggered.
|
|
30562
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Set the layout for all displays. Any display not included will use the default layout. If a layout would overlap or be otherwise invalid it will be adjusted to a valid layout. After layout is resolved, an onDisplayChanged event will be triggered.
|
|
30500
30563
|
*
|
|
30501
30564
|
* @param layouts The layout information, required for all displays except the primary display.
|
|
30502
30565
|
* @since Chrome 53
|
|
@@ -30509,7 +30572,7 @@ declare namespace chrome {
|
|
|
30509
30572
|
): void;
|
|
30510
30573
|
|
|
30511
30574
|
/**
|
|
30512
|
-
* Enables/disables the unified desktop feature. If enabled while mirroring is active, the desktop mode will not change until mirroring is turned off. Otherwise, the desktop mode will switch to unified immediately.
|
|
30575
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Enables/disables the unified desktop feature. If enabled while mirroring is active, the desktop mode will not change until mirroring is turned off. Otherwise, the desktop mode will switch to unified immediately.
|
|
30513
30576
|
*
|
|
30514
30577
|
* @param enabled True if unified desktop should be enabled.
|
|
30515
30578
|
* @since Chrome 46
|
|
@@ -30520,7 +30583,7 @@ declare namespace chrome {
|
|
|
30520
30583
|
): void;
|
|
30521
30584
|
|
|
30522
30585
|
/**
|
|
30523
|
-
* Starts overscan calibration for a display. This will show an overlay on the screen indicating the current overscan insets. If overscan calibration for display `id` is in progress this will reset calibration.
|
|
30586
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Starts overscan calibration for a display. This will show an overlay on the screen indicating the current overscan insets. If overscan calibration for display `id` is in progress this will reset calibration.
|
|
30524
30587
|
*
|
|
30525
30588
|
* @param id The display's unique identifier.
|
|
30526
30589
|
* @since Chrome 53
|
|
@@ -30531,7 +30594,7 @@ declare namespace chrome {
|
|
|
30531
30594
|
): void;
|
|
30532
30595
|
|
|
30533
30596
|
/**
|
|
30534
|
-
* Adjusts the current overscan insets for a display. Typically this should either move the display along an axis (e.g. left+right have the same value) or scale it along an axis (e.g. top+bottom have opposite values). Each Adjust call is cumulative with previous calls since Start.
|
|
30597
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Adjusts the current overscan insets for a display. Typically this should either move the display along an axis (e.g. left+right have the same value) or scale it along an axis (e.g. top+bottom have opposite values). Each Adjust call is cumulative with previous calls since Start.
|
|
30535
30598
|
*
|
|
30536
30599
|
* @param id The display's unique identifier.
|
|
30537
30600
|
* @param delta The amount to change the overscan insets.
|
|
@@ -30545,7 +30608,7 @@ declare namespace chrome {
|
|
|
30545
30608
|
): void;
|
|
30546
30609
|
|
|
30547
30610
|
/**
|
|
30548
|
-
* Resets the overscan insets for a display to the last saved value (i.e before Start was called).
|
|
30611
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Resets the overscan insets for a display to the last saved value (i.e before Start was called).
|
|
30549
30612
|
*
|
|
30550
30613
|
* @param id The display's unique identifier.
|
|
30551
30614
|
* @since Chrome 53
|
|
@@ -30556,7 +30619,7 @@ declare namespace chrome {
|
|
|
30556
30619
|
): void;
|
|
30557
30620
|
|
|
30558
30621
|
/**
|
|
30559
|
-
* Complete overscan adjustments for a display by saving the current values and hiding the overlay.
|
|
30622
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Complete overscan adjustments for a display by saving the current values and hiding the overlay.
|
|
30560
30623
|
*
|
|
30561
30624
|
* @param id The display's unique identifier.
|
|
30562
30625
|
* @since Chrome 53
|
|
@@ -30567,7 +30630,7 @@ declare namespace chrome {
|
|
|
30567
30630
|
): void;
|
|
30568
30631
|
|
|
30569
30632
|
/**
|
|
30570
|
-
* Displays the native touch calibration UX for the display with `id` as display id. This will show an overlay on the screen with required instructions on how to proceed. The callback will be invoked in case of successful calibration only. If the calibration fails, this will throw an error.
|
|
30633
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Displays the native touch calibration UX for the display with `id` as display id. This will show an overlay on the screen with required instructions on how to proceed. The callback will be invoked in case of successful calibration only. If the calibration fails, this will throw an error.
|
|
30571
30634
|
*
|
|
30572
30635
|
* @chrome-returns-extra since Chrome 91
|
|
30573
30636
|
* @param id The display's unique identifier.
|
|
@@ -30580,7 +30643,7 @@ declare namespace chrome {
|
|
|
30580
30643
|
): Promise<boolean>;
|
|
30581
30644
|
|
|
30582
30645
|
/**
|
|
30583
|
-
* Displays the native touch calibration UX for the display with `id` as display id. This will show an overlay on the screen with required instructions on how to proceed. The callback will be invoked in case of successful calibration only. If the calibration fails, this will throw an error.
|
|
30646
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Displays the native touch calibration UX for the display with `id` as display id. This will show an overlay on the screen with required instructions on how to proceed. The callback will be invoked in case of successful calibration only. If the calibration fails, this will throw an error.
|
|
30584
30647
|
*
|
|
30585
30648
|
* @param id The display's unique identifier.
|
|
30586
30649
|
* @since Chrome 57
|
|
@@ -30595,7 +30658,7 @@ declare namespace chrome {
|
|
|
30595
30658
|
): void;
|
|
30596
30659
|
|
|
30597
30660
|
/**
|
|
30598
|
-
* Starts custom touch calibration for a display. This should be called when using a custom UX for collecting calibration data. If another touch calibration is already in progress this will throw an error.
|
|
30661
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Starts custom touch calibration for a display. This should be called when using a custom UX for collecting calibration data. If another touch calibration is already in progress this will throw an error.
|
|
30599
30662
|
*
|
|
30600
30663
|
* @param id The display's unique identifier.
|
|
30601
30664
|
* @since Chrome 57
|
|
@@ -30606,7 +30669,7 @@ declare namespace chrome {
|
|
|
30606
30669
|
): void;
|
|
30607
30670
|
|
|
30608
30671
|
/**
|
|
30609
|
-
* Sets the touch calibration pairs for a display. These `pairs` would be used to calibrate the touch screen for display with `id` called in startCustomTouchCalibration(). Always call `startCustomTouchCalibration` before calling this method. If another touch calibration is already in progress this will throw an error.
|
|
30672
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Sets the touch calibration pairs for a display. These `pairs` would be used to calibrate the touch screen for display with `id` called in startCustomTouchCalibration(). Always call `startCustomTouchCalibration` before calling this method. If another touch calibration is already in progress this will throw an error.
|
|
30610
30673
|
*
|
|
30611
30674
|
* @param pairs The pairs of point used to calibrate the display.
|
|
30612
30675
|
* @param bounds Bounds of the display when the touch calibration was performed. `bounds.left` and `bounds.top` values are ignored.
|
|
@@ -30620,7 +30683,7 @@ declare namespace chrome {
|
|
|
30620
30683
|
): void;
|
|
30621
30684
|
|
|
30622
30685
|
/**
|
|
30623
|
-
* Resets the touch calibration for the display and brings it back to its default state by clearing any touch calibration data associated with the display.
|
|
30686
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Resets the touch calibration for the display and brings it back to its default state by clearing any touch calibration data associated with the display.
|
|
30624
30687
|
*
|
|
30625
30688
|
* @param id The display's unique identifier.
|
|
30626
30689
|
* @since Chrome 57
|
|
@@ -30631,7 +30694,7 @@ declare namespace chrome {
|
|
|
30631
30694
|
): void;
|
|
30632
30695
|
|
|
30633
30696
|
/**
|
|
30634
|
-
* Sets the display mode to the specified mirror mode. Each call resets the state from previous calls. Calling setDisplayProperties() will fail for the mirroring destination displays.
|
|
30697
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Sets the display mode to the specified mirror mode. Each call resets the state from previous calls. Calling setDisplayProperties() will fail for the mirroring destination displays.
|
|
30635
30698
|
*
|
|
30636
30699
|
* @chrome-returns-extra since Chrome 91
|
|
30637
30700
|
* @param info The information of the mirror mode that should be applied to the display mode.
|
|
@@ -30644,7 +30707,7 @@ declare namespace chrome {
|
|
|
30644
30707
|
): Promise<void>;
|
|
30645
30708
|
|
|
30646
30709
|
/**
|
|
30647
|
-
* Sets the display mode to the specified mirror mode. Each call resets the state from previous calls. Calling setDisplayProperties() will fail for the mirroring destination displays.
|
|
30710
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Sets the display mode to the specified mirror mode. Each call resets the state from previous calls. Calling setDisplayProperties() will fail for the mirroring destination displays.
|
|
30648
30711
|
*
|
|
30649
30712
|
* @param info The information of the mirror mode that should be applied to the display mode.
|
|
30650
30713
|
* @since Chrome 65
|
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 Sep 01 2026 16:00:35 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at bd9e2eed8facaa47577e40cf01edbcfb8f920975
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -17433,6 +17433,69 @@ declare namespace chrome {
|
|
|
17433
17433
|
) => void>;
|
|
17434
17434
|
}
|
|
17435
17435
|
|
|
17436
|
+
/**
|
|
17437
|
+
* Use the `chrome.publicSuffix` API to query the browser's Public Suffix List (PSL).
|
|
17438
|
+
*
|
|
17439
|
+
* @since Chrome 153
|
|
17440
|
+
* @chrome-permission publicSuffix
|
|
17441
|
+
*/
|
|
17442
|
+
export namespace publicSuffix {
|
|
17443
|
+
|
|
17444
|
+
/**
|
|
17445
|
+
* The encoding to use for returned domains.
|
|
17446
|
+
*/
|
|
17447
|
+
export type DomainEncoding = "punycode" | "display";
|
|
17448
|
+
|
|
17449
|
+
export interface DomainOptions {
|
|
17450
|
+
|
|
17451
|
+
/**
|
|
17452
|
+
* The encoding to use for the returned domain. Defaults to "punycode", but pass "display" if displaying the domain to the user. Generally, "display" will use Unicode, except in cases where that would be unsafe due to ["Unicode confusables"](https://www.unicode.org/reports/tr39/#Confusable_Detection).
|
|
17453
|
+
*/
|
|
17454
|
+
encoding?: DomainEncoding;
|
|
17455
|
+
|
|
17456
|
+
/**
|
|
17457
|
+
* Whether IP addresses may be returned as domains. Defaults to false. Note: When allowed, IP addresses are returned without being looked up in the Public Suffix List.
|
|
17458
|
+
*/
|
|
17459
|
+
allowIPAddress?: boolean;
|
|
17460
|
+
|
|
17461
|
+
/**
|
|
17462
|
+
* Whether known public suffixes may be returned as domains. Defaults to false.
|
|
17463
|
+
*/
|
|
17464
|
+
allowPlainSuffix?: boolean;
|
|
17465
|
+
|
|
17466
|
+
/**
|
|
17467
|
+
* Whether unknown TLDs should be considered as a public suffix. For example, for non-public hostnames like `printer.internal-network`. Defaults to false.
|
|
17468
|
+
*/
|
|
17469
|
+
allowUnknownSuffix?: boolean;
|
|
17470
|
+
}
|
|
17471
|
+
|
|
17472
|
+
/**
|
|
17473
|
+
* Determines whether `hostname` is itself a known public suffix.
|
|
17474
|
+
*/
|
|
17475
|
+
export function isKnownSuffix(
|
|
17476
|
+
|
|
17477
|
+
hostname: string,
|
|
17478
|
+
): boolean;
|
|
17479
|
+
|
|
17480
|
+
/**
|
|
17481
|
+
* Gets the known public suffix for `hostname`, if any.
|
|
17482
|
+
*/
|
|
17483
|
+
export function getKnownSuffix(
|
|
17484
|
+
|
|
17485
|
+
hostname: string,
|
|
17486
|
+
): string | undefined;
|
|
17487
|
+
|
|
17488
|
+
/**
|
|
17489
|
+
* Gets the registrable domain for `hostname`, if any.
|
|
17490
|
+
*/
|
|
17491
|
+
export function getDomain(
|
|
17492
|
+
|
|
17493
|
+
hostname: string,
|
|
17494
|
+
|
|
17495
|
+
options?: DomainOptions,
|
|
17496
|
+
): string | undefined;
|
|
17497
|
+
}
|
|
17498
|
+
|
|
17436
17499
|
/**
|
|
17437
17500
|
* Use the `chrome.readingList` API to read from and modify the items in the [Reading List](https://support.google.com/chrome/answer/7343019).
|
|
17438
17501
|
*
|
|
@@ -18330,7 +18393,7 @@ declare namespace chrome {
|
|
|
18330
18393
|
/**
|
|
18331
18394
|
* Connects to a native application in the host machine. This method requires the `"nativeMessaging"` permission. See [Native Messaging](https://developer.chrome.com/extensions/develop/concepts/native-messaging) for more information.
|
|
18332
18395
|
*
|
|
18333
|
-
* @param application The name of the registered application to connect to.
|
|
18396
|
+
* @param application The name of the registered application to connect to, or target details.
|
|
18334
18397
|
* @returns Port through which messages can be sent and received with the application
|
|
18335
18398
|
* @chrome-permission nativeMessaging
|
|
18336
18399
|
* @chrome-platform chromeos
|
|
@@ -18445,7 +18508,7 @@ declare namespace chrome {
|
|
|
18445
18508
|
* Send a single message to a native application. This method requires the `"nativeMessaging"` permission.
|
|
18446
18509
|
*
|
|
18447
18510
|
* @chrome-returns-extra since Chrome 99
|
|
18448
|
-
* @param application The name of the native messaging host.
|
|
18511
|
+
* @param application The name of the native messaging host, or target details.
|
|
18449
18512
|
* @param message The message that will be passed to the native messaging host.
|
|
18450
18513
|
* @chrome-permission nativeMessaging
|
|
18451
18514
|
* @chrome-platform chromeos
|
|
@@ -18463,7 +18526,7 @@ declare namespace chrome {
|
|
|
18463
18526
|
/**
|
|
18464
18527
|
* Send a single message to a native application. This method requires the `"nativeMessaging"` permission.
|
|
18465
18528
|
*
|
|
18466
|
-
* @param application The name of the native messaging host.
|
|
18529
|
+
* @param application The name of the native messaging host, or target details.
|
|
18467
18530
|
* @param message The message that will be passed to the native messaging host.
|
|
18468
18531
|
* @chrome-permission nativeMessaging
|
|
18469
18532
|
* @chrome-platform chromeos
|
|
@@ -21500,7 +21563,7 @@ declare namespace chrome {
|
|
|
21500
21563
|
name: string;
|
|
21501
21564
|
|
|
21502
21565
|
/**
|
|
21503
|
-
* NOTE: This is only available to ChromeOS Kiosk apps
|
|
21566
|
+
* NOTE: This is only available to ChromeOS Kiosk apps.
|
|
21504
21567
|
*
|
|
21505
21568
|
* @since Chrome 67
|
|
21506
21569
|
*/
|
|
@@ -21738,7 +21801,7 @@ declare namespace chrome {
|
|
|
21738
21801
|
): void;
|
|
21739
21802
|
|
|
21740
21803
|
/**
|
|
21741
|
-
*
|
|
21804
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Requests the layout info for all displays.
|
|
21742
21805
|
*
|
|
21743
21806
|
* @chrome-returns-extra since Chrome 91
|
|
21744
21807
|
* @returns Promise that resolves with the results.
|
|
@@ -21747,7 +21810,7 @@ declare namespace chrome {
|
|
|
21747
21810
|
export function getDisplayLayout(): Promise<DisplayLayout[]>;
|
|
21748
21811
|
|
|
21749
21812
|
/**
|
|
21750
|
-
*
|
|
21813
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Requests the layout info for all displays.
|
|
21751
21814
|
*
|
|
21752
21815
|
* @since Chrome 53
|
|
21753
21816
|
*/
|
|
@@ -21759,7 +21822,7 @@ declare namespace chrome {
|
|
|
21759
21822
|
): void;
|
|
21760
21823
|
|
|
21761
21824
|
/**
|
|
21762
|
-
* Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set.
|
|
21825
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set.
|
|
21763
21826
|
*
|
|
21764
21827
|
* @chrome-returns-extra since Chrome 91
|
|
21765
21828
|
* @param id The display's unique identifier.
|
|
@@ -21774,7 +21837,7 @@ declare namespace chrome {
|
|
|
21774
21837
|
): Promise<void>;
|
|
21775
21838
|
|
|
21776
21839
|
/**
|
|
21777
|
-
* Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set.
|
|
21840
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set.
|
|
21778
21841
|
*
|
|
21779
21842
|
* @param id The display's unique identifier.
|
|
21780
21843
|
* @param info The information about display properties that should be changed. A property will be changed only if a new value for it is specified in `info`.
|
|
@@ -21789,7 +21852,7 @@ declare namespace chrome {
|
|
|
21789
21852
|
): void;
|
|
21790
21853
|
|
|
21791
21854
|
/**
|
|
21792
|
-
* Set the layout for all displays. Any display not included will use the default layout. If a layout would overlap or be otherwise invalid it will be adjusted to a valid layout. After layout is resolved, an onDisplayChanged event will be triggered.
|
|
21855
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Set the layout for all displays. Any display not included will use the default layout. If a layout would overlap or be otherwise invalid it will be adjusted to a valid layout. After layout is resolved, an onDisplayChanged event will be triggered.
|
|
21793
21856
|
*
|
|
21794
21857
|
* @chrome-returns-extra since Chrome 91
|
|
21795
21858
|
* @param layouts The layout information, required for all displays except the primary display.
|
|
@@ -21802,7 +21865,7 @@ declare namespace chrome {
|
|
|
21802
21865
|
): Promise<void>;
|
|
21803
21866
|
|
|
21804
21867
|
/**
|
|
21805
|
-
* Set the layout for all displays. Any display not included will use the default layout. If a layout would overlap or be otherwise invalid it will be adjusted to a valid layout. After layout is resolved, an onDisplayChanged event will be triggered.
|
|
21868
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Set the layout for all displays. Any display not included will use the default layout. If a layout would overlap or be otherwise invalid it will be adjusted to a valid layout. After layout is resolved, an onDisplayChanged event will be triggered.
|
|
21806
21869
|
*
|
|
21807
21870
|
* @param layouts The layout information, required for all displays except the primary display.
|
|
21808
21871
|
* @since Chrome 53
|
|
@@ -21815,7 +21878,7 @@ declare namespace chrome {
|
|
|
21815
21878
|
): void;
|
|
21816
21879
|
|
|
21817
21880
|
/**
|
|
21818
|
-
* Enables/disables the unified desktop feature. If enabled while mirroring is active, the desktop mode will not change until mirroring is turned off. Otherwise, the desktop mode will switch to unified immediately.
|
|
21881
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Enables/disables the unified desktop feature. If enabled while mirroring is active, the desktop mode will not change until mirroring is turned off. Otherwise, the desktop mode will switch to unified immediately.
|
|
21819
21882
|
*
|
|
21820
21883
|
* @param enabled True if unified desktop should be enabled.
|
|
21821
21884
|
* @since Chrome 46
|
|
@@ -21826,7 +21889,7 @@ declare namespace chrome {
|
|
|
21826
21889
|
): void;
|
|
21827
21890
|
|
|
21828
21891
|
/**
|
|
21829
|
-
* Starts overscan calibration for a display. This will show an overlay on the screen indicating the current overscan insets. If overscan calibration for display `id` is in progress this will reset calibration.
|
|
21892
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Starts overscan calibration for a display. This will show an overlay on the screen indicating the current overscan insets. If overscan calibration for display `id` is in progress this will reset calibration.
|
|
21830
21893
|
*
|
|
21831
21894
|
* @param id The display's unique identifier.
|
|
21832
21895
|
* @since Chrome 53
|
|
@@ -21837,7 +21900,7 @@ declare namespace chrome {
|
|
|
21837
21900
|
): void;
|
|
21838
21901
|
|
|
21839
21902
|
/**
|
|
21840
|
-
* Adjusts the current overscan insets for a display. Typically this should either move the display along an axis (e.g. left+right have the same value) or scale it along an axis (e.g. top+bottom have opposite values). Each Adjust call is cumulative with previous calls since Start.
|
|
21903
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Adjusts the current overscan insets for a display. Typically this should either move the display along an axis (e.g. left+right have the same value) or scale it along an axis (e.g. top+bottom have opposite values). Each Adjust call is cumulative with previous calls since Start.
|
|
21841
21904
|
*
|
|
21842
21905
|
* @param id The display's unique identifier.
|
|
21843
21906
|
* @param delta The amount to change the overscan insets.
|
|
@@ -21851,7 +21914,7 @@ declare namespace chrome {
|
|
|
21851
21914
|
): void;
|
|
21852
21915
|
|
|
21853
21916
|
/**
|
|
21854
|
-
* Resets the overscan insets for a display to the last saved value (i.e before Start was called).
|
|
21917
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Resets the overscan insets for a display to the last saved value (i.e before Start was called).
|
|
21855
21918
|
*
|
|
21856
21919
|
* @param id The display's unique identifier.
|
|
21857
21920
|
* @since Chrome 53
|
|
@@ -21862,7 +21925,7 @@ declare namespace chrome {
|
|
|
21862
21925
|
): void;
|
|
21863
21926
|
|
|
21864
21927
|
/**
|
|
21865
|
-
* Complete overscan adjustments for a display by saving the current values and hiding the overlay.
|
|
21928
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Complete overscan adjustments for a display by saving the current values and hiding the overlay.
|
|
21866
21929
|
*
|
|
21867
21930
|
* @param id The display's unique identifier.
|
|
21868
21931
|
* @since Chrome 53
|
|
@@ -21873,7 +21936,7 @@ declare namespace chrome {
|
|
|
21873
21936
|
): void;
|
|
21874
21937
|
|
|
21875
21938
|
/**
|
|
21876
|
-
* Displays the native touch calibration UX for the display with `id` as display id. This will show an overlay on the screen with required instructions on how to proceed. The callback will be invoked in case of successful calibration only. If the calibration fails, this will throw an error.
|
|
21939
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Displays the native touch calibration UX for the display with `id` as display id. This will show an overlay on the screen with required instructions on how to proceed. The callback will be invoked in case of successful calibration only. If the calibration fails, this will throw an error.
|
|
21877
21940
|
*
|
|
21878
21941
|
* @chrome-returns-extra since Chrome 91
|
|
21879
21942
|
* @param id The display's unique identifier.
|
|
@@ -21886,7 +21949,7 @@ declare namespace chrome {
|
|
|
21886
21949
|
): Promise<boolean>;
|
|
21887
21950
|
|
|
21888
21951
|
/**
|
|
21889
|
-
* Displays the native touch calibration UX for the display with `id` as display id. This will show an overlay on the screen with required instructions on how to proceed. The callback will be invoked in case of successful calibration only. If the calibration fails, this will throw an error.
|
|
21952
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Displays the native touch calibration UX for the display with `id` as display id. This will show an overlay on the screen with required instructions on how to proceed. The callback will be invoked in case of successful calibration only. If the calibration fails, this will throw an error.
|
|
21890
21953
|
*
|
|
21891
21954
|
* @param id The display's unique identifier.
|
|
21892
21955
|
* @since Chrome 57
|
|
@@ -21901,7 +21964,7 @@ declare namespace chrome {
|
|
|
21901
21964
|
): void;
|
|
21902
21965
|
|
|
21903
21966
|
/**
|
|
21904
|
-
* Starts custom touch calibration for a display. This should be called when using a custom UX for collecting calibration data. If another touch calibration is already in progress this will throw an error.
|
|
21967
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Starts custom touch calibration for a display. This should be called when using a custom UX for collecting calibration data. If another touch calibration is already in progress this will throw an error.
|
|
21905
21968
|
*
|
|
21906
21969
|
* @param id The display's unique identifier.
|
|
21907
21970
|
* @since Chrome 57
|
|
@@ -21912,7 +21975,7 @@ declare namespace chrome {
|
|
|
21912
21975
|
): void;
|
|
21913
21976
|
|
|
21914
21977
|
/**
|
|
21915
|
-
* Sets the touch calibration pairs for a display. These `pairs` would be used to calibrate the touch screen for display with `id` called in startCustomTouchCalibration(). Always call `startCustomTouchCalibration` before calling this method. If another touch calibration is already in progress this will throw an error.
|
|
21978
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Sets the touch calibration pairs for a display. These `pairs` would be used to calibrate the touch screen for display with `id` called in startCustomTouchCalibration(). Always call `startCustomTouchCalibration` before calling this method. If another touch calibration is already in progress this will throw an error.
|
|
21916
21979
|
*
|
|
21917
21980
|
* @param pairs The pairs of point used to calibrate the display.
|
|
21918
21981
|
* @param bounds Bounds of the display when the touch calibration was performed. `bounds.left` and `bounds.top` values are ignored.
|
|
@@ -21926,7 +21989,7 @@ declare namespace chrome {
|
|
|
21926
21989
|
): void;
|
|
21927
21990
|
|
|
21928
21991
|
/**
|
|
21929
|
-
* Resets the touch calibration for the display and brings it back to its default state by clearing any touch calibration data associated with the display.
|
|
21992
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Resets the touch calibration for the display and brings it back to its default state by clearing any touch calibration data associated with the display.
|
|
21930
21993
|
*
|
|
21931
21994
|
* @param id The display's unique identifier.
|
|
21932
21995
|
* @since Chrome 57
|
|
@@ -21937,7 +22000,7 @@ declare namespace chrome {
|
|
|
21937
22000
|
): void;
|
|
21938
22001
|
|
|
21939
22002
|
/**
|
|
21940
|
-
* Sets the display mode to the specified mirror mode. Each call resets the state from previous calls. Calling setDisplayProperties() will fail for the mirroring destination displays.
|
|
22003
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Sets the display mode to the specified mirror mode. Each call resets the state from previous calls. Calling setDisplayProperties() will fail for the mirroring destination displays.
|
|
21941
22004
|
*
|
|
21942
22005
|
* @chrome-returns-extra since Chrome 91
|
|
21943
22006
|
* @param info The information of the mirror mode that should be applied to the display mode.
|
|
@@ -21950,7 +22013,7 @@ declare namespace chrome {
|
|
|
21950
22013
|
): Promise<void>;
|
|
21951
22014
|
|
|
21952
22015
|
/**
|
|
21953
|
-
* Sets the display mode to the specified mirror mode. Each call resets the state from previous calls. Calling setDisplayProperties() will fail for the mirroring destination displays.
|
|
22016
|
+
* NOTE: This is only available to ChromeOS Kiosk apps. Sets the display mode to the specified mirror mode. Each call resets the state from previous calls. Calling setDisplayProperties() will fail for the mirroring destination displays.
|
|
21954
22017
|
*
|
|
21955
22018
|
* @param info The information of the mirror mode that should be applied to the display mode.
|
|
21956
22019
|
* @since Chrome 65
|
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": "7f9c8c72ee0ae69d"
|
|
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.441"
|
|
20
20
|
}
|