Index: third_party/WebKit/Source/core/inspector/protocol/DeviceOrientation.json |
diff --git a/third_party/WebKit/Source/core/inspector/protocol/DeviceOrientation.json b/third_party/WebKit/Source/core/inspector/protocol/DeviceOrientation.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f64e4912224992043e1447c07e634dc3ef4aecb4 |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/inspector/protocol/DeviceOrientation.json |
@@ -0,0 +1,35 @@ |
+{ |
+ "domain": "DeviceOrientation", |
+ "version": { |
+ "major": "1", |
+ "minor": "1" |
+ }, |
+ "hidden": true, |
+ "commands": [ |
+ { |
+ "name": "setDeviceOrientationOverride", |
+ "description": "Overrides the Device Orientation.", |
+ "parameters": [ |
+ { |
+ "name": "alpha", |
+ "type": "number", |
+ "description": "Mock alpha" |
+ }, |
+ { |
+ "name": "beta", |
+ "type": "number", |
+ "description": "Mock beta" |
+ }, |
+ { |
+ "name": "gamma", |
+ "type": "number", |
+ "description": "Mock gamma" |
+ } |
+ ] |
+ }, |
+ { |
+ "name": "clearDeviceOrientationOverride", |
+ "description": "Clears the overridden Device Orientation." |
+ } |
+ ] |
+} |