devtools-protocol 0.0.1751165 → 0.0.1752859
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.
|
@@ -11491,18 +11491,6 @@
|
|
|
11491
11491
|
}
|
|
11492
11492
|
]
|
|
11493
11493
|
},
|
|
11494
|
-
{
|
|
11495
|
-
"name": "setVirtualKeyboardGeometryOverride",
|
|
11496
|
-
"description": "Overrides virtual keyboard geometry in CSS pixels, relative to the top-level viewport. The\nprovided rect is used for navigator.virtualKeyboard.boundingRect, geometrychange events, and\nenv(keyboard-inset-*) values on the inspected frame. The override applies independently of\nnavigator.virtualKeyboard.overlaysContent so clients can preview overlay geometry without\nmutating page state. Values are rounded to the nearest CSS pixel. Omitting the rect clears the\noverride.",
|
|
11497
|
-
"experimental": true,
|
|
11498
|
-
"parameters": [
|
|
11499
|
-
{
|
|
11500
|
-
"name": "keyboardRect",
|
|
11501
|
-
"optional": true,
|
|
11502
|
-
"$ref": "DOM.Rect"
|
|
11503
|
-
}
|
|
11504
|
-
]
|
|
11505
|
-
},
|
|
11506
11494
|
{
|
|
11507
11495
|
"name": "setDeviceMetricsOverride",
|
|
11508
11496
|
"description": "Overrides the values of device screen dimensions (window.screen.width, window.screen.height,\nwindow.innerWidth, window.innerHeight, and \"device-width\"/\"device-height\"-related CSS media\nquery results).",
|
package/package.json
CHANGED
|
@@ -258,16 +258,6 @@ domain Emulation
|
|
|
258
258
|
parameters
|
|
259
259
|
SafeAreaInsets insets
|
|
260
260
|
|
|
261
|
-
# Overrides virtual keyboard geometry in CSS pixels, relative to the top-level viewport. The
|
|
262
|
-
# provided rect is used for navigator.virtualKeyboard.boundingRect, geometrychange events, and
|
|
263
|
-
# env(keyboard-inset-*) values on the inspected frame. The override applies independently of
|
|
264
|
-
# navigator.virtualKeyboard.overlaysContent so clients can preview overlay geometry without
|
|
265
|
-
# mutating page state. Values are rounded to the nearest CSS pixel. Omitting the rect clears the
|
|
266
|
-
# override.
|
|
267
|
-
experimental command setVirtualKeyboardGeometryOverride
|
|
268
|
-
parameters
|
|
269
|
-
optional DOM.Rect keyboardRect
|
|
270
|
-
|
|
271
261
|
# Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
|
|
272
262
|
# window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
|
|
273
263
|
# query results).
|
|
@@ -3367,19 +3367,6 @@ export namespace ProtocolMapping {
|
|
|
3367
3367
|
paramsType: [Protocol.Emulation.SetSafeAreaInsetsOverrideRequest];
|
|
3368
3368
|
returnType: void;
|
|
3369
3369
|
};
|
|
3370
|
-
/**
|
|
3371
|
-
* Overrides virtual keyboard geometry in CSS pixels, relative to the top-level viewport. The
|
|
3372
|
-
* provided rect is used for navigator.virtualKeyboard.boundingRect, geometrychange events, and
|
|
3373
|
-
* env(keyboard-inset-*) values on the inspected frame. The override applies independently of
|
|
3374
|
-
* navigator.virtualKeyboard.overlaysContent so clients can preview overlay geometry without
|
|
3375
|
-
* mutating page state. Values are rounded to the nearest CSS pixel. Omitting the rect clears the
|
|
3376
|
-
* override.
|
|
3377
|
-
* @experimental
|
|
3378
|
-
*/
|
|
3379
|
-
'Emulation.setVirtualKeyboardGeometryOverride': {
|
|
3380
|
-
paramsType: [Protocol.Emulation.SetVirtualKeyboardGeometryOverrideRequest?];
|
|
3381
|
-
returnType: void;
|
|
3382
|
-
};
|
|
3383
3370
|
/**
|
|
3384
3371
|
* Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
|
|
3385
3372
|
* window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
|
|
@@ -2256,17 +2256,6 @@ export namespace ProtocolProxyApi {
|
|
|
2256
2256
|
*/
|
|
2257
2257
|
setSafeAreaInsetsOverride(params: Protocol.Emulation.SetSafeAreaInsetsOverrideRequest): Promise<void>;
|
|
2258
2258
|
|
|
2259
|
-
/**
|
|
2260
|
-
* Overrides virtual keyboard geometry in CSS pixels, relative to the top-level viewport. The
|
|
2261
|
-
* provided rect is used for navigator.virtualKeyboard.boundingRect, geometrychange events, and
|
|
2262
|
-
* env(keyboard-inset-*) values on the inspected frame. The override applies independently of
|
|
2263
|
-
* navigator.virtualKeyboard.overlaysContent so clients can preview overlay geometry without
|
|
2264
|
-
* mutating page state. Values are rounded to the nearest CSS pixel. Omitting the rect clears the
|
|
2265
|
-
* override.
|
|
2266
|
-
* @experimental
|
|
2267
|
-
*/
|
|
2268
|
-
setVirtualKeyboardGeometryOverride(params: Protocol.Emulation.SetVirtualKeyboardGeometryOverrideRequest): Promise<void>;
|
|
2269
|
-
|
|
2270
2259
|
/**
|
|
2271
2260
|
* Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
|
|
2272
2261
|
* window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
|
|
@@ -2394,17 +2394,6 @@ export namespace ProtocolTestsProxyApi {
|
|
|
2394
2394
|
*/
|
|
2395
2395
|
setSafeAreaInsetsOverride(params: Protocol.Emulation.SetSafeAreaInsetsOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
2396
2396
|
|
|
2397
|
-
/**
|
|
2398
|
-
* Overrides virtual keyboard geometry in CSS pixels, relative to the top-level viewport. The
|
|
2399
|
-
* provided rect is used for navigator.virtualKeyboard.boundingRect, geometrychange events, and
|
|
2400
|
-
* env(keyboard-inset-*) values on the inspected frame. The override applies independently of
|
|
2401
|
-
* navigator.virtualKeyboard.overlaysContent so clients can preview overlay geometry without
|
|
2402
|
-
* mutating page state. Values are rounded to the nearest CSS pixel. Omitting the rect clears the
|
|
2403
|
-
* override.
|
|
2404
|
-
* @experimental
|
|
2405
|
-
*/
|
|
2406
|
-
setVirtualKeyboardGeometryOverride(params: Protocol.Emulation.SetVirtualKeyboardGeometryOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
2407
|
-
|
|
2408
2397
|
/**
|
|
2409
2398
|
* Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
|
|
2410
2399
|
* window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
|
package/types/protocol.d.ts
CHANGED
|
@@ -9804,10 +9804,6 @@ export namespace Protocol {
|
|
|
9804
9804
|
insets: SafeAreaInsets;
|
|
9805
9805
|
}
|
|
9806
9806
|
|
|
9807
|
-
export interface SetVirtualKeyboardGeometryOverrideRequest {
|
|
9808
|
-
keyboardRect?: DOM.Rect;
|
|
9809
|
-
}
|
|
9810
|
-
|
|
9811
9807
|
export const enum SetDeviceMetricsOverrideRequestScrollbarType {
|
|
9812
9808
|
Overlay = 'overlay',
|
|
9813
9809
|
Default = 'default',
|