chrome-types 0.1.323 → 0.1.324
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 +17 -17
- package/index.d.ts +17 -17
- 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 Sat Dec 07 2024 22:31:56 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 83d242489246c7439a097afb67d55149039d40d4
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -29495,19 +29495,19 @@ declare namespace chrome {
|
|
|
29495
29495
|
name: string;
|
|
29496
29496
|
|
|
29497
29497
|
/**
|
|
29498
|
-
* NOTE: This is only available to
|
|
29498
|
+
* NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
29499
29499
|
*
|
|
29500
29500
|
* @since Chrome 67
|
|
29501
29501
|
*/
|
|
29502
29502
|
edid?: Edid;
|
|
29503
29503
|
|
|
29504
29504
|
/**
|
|
29505
|
-
*
|
|
29505
|
+
* ChromeOS only. Identifier of the display that is being mirrored if mirroring is enabled, otherwise empty. This will be set for all displays (including the display being mirrored).
|
|
29506
29506
|
*/
|
|
29507
29507
|
mirroringSourceId: string;
|
|
29508
29508
|
|
|
29509
29509
|
/**
|
|
29510
|
-
*
|
|
29510
|
+
* ChromeOS only. Identifiers of the displays to which the source display is being mirrored. Empty if no displays are being mirrored. This will be set to the same value for all displays. This must not include `mirroringSourceId`.
|
|
29511
29511
|
*
|
|
29512
29512
|
* @since Chrome 64
|
|
29513
29513
|
*/
|
|
@@ -29568,7 +29568,7 @@ declare namespace chrome {
|
|
|
29568
29568
|
workArea: Bounds;
|
|
29569
29569
|
|
|
29570
29570
|
/**
|
|
29571
|
-
* The list of available display modes. The current mode will have isSelected=true. Only available on
|
|
29571
|
+
* The list of available display modes. The current mode will have isSelected=true. Only available on ChromeOS. Will be set to an empty array on other platforms.
|
|
29572
29572
|
*
|
|
29573
29573
|
* @since Chrome 52
|
|
29574
29574
|
*/
|
|
@@ -29599,14 +29599,14 @@ declare namespace chrome {
|
|
|
29599
29599
|
export interface DisplayProperties {
|
|
29600
29600
|
|
|
29601
29601
|
/**
|
|
29602
|
-
*
|
|
29602
|
+
* ChromeOS only. If set to true, changes the display mode to unified desktop (see {@link enableUnifiedDesktop} for details). If set to false, unified desktop mode will be disabled. This is only valid for the primary display. If provided, mirroringSourceId must not be provided and other properties will be ignored. This is has no effect if not provided.
|
|
29603
29603
|
*
|
|
29604
29604
|
* @since Chrome 59
|
|
29605
29605
|
*/
|
|
29606
29606
|
isUnified?: boolean;
|
|
29607
29607
|
|
|
29608
29608
|
/**
|
|
29609
|
-
*
|
|
29609
|
+
* ChromeOS only. If set and not empty, enables mirroring for this display only. Otherwise disables mirroring for all displays. This value should indicate the id of the source display to mirror, which must not be the same as the id passed to setDisplayProperties. If set, no other property may be set.
|
|
29610
29610
|
*
|
|
29611
29611
|
* @deprecated Use {@link setMirrorMode}.
|
|
29612
29612
|
* @chrome-deprecated-since Chrome 68
|
|
@@ -29733,7 +29733,7 @@ declare namespace chrome {
|
|
|
29733
29733
|
): void;
|
|
29734
29734
|
|
|
29735
29735
|
/**
|
|
29736
|
-
* Requests the layout info for all displays. NOTE: This is only available to
|
|
29736
|
+
* Requests the layout info for all displays. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
29737
29737
|
*
|
|
29738
29738
|
* @chrome-returns-extra since Chrome 91
|
|
29739
29739
|
* @since Chrome 53
|
|
@@ -29741,7 +29741,7 @@ declare namespace chrome {
|
|
|
29741
29741
|
export function getDisplayLayout(): Promise<DisplayLayout[]>;
|
|
29742
29742
|
|
|
29743
29743
|
/**
|
|
29744
|
-
* Requests the layout info for all displays. NOTE: This is only available to
|
|
29744
|
+
* Requests the layout info for all displays. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
29745
29745
|
*
|
|
29746
29746
|
* @param callback The callback to invoke with the results.
|
|
29747
29747
|
* @since Chrome 53
|
|
@@ -29754,7 +29754,7 @@ declare namespace chrome {
|
|
|
29754
29754
|
): void;
|
|
29755
29755
|
|
|
29756
29756
|
/**
|
|
29757
|
-
* Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set. NOTE: This is only available to
|
|
29757
|
+
* Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
29758
29758
|
*
|
|
29759
29759
|
* @chrome-returns-extra since Chrome 91
|
|
29760
29760
|
* @param id The display's unique identifier.
|
|
@@ -29768,7 +29768,7 @@ declare namespace chrome {
|
|
|
29768
29768
|
): Promise<void>;
|
|
29769
29769
|
|
|
29770
29770
|
/**
|
|
29771
|
-
* Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set. NOTE: This is only available to
|
|
29771
|
+
* Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
29772
29772
|
*
|
|
29773
29773
|
* @param id The display's unique identifier.
|
|
29774
29774
|
* @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`.
|
|
@@ -29784,7 +29784,7 @@ declare namespace chrome {
|
|
|
29784
29784
|
): void;
|
|
29785
29785
|
|
|
29786
29786
|
/**
|
|
29787
|
-
* 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. NOTE: This is only available to
|
|
29787
|
+
* 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. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
29788
29788
|
*
|
|
29789
29789
|
* @chrome-returns-extra since Chrome 91
|
|
29790
29790
|
* @param layouts The layout information, required for all displays except the primary display.
|
|
@@ -29796,7 +29796,7 @@ declare namespace chrome {
|
|
|
29796
29796
|
): Promise<void>;
|
|
29797
29797
|
|
|
29798
29798
|
/**
|
|
29799
|
-
* 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. NOTE: This is only available to
|
|
29799
|
+
* 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. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
29800
29800
|
*
|
|
29801
29801
|
* @param layouts The layout information, required for all displays except the primary display.
|
|
29802
29802
|
* @param callback Empty function called when the function finishes. To find out whether the function succeeded, {@link runtime.lastError} should be queried.
|
|
@@ -29810,7 +29810,7 @@ declare namespace chrome {
|
|
|
29810
29810
|
): void;
|
|
29811
29811
|
|
|
29812
29812
|
/**
|
|
29813
|
-
* 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. NOTE: This is only available to
|
|
29813
|
+
* 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. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
29814
29814
|
*
|
|
29815
29815
|
* @param enabled True if unified desktop should be enabled.
|
|
29816
29816
|
* @since Chrome 46
|
|
@@ -29932,7 +29932,7 @@ declare namespace chrome {
|
|
|
29932
29932
|
): void;
|
|
29933
29933
|
|
|
29934
29934
|
/**
|
|
29935
|
-
* 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. NOTE: This is only available to
|
|
29935
|
+
* 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. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
29936
29936
|
*
|
|
29937
29937
|
* @chrome-returns-extra since Chrome 91
|
|
29938
29938
|
* @param info The information of the mirror mode that should be applied to the display mode.
|
|
@@ -29944,7 +29944,7 @@ declare namespace chrome {
|
|
|
29944
29944
|
): Promise<void>;
|
|
29945
29945
|
|
|
29946
29946
|
/**
|
|
29947
|
-
* 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. NOTE: This is only available to
|
|
29947
|
+
* 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. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
29948
29948
|
*
|
|
29949
29949
|
* @param info The information of the mirror mode that should be applied to the display mode.
|
|
29950
29950
|
* @param callback Empty function called when the function finishes. To find out whether the function succeeded, {@link runtime.lastError} should be queried.
|
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 Sat Dec 07 2024 22:31:51 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 83d242489246c7439a097afb67d55149039d40d4
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -22694,19 +22694,19 @@ declare namespace chrome {
|
|
|
22694
22694
|
name: string;
|
|
22695
22695
|
|
|
22696
22696
|
/**
|
|
22697
|
-
* NOTE: This is only available to
|
|
22697
|
+
* NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
22698
22698
|
*
|
|
22699
22699
|
* @since Chrome 67
|
|
22700
22700
|
*/
|
|
22701
22701
|
edid?: Edid;
|
|
22702
22702
|
|
|
22703
22703
|
/**
|
|
22704
|
-
*
|
|
22704
|
+
* ChromeOS only. Identifier of the display that is being mirrored if mirroring is enabled, otherwise empty. This will be set for all displays (including the display being mirrored).
|
|
22705
22705
|
*/
|
|
22706
22706
|
mirroringSourceId: string;
|
|
22707
22707
|
|
|
22708
22708
|
/**
|
|
22709
|
-
*
|
|
22709
|
+
* ChromeOS only. Identifiers of the displays to which the source display is being mirrored. Empty if no displays are being mirrored. This will be set to the same value for all displays. This must not include `mirroringSourceId`.
|
|
22710
22710
|
*
|
|
22711
22711
|
* @since Chrome 64
|
|
22712
22712
|
*/
|
|
@@ -22767,7 +22767,7 @@ declare namespace chrome {
|
|
|
22767
22767
|
workArea: Bounds;
|
|
22768
22768
|
|
|
22769
22769
|
/**
|
|
22770
|
-
* The list of available display modes. The current mode will have isSelected=true. Only available on
|
|
22770
|
+
* The list of available display modes. The current mode will have isSelected=true. Only available on ChromeOS. Will be set to an empty array on other platforms.
|
|
22771
22771
|
*
|
|
22772
22772
|
* @since Chrome 52
|
|
22773
22773
|
*/
|
|
@@ -22798,14 +22798,14 @@ declare namespace chrome {
|
|
|
22798
22798
|
export interface DisplayProperties {
|
|
22799
22799
|
|
|
22800
22800
|
/**
|
|
22801
|
-
*
|
|
22801
|
+
* ChromeOS only. If set to true, changes the display mode to unified desktop (see {@link enableUnifiedDesktop} for details). If set to false, unified desktop mode will be disabled. This is only valid for the primary display. If provided, mirroringSourceId must not be provided and other properties will be ignored. This is has no effect if not provided.
|
|
22802
22802
|
*
|
|
22803
22803
|
* @since Chrome 59
|
|
22804
22804
|
*/
|
|
22805
22805
|
isUnified?: boolean;
|
|
22806
22806
|
|
|
22807
22807
|
/**
|
|
22808
|
-
*
|
|
22808
|
+
* ChromeOS only. If set and not empty, enables mirroring for this display only. Otherwise disables mirroring for all displays. This value should indicate the id of the source display to mirror, which must not be the same as the id passed to setDisplayProperties. If set, no other property may be set.
|
|
22809
22809
|
*
|
|
22810
22810
|
* @deprecated Use {@link setMirrorMode}.
|
|
22811
22811
|
* @chrome-deprecated-since Chrome 68
|
|
@@ -22932,7 +22932,7 @@ declare namespace chrome {
|
|
|
22932
22932
|
): void;
|
|
22933
22933
|
|
|
22934
22934
|
/**
|
|
22935
|
-
* Requests the layout info for all displays. NOTE: This is only available to
|
|
22935
|
+
* Requests the layout info for all displays. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
22936
22936
|
*
|
|
22937
22937
|
* @chrome-returns-extra since Chrome 91
|
|
22938
22938
|
* @since Chrome 53
|
|
@@ -22940,7 +22940,7 @@ declare namespace chrome {
|
|
|
22940
22940
|
export function getDisplayLayout(): Promise<DisplayLayout[]>;
|
|
22941
22941
|
|
|
22942
22942
|
/**
|
|
22943
|
-
* Requests the layout info for all displays. NOTE: This is only available to
|
|
22943
|
+
* Requests the layout info for all displays. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
22944
22944
|
*
|
|
22945
22945
|
* @param callback The callback to invoke with the results.
|
|
22946
22946
|
* @since Chrome 53
|
|
@@ -22953,7 +22953,7 @@ declare namespace chrome {
|
|
|
22953
22953
|
): void;
|
|
22954
22954
|
|
|
22955
22955
|
/**
|
|
22956
|
-
* Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set. NOTE: This is only available to
|
|
22956
|
+
* Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
22957
22957
|
*
|
|
22958
22958
|
* @chrome-returns-extra since Chrome 91
|
|
22959
22959
|
* @param id The display's unique identifier.
|
|
@@ -22967,7 +22967,7 @@ declare namespace chrome {
|
|
|
22967
22967
|
): Promise<void>;
|
|
22968
22968
|
|
|
22969
22969
|
/**
|
|
22970
|
-
* Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set. NOTE: This is only available to
|
|
22970
|
+
* Updates the properties for the display specified by `id`, according to the information provided in `info`. On failure, {@link runtime.lastError} will be set. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
22971
22971
|
*
|
|
22972
22972
|
* @param id The display's unique identifier.
|
|
22973
22973
|
* @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`.
|
|
@@ -22983,7 +22983,7 @@ declare namespace chrome {
|
|
|
22983
22983
|
): void;
|
|
22984
22984
|
|
|
22985
22985
|
/**
|
|
22986
|
-
* 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. NOTE: This is only available to
|
|
22986
|
+
* 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. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
22987
22987
|
*
|
|
22988
22988
|
* @chrome-returns-extra since Chrome 91
|
|
22989
22989
|
* @param layouts The layout information, required for all displays except the primary display.
|
|
@@ -22995,7 +22995,7 @@ declare namespace chrome {
|
|
|
22995
22995
|
): Promise<void>;
|
|
22996
22996
|
|
|
22997
22997
|
/**
|
|
22998
|
-
* 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. NOTE: This is only available to
|
|
22998
|
+
* 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. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
22999
22999
|
*
|
|
23000
23000
|
* @param layouts The layout information, required for all displays except the primary display.
|
|
23001
23001
|
* @param callback Empty function called when the function finishes. To find out whether the function succeeded, {@link runtime.lastError} should be queried.
|
|
@@ -23009,7 +23009,7 @@ declare namespace chrome {
|
|
|
23009
23009
|
): void;
|
|
23010
23010
|
|
|
23011
23011
|
/**
|
|
23012
|
-
* 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. NOTE: This is only available to
|
|
23012
|
+
* 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. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
23013
23013
|
*
|
|
23014
23014
|
* @param enabled True if unified desktop should be enabled.
|
|
23015
23015
|
* @since Chrome 46
|
|
@@ -23131,7 +23131,7 @@ declare namespace chrome {
|
|
|
23131
23131
|
): void;
|
|
23132
23132
|
|
|
23133
23133
|
/**
|
|
23134
|
-
* 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. NOTE: This is only available to
|
|
23134
|
+
* 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. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
23135
23135
|
*
|
|
23136
23136
|
* @chrome-returns-extra since Chrome 91
|
|
23137
23137
|
* @param info The information of the mirror mode that should be applied to the display mode.
|
|
@@ -23143,7 +23143,7 @@ declare namespace chrome {
|
|
|
23143
23143
|
): Promise<void>;
|
|
23144
23144
|
|
|
23145
23145
|
/**
|
|
23146
|
-
* 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. NOTE: This is only available to
|
|
23146
|
+
* 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. NOTE: This is only available to ChromeOS Kiosk apps and Web UI.
|
|
23147
23147
|
*
|
|
23148
23148
|
* @param info The information of the mirror mode that should be applied to the display mode.
|
|
23149
23149
|
* @param callback Empty function called when the function finishes. To find out whether the function succeeded, {@link runtime.lastError} should be queried.
|
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": "2d971b6c426efd52"
|
|
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.324"
|
|
20
20
|
}
|