devtools-protocol 0.0.1590631 → 0.0.1591319
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.
|
@@ -11691,6 +11691,17 @@
|
|
|
11691
11691
|
"$ref": "ScreenId"
|
|
11692
11692
|
}
|
|
11693
11693
|
]
|
|
11694
|
+
},
|
|
11695
|
+
{
|
|
11696
|
+
"name": "setPrimaryScreen",
|
|
11697
|
+
"description": "Set primary screen. Only supported in headless mode.\nNote that this changes the coordinate system origin to the top-left\nof the new primary screen, updating the bounds and work areas\nof all existing screens accordingly.",
|
|
11698
|
+
"experimental": true,
|
|
11699
|
+
"parameters": [
|
|
11700
|
+
{
|
|
11701
|
+
"name": "screenId",
|
|
11702
|
+
"$ref": "ScreenId"
|
|
11703
|
+
}
|
|
11704
|
+
]
|
|
11694
11705
|
}
|
|
11695
11706
|
],
|
|
11696
11707
|
"events": [
|
package/package.json
CHANGED
|
@@ -617,3 +617,11 @@ domain Emulation
|
|
|
617
617
|
experimental command removeScreen
|
|
618
618
|
parameters
|
|
619
619
|
ScreenId screenId
|
|
620
|
+
|
|
621
|
+
# Set primary screen. Only supported in headless mode.
|
|
622
|
+
# Note that this changes the coordinate system origin to the top-left
|
|
623
|
+
# of the new primary screen, updating the bounds and work areas
|
|
624
|
+
# of all existing screens accordingly.
|
|
625
|
+
experimental command setPrimaryScreen
|
|
626
|
+
parameters
|
|
627
|
+
ScreenId screenId
|
|
@@ -3591,6 +3591,17 @@ export namespace ProtocolMapping {
|
|
|
3591
3591
|
paramsType: [Protocol.Emulation.RemoveScreenRequest];
|
|
3592
3592
|
returnType: void;
|
|
3593
3593
|
};
|
|
3594
|
+
/**
|
|
3595
|
+
* Set primary screen. Only supported in headless mode.
|
|
3596
|
+
* Note that this changes the coordinate system origin to the top-left
|
|
3597
|
+
* of the new primary screen, updating the bounds and work areas
|
|
3598
|
+
* of all existing screens accordingly.
|
|
3599
|
+
* @experimental
|
|
3600
|
+
*/
|
|
3601
|
+
'Emulation.setPrimaryScreen': {
|
|
3602
|
+
paramsType: [Protocol.Emulation.SetPrimaryScreenRequest];
|
|
3603
|
+
returnType: void;
|
|
3604
|
+
};
|
|
3594
3605
|
/**
|
|
3595
3606
|
* Sets breakpoint on particular native event.
|
|
3596
3607
|
*/
|
|
@@ -2390,6 +2390,15 @@ export namespace ProtocolProxyApi {
|
|
|
2390
2390
|
*/
|
|
2391
2391
|
removeScreen(params: Protocol.Emulation.RemoveScreenRequest): Promise<void>;
|
|
2392
2392
|
|
|
2393
|
+
/**
|
|
2394
|
+
* Set primary screen. Only supported in headless mode.
|
|
2395
|
+
* Note that this changes the coordinate system origin to the top-left
|
|
2396
|
+
* of the new primary screen, updating the bounds and work areas
|
|
2397
|
+
* of all existing screens accordingly.
|
|
2398
|
+
* @experimental
|
|
2399
|
+
*/
|
|
2400
|
+
setPrimaryScreen(params: Protocol.Emulation.SetPrimaryScreenRequest): Promise<void>;
|
|
2401
|
+
|
|
2393
2402
|
/**
|
|
2394
2403
|
* Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
|
|
2395
2404
|
* @experimental
|
|
@@ -2528,6 +2528,15 @@ export namespace ProtocolTestsProxyApi {
|
|
|
2528
2528
|
*/
|
|
2529
2529
|
removeScreen(params: Protocol.Emulation.RemoveScreenRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
2530
2530
|
|
|
2531
|
+
/**
|
|
2532
|
+
* Set primary screen. Only supported in headless mode.
|
|
2533
|
+
* Note that this changes the coordinate system origin to the top-left
|
|
2534
|
+
* of the new primary screen, updating the bounds and work areas
|
|
2535
|
+
* of all existing screens accordingly.
|
|
2536
|
+
* @experimental
|
|
2537
|
+
*/
|
|
2538
|
+
setPrimaryScreen(params: Protocol.Emulation.SetPrimaryScreenRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
2539
|
+
|
|
2531
2540
|
/**
|
|
2532
2541
|
* Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
|
|
2533
2542
|
* @experimental
|
package/types/protocol.d.ts
CHANGED