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

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

Issue 26929003: Add text autosizing override in the inspector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address reviewer comments Created 7 years, 2 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
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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 ], 333 ],
334 "hidden": true 334 "hidden": true
335 }, 335 },
336 { 336 {
337 "name": "setDeviceMetricsOverride", 337 "name": "setDeviceMetricsOverride",
338 "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.", 338 "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.",
339 "parameters": [ 339 "parameters": [
340 { "name": "width", "type": "integer", "description": "Overri ding width value in pixels (minimum 0, maximum 10000000). 0 disables the overrid e." }, 340 { "name": "width", "type": "integer", "description": "Overri ding width value in pixels (minimum 0, maximum 10000000). 0 disables the overrid e." },
341 { "name": "height", "type": "integer", "description": "Overr iding height value in pixels (minimum 0, maximum 10000000). 0 disables the overr ide." }, 341 { "name": "height", "type": "integer", "description": "Overr iding height value in pixels (minimum 0, maximum 10000000). 0 disables the overr ide." },
342 { "name": "deviceScaleFactor", "type": "number", "descriptio n": "Overriding device scale factor value (must be positive)." }, 342 { "name": "deviceScaleFactor", "type": "number", "descriptio n": "Overriding device scale factor value (must be positive)." },
343 { "name": "fitWindow", "type": "boolean", "description": "Wh ether a view that exceeds the available browser window area should be scaled dow n to fit." } 343 { "name": "fitWindow", "type": "boolean", "description": "Wh ether a view that exceeds the available browser window area should be scaled dow n to fit." },
344 { "name": "textAutosizing", "type": "boolean", "description" : "Whether to override the text autosizing feature." }
pfeldman 2013/10/18 12:01:26 We'll have to do that "optional": true, but that c
pdr. 2013/10/18 18:46:09 Filed crbug.com/309094 and assigned it to myself.
344 ], 345 ],
345 "hidden": true 346 "hidden": true
346 }, 347 },
347 { 348 {
348 "name": "setShowPaintRects", 349 "name": "setShowPaintRects",
349 "description": "Requests that backend shows paint rectangles", 350 "description": "Requests that backend shows paint rectangles",
350 "parameters": [ 351 "parameters": [
351 { "name": "result", "type": "boolean", "description": "True for showing paint rectangles" } 352 { "name": "result", "type": "boolean", "description": "True for showing paint rectangles" }
352 ], 353 ],
353 "hidden": true 354 "hidden": true
(...skipping 3702 matching lines...) Expand 10 before | Expand all | Expand 10 after
4056 "parameters": [ 4057 "parameters": [
4057 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 4058 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
4058 ] 4059 ]
4059 }, 4060 },
4060 { 4061 {
4061 "name": "tracingComplete" 4062 "name": "tracingComplete"
4062 } 4063 }
4063 ] 4064 ]
4064 }] 4065 }]
4065 } 4066 }
OLDNEW
« Source/core/inspector/InspectorPageAgent.cpp ('K') | « Source/devtools/front_end/OverridesView.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698