Index: Source/devtools/protocol.json |
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
index 0ea7455e901efa3ced3bf93a956123aa20332272..46bedd5ee92fd76aff2ae06c879a7b0cdf25c636 100644 |
--- a/Source/devtools/protocol.json |
+++ b/Source/devtools/protocol.json |
@@ -4660,6 +4660,32 @@ |
] |
}, |
{ |
+ "domain": "ScreenOrientation", |
+ "hidden": true, |
+ "types": [ |
+ { |
+ "id": "OrientationType", |
+ "type": "string", |
+ "enum": ["portraitPrimary", "portraitSecondary", "landscapePrimary", "landscapeSecondary"], |
+ "description": "Orientation type" |
+ } |
+ ], |
+ "commands": [ |
+ { |
+ "name": "setScreenOrientationOverride", |
+ "description": "Overrides the Screen Orientation.", |
+ "parameters": [ |
+ { "name": "angle", "type": "integer", "description": "Orientation angle" }, |
+ { "name": "type", "$ref": "OrientationType", "description": "Orientation type" } |
+ ] |
+ }, |
+ { |
+ "name": "clearScreenOrientationOverride", |
+ "description": "Clears the overridden Screen Orientation." |
+ } |
+ ] |
+ }, |
+ { |
"domain": "Tracing", |
"commands": [ |
{ |