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

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

Issue 45363004: DevTools: explicitly control support for viewport meta tag so that desktop emulation was possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review comments addressed. Created 7 years, 1 month 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/devtools/front_end/Settings.js ('k') | Source/web/InspectorClientImpl.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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 ], 309 ],
310 "hidden": true 310 "hidden": true
311 }, 311 },
312 { 312 {
313 "name": "setDeviceMetricsOverride", 313 "name": "setDeviceMetricsOverride",
314 "description": "Overrides the values of device screen dimensions (window.screen.width, window.screen.height, window.innerWidth, window.innerHeig ht, and \"device-width\"/\"device-height\"-related CSS media query results) and the font scale factor.", 314 "description": "Overrides the values of device screen dimensions (window.screen.width, window.screen.height, window.innerWidth, window.innerHeig ht, and \"device-width\"/\"device-height\"-related CSS media query results) and the font scale factor.",
315 "parameters": [ 315 "parameters": [
316 { "name": "width", "type": "integer", "description": "Overri ding width value in pixels (minimum 0, maximum 10000000). 0 disables the overrid e." }, 316 { "name": "width", "type": "integer", "description": "Overri ding width value in pixels (minimum 0, maximum 10000000). 0 disables the overrid e." },
317 { "name": "height", "type": "integer", "description": "Overr iding height value in pixels (minimum 0, maximum 10000000). 0 disables the overr ide." }, 317 { "name": "height", "type": "integer", "description": "Overr iding height value in pixels (minimum 0, maximum 10000000). 0 disables the overr ide." },
318 { "name": "deviceScaleFactor", "type": "number", "descriptio n": "Overriding device scale factor value (must be positive)." }, 318 { "name": "deviceScaleFactor", "type": "number", "descriptio n": "Overriding device scale factor value (must be positive)." },
319 { "name": "emulateViewport", "type": "boolean", "description ": "Whether viewport meta tag should be respected." },
319 { "name": "fitWindow", "type": "boolean", "description": "Wh ether a view that exceeds the available browser window area should be scaled dow n to fit." }, 320 { "name": "fitWindow", "type": "boolean", "description": "Wh ether a view that exceeds the available browser window area should be scaled dow n to fit." },
320 { "name": "textAutosizing", "type": "boolean", "optional": t rue, "description": "Whether to override the text autosizing feature." }, 321 { "name": "textAutosizing", "type": "boolean", "optional": t rue, "description": "Whether to override the text autosizing feature." },
321 { "name": "fontScaleFactor", "type": "number", "optional": t rue, "description": "Overriding system font scale factor (must be positive)." } 322 { "name": "fontScaleFactor", "type": "number", "optional": t rue, "description": "Overriding system font scale factor (must be positive)." }
322 ], 323 ],
323 "hidden": true 324 "hidden": true
324 }, 325 },
325 { 326 {
326 "name": "setShowPaintRects", 327 "name": "setShowPaintRects",
327 "description": "Requests that backend shows paint rectangles", 328 "description": "Requests that backend shows paint rectangles",
328 "parameters": [ 329 "parameters": [
(...skipping 3714 matching lines...) Expand 10 before | Expand all | Expand 10 after
4043 "parameters": [ 4044 "parameters": [
4044 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 4045 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
4045 ] 4046 ]
4046 }, 4047 },
4047 { 4048 {
4048 "name": "tracingComplete" 4049 "name": "tracingComplete"
4049 } 4050 }
4050 ] 4051 ]
4051 }] 4052 }]
4052 } 4053 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/Settings.js ('k') | Source/web/InspectorClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698