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

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

Issue 345723003: [DevTools] Separate text autosizing from device metrics override. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: compile fix Created 6 years, 5 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/devtools/front_end/ui/SettingsUI.js ('k') | no next file » | 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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 "name": "setDocumentContent", 332 "name": "setDocumentContent",
333 "description": "Sets given markup as the document's HTML.", 333 "description": "Sets given markup as the document's HTML.",
334 "parameters": [ 334 "parameters": [
335 { "name": "frameId", "$ref": "FrameId", "description": "Fram e id to set HTML for." }, 335 { "name": "frameId", "$ref": "FrameId", "description": "Fram e id to set HTML for." },
336 { "name": "html", "type": "string", "description": "HTML con tent to set." } 336 { "name": "html", "type": "string", "description": "HTML con tent to set." }
337 ], 337 ],
338 "hidden": true 338 "hidden": true
339 }, 339 },
340 { 340 {
341 "name": "setDeviceMetricsOverride", 341 "name": "setDeviceMetricsOverride",
342 "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.", 342 "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).",
343 "parameters": [ 343 "parameters": [
344 { "name": "width", "type": "integer", "description": "Overri ding width value in pixels (minimum 0, maximum 10000000). 0 disables the overrid e." }, 344 { "name": "width", "type": "integer", "description": "Overri ding width value in pixels (minimum 0, maximum 10000000). 0 disables the overrid e." },
345 { "name": "height", "type": "integer", "description": "Overr iding height value in pixels (minimum 0, maximum 10000000). 0 disables the overr ide." }, 345 { "name": "height", "type": "integer", "description": "Overr iding height value in pixels (minimum 0, maximum 10000000). 0 disables the overr ide." },
346 { "name": "deviceScaleFactor", "type": "number", "descriptio n": "Overriding device scale factor value. 0 disables the override." }, 346 { "name": "deviceScaleFactor", "type": "number", "descriptio n": "Overriding device scale factor value. 0 disables the override." },
347 { "name": "emulateViewport", "type": "boolean", "description ": "Whether viewport meta tag should be respected." }, 347 { "name": "emulateViewport", "type": "boolean", "description ": "Whether viewport meta tag should be respected." },
348 { "name": "fitWindow", "type": "boolean", "description": "Wh ether a view that exceeds the available browser window area should be scaled dow n to fit." }, 348 { "name": "fitWindow", "type": "boolean", "description": "Wh ether a view that exceeds the available browser window area should be scaled dow n to fit." },
349 { "name": "scale", "type": "number", "optional": true, "desc ription": "Scale to apply to resulting view image. Ignored in |fitWindow| mode." }, 349 { "name": "scale", "type": "number", "optional": true, "desc ription": "Scale to apply to resulting view image. Ignored in |fitWindow| mode." },
350 { "name": "offsetX", "type": "number", "optional": true, "de scription": "X offset to shift resulting view image by. Ignored in |fitWindow| m ode." }, 350 { "name": "offsetX", "type": "number", "optional": true, "de scription": "X offset to shift resulting view image by. Ignored in |fitWindow| m ode." },
351 { "name": "offsetY", "type": "number", "optional": true, "de scription": "Y offset to shift resulting view image by. Ignored in |fitWindow| m ode." }, 351 { "name": "offsetY", "type": "number", "optional": true, "de scription": "Y offset to shift resulting view image by. Ignored in |fitWindow| m ode." }
352 { "name": "textAutosizing", "type": "boolean", "optional": t rue, "description": "Whether to override the text autosizing feature." },
353 { "name": "fontScaleFactor", "type": "number", "optional": t rue, "description": "Overriding system font scale factor (must be positive)." }
354 ], 352 ],
355 "hidden": true 353 "hidden": true
356 }, 354 },
357 { 355 {
358 "name": "clearDeviceMetricsOverride", 356 "name": "clearDeviceMetricsOverride",
359 "description": "Clears the overriden device metrics.", 357 "description": "Clears the overriden device metrics.",
360 "hidden": true 358 "hidden": true
361 }, 359 },
362 { 360 {
363 "name": "setShowPaintRects", 361 "name": "setShowPaintRects",
(...skipping 3847 matching lines...) Expand 10 before | Expand all | Expand 10 after
4211 { 4209 {
4212 "name": "dataAvailable", 4210 "name": "dataAvailable",
4213 "parameters": [ 4211 "parameters": [
4214 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4212 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4215 ], 4213 ],
4216 "handlers": ["browser", "frontend"] 4214 "handlers": ["browser", "frontend"]
4217 } 4215 }
4218 ] 4216 ]
4219 }] 4217 }]
4220 } 4218 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ui/SettingsUI.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698