devtools-protocol 0.0.1483532 → 0.0.1485358
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.
@@ -3423,6 +3423,30 @@
|
|
3423
3423
|
}
|
3424
3424
|
]
|
3425
3425
|
},
|
3426
|
+
{
|
3427
|
+
"name": "setContentsSize",
|
3428
|
+
"description": "Set size of the browser contents resizing browser window as necessary.",
|
3429
|
+
"experimental": true,
|
3430
|
+
"parameters": [
|
3431
|
+
{
|
3432
|
+
"name": "windowId",
|
3433
|
+
"description": "Browser window id.",
|
3434
|
+
"$ref": "WindowID"
|
3435
|
+
},
|
3436
|
+
{
|
3437
|
+
"name": "width",
|
3438
|
+
"description": "The window contents width in DIP. Assumes current width if omitted.\nMust be specified if 'height' is omitted.",
|
3439
|
+
"optional": true,
|
3440
|
+
"type": "integer"
|
3441
|
+
},
|
3442
|
+
{
|
3443
|
+
"name": "height",
|
3444
|
+
"description": "The window contents height in DIP. Assumes current height if omitted.\nMust be specified if 'width' is omitted.",
|
3445
|
+
"optional": true,
|
3446
|
+
"type": "integer"
|
3447
|
+
}
|
3448
|
+
]
|
3449
|
+
},
|
3426
3450
|
{
|
3427
3451
|
"name": "setDockTile",
|
3428
3452
|
"description": "Set dock tile details, platform-specific.",
|
@@ -18276,6 +18300,7 @@
|
|
18276
18300
|
"accelerometer",
|
18277
18301
|
"all-screens-capture",
|
18278
18302
|
"ambient-light-sensor",
|
18303
|
+
"aria-notify",
|
18279
18304
|
"attribution-reporting",
|
18280
18305
|
"autoplay",
|
18281
18306
|
"bluetooth",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -1748,6 +1748,18 @@ domain Browser
|
|
1748
1748
|
# with 'left', 'top', 'width' or 'height'. Leaves unspecified fields unchanged.
|
1749
1749
|
Bounds bounds
|
1750
1750
|
|
1751
|
+
# Set size of the browser contents resizing browser window as necessary.
|
1752
|
+
experimental command setContentsSize
|
1753
|
+
parameters
|
1754
|
+
# Browser window id.
|
1755
|
+
WindowID windowId
|
1756
|
+
# The window contents width in DIP. Assumes current width if omitted.
|
1757
|
+
# Must be specified if 'height' is omitted.
|
1758
|
+
optional integer width
|
1759
|
+
# The window contents height in DIP. Assumes current height if omitted.
|
1760
|
+
# Must be specified if 'width' is omitted.
|
1761
|
+
optional integer height
|
1762
|
+
|
1751
1763
|
# Set dock tile details, platform-specific.
|
1752
1764
|
experimental command setDockTile
|
1753
1765
|
parameters
|
@@ -8597,6 +8609,7 @@ domain Page
|
|
8597
8609
|
accelerometer
|
8598
8610
|
all-screens-capture
|
8599
8611
|
ambient-light-sensor
|
8612
|
+
aria-notify
|
8600
8613
|
attribution-reporting
|
8601
8614
|
autoplay
|
8602
8615
|
bluetooth
|
@@ -1831,6 +1831,13 @@ export namespace ProtocolMapping {
|
|
1831
1831
|
paramsType: [Protocol.Browser.SetWindowBoundsRequest];
|
1832
1832
|
returnType: void;
|
1833
1833
|
};
|
1834
|
+
/**
|
1835
|
+
* Set size of the browser contents resizing browser window as necessary.
|
1836
|
+
*/
|
1837
|
+
'Browser.setContentsSize': {
|
1838
|
+
paramsType: [Protocol.Browser.SetContentsSizeRequest];
|
1839
|
+
returnType: void;
|
1840
|
+
};
|
1834
1841
|
/**
|
1835
1842
|
* Set dock tile details, platform-specific.
|
1836
1843
|
*/
|
@@ -998,6 +998,11 @@ export namespace ProtocolProxyApi {
|
|
998
998
|
*/
|
999
999
|
setWindowBounds(params: Protocol.Browser.SetWindowBoundsRequest): Promise<void>;
|
1000
1000
|
|
1001
|
+
/**
|
1002
|
+
* Set size of the browser contents resizing browser window as necessary.
|
1003
|
+
*/
|
1004
|
+
setContentsSize(params: Protocol.Browser.SetContentsSizeRequest): Promise<void>;
|
1005
|
+
|
1001
1006
|
/**
|
1002
1007
|
* Set dock tile details, platform-specific.
|
1003
1008
|
*/
|
@@ -1062,6 +1062,11 @@ export namespace ProtocolTestsProxyApi {
|
|
1062
1062
|
*/
|
1063
1063
|
setWindowBounds(params: Protocol.Browser.SetWindowBoundsRequest): Promise<{id: number, result: void, sessionId: string}>;
|
1064
1064
|
|
1065
|
+
/**
|
1066
|
+
* Set size of the browser contents resizing browser window as necessary.
|
1067
|
+
*/
|
1068
|
+
setContentsSize(params: Protocol.Browser.SetContentsSizeRequest): Promise<{id: number, result: void, sessionId: string}>;
|
1069
|
+
|
1065
1070
|
/**
|
1066
1071
|
* Set dock tile details, platform-specific.
|
1067
1072
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -4521,6 +4521,23 @@ export namespace Protocol {
|
|
4521
4521
|
bounds: Bounds;
|
4522
4522
|
}
|
4523
4523
|
|
4524
|
+
export interface SetContentsSizeRequest {
|
4525
|
+
/**
|
4526
|
+
* Browser window id.
|
4527
|
+
*/
|
4528
|
+
windowId: WindowID;
|
4529
|
+
/**
|
4530
|
+
* The window contents width in DIP. Assumes current width if omitted.
|
4531
|
+
* Must be specified if 'height' is omitted.
|
4532
|
+
*/
|
4533
|
+
width?: integer;
|
4534
|
+
/**
|
4535
|
+
* The window contents height in DIP. Assumes current height if omitted.
|
4536
|
+
* Must be specified if 'width' is omitted.
|
4537
|
+
*/
|
4538
|
+
height?: integer;
|
4539
|
+
}
|
4540
|
+
|
4524
4541
|
export interface SetDockTileRequest {
|
4525
4542
|
badgeLabel?: string;
|
4526
4543
|
/**
|
@@ -14062,7 +14079,7 @@ export namespace Protocol {
|
|
14062
14079
|
* All Permissions Policy features. This enum should match the one defined
|
14063
14080
|
* in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
|
14064
14081
|
*/
|
14065
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
|
14082
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
|
14066
14083
|
|
14067
14084
|
/**
|
14068
14085
|
* Reason for a permissions policy feature to be disabled.
|