Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Side by Side Diff: Source/devtools/protocol.json

Issue 1003243002: [DevTools] Cleanup after reversing emulation flow. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/inspector/InspectorPageAgent.cpp ('k') | Source/web/DevToolsEmulator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 "parameters": [ 322 "parameters": [
323 { "name": "width", "type": "integer", "description": "Overri ding width value in pixels (minimum 0, maximum 10000000). 0 disables the overrid e." }, 323 { "name": "width", "type": "integer", "description": "Overri ding width value in pixels (minimum 0, maximum 10000000). 0 disables the overrid e." },
324 { "name": "height", "type": "integer", "description": "Overr iding height value in pixels (minimum 0, maximum 10000000). 0 disables the overr ide." }, 324 { "name": "height", "type": "integer", "description": "Overr iding height value in pixels (minimum 0, maximum 10000000). 0 disables the overr ide." },
325 { "name": "deviceScaleFactor", "type": "number", "descriptio n": "Overriding device scale factor value. 0 disables the override." }, 325 { "name": "deviceScaleFactor", "type": "number", "descriptio n": "Overriding device scale factor value. 0 disables the override." },
326 { "name": "mobile", "type": "boolean", "description": "Wheth er to emulate mobile device. This includes viewport meta tag, overlay scrollbars , text autosizing and more." }, 326 { "name": "mobile", "type": "boolean", "description": "Wheth er to emulate mobile device. This includes viewport meta tag, overlay scrollbars , text autosizing and more." },
327 { "name": "fitWindow", "type": "boolean", "description": "Wh ether a view that exceeds the available browser window area should be scaled dow n to fit." }, 327 { "name": "fitWindow", "type": "boolean", "description": "Wh ether a view that exceeds the available browser window area should be scaled dow n to fit." },
328 { "name": "scale", "type": "number", "optional": true, "desc ription": "Scale to apply to resulting view image. Ignored in |fitWindow| mode." }, 328 { "name": "scale", "type": "number", "optional": true, "desc ription": "Scale to apply to resulting view image. Ignored in |fitWindow| mode." },
329 { "name": "offsetX", "type": "number", "optional": true, "de scription": "X offset to shift resulting view image by. Ignored in |fitWindow| m ode." }, 329 { "name": "offsetX", "type": "number", "optional": true, "de scription": "X offset to shift resulting view image by. Ignored in |fitWindow| m ode." },
330 { "name": "offsetY", "type": "number", "optional": true, "de scription": "Y offset to shift resulting view image by. Ignored in |fitWindow| m ode." } 330 { "name": "offsetY", "type": "number", "optional": true, "de scription": "Y offset to shift resulting view image by. Ignored in |fitWindow| m ode." }
331 ], 331 ],
332 "handlers": ["browser", "renderer"], 332 "handlers": ["browser"],
333 "hidden": true 333 "hidden": true
334 }, 334 },
335 { 335 {
336 "name": "clearDeviceMetricsOverride", 336 "name": "clearDeviceMetricsOverride",
337 "description": "Clears the overriden device metrics.", 337 "description": "Clears the overriden device metrics.",
338 "handlers": ["browser", "renderer"], 338 "handlers": ["browser"],
339 "hidden": true 339 "hidden": true
340 }, 340 },
341 { 341 {
342 "name": "resetScrollAndPageScaleFactor", 342 "name": "resetScrollAndPageScaleFactor",
343 "description": "Requests that scroll offsets and page scale fact or are reset to initial values.", 343 "description": "Requests that scroll offsets and page scale fact or are reset to initial values.",
344 "hidden": true 344 "hidden": true
345 }, 345 },
346 { 346 {
347 "name": "setPageScaleFactor", 347 "name": "setPageScaleFactor",
348 "description": "Sets a specified page scale factor.", 348 "description": "Sets a specified page scale factor.",
(...skipping 4559 matching lines...) Expand 10 before | Expand all | Expand 10 after
4908 ], 4908 ],
4909 "returns": [ 4909 "returns": [
4910 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 4910 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
4911 ], 4911 ],
4912 "description": "Fetches the accessibility node for this DOM node , if it exists.", 4912 "description": "Fetches the accessibility node for this DOM node , if it exists.",
4913 "hidden": true 4913 "hidden": true
4914 } 4914 }
4915 ] 4915 ]
4916 }] 4916 }]
4917 } 4917 }
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorPageAgent.cpp ('k') | Source/web/DevToolsEmulator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698