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

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

Issue 22903030: DevTools: CSS.getPlatformFontsForNode to return a cssFamilyName as well (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed description Created 7 years, 4 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/InspectorCSSAgent.cpp ('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": "0" }, 2 "version": { "major": "1", "minor": "0" },
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 2507 matching lines...) Expand 10 before | Expand all | Expand 10 after
2518 { "name": "computedStyle", "type": "array", "items": { "$ref ": "CSSComputedStyleProperty" }, "description": "Computed style for the specifie d DOM node." } 2518 { "name": "computedStyle", "type": "array", "items": { "$ref ": "CSSComputedStyleProperty" }, "description": "Computed style for the specifie d DOM node." }
2519 ], 2519 ],
2520 "description": "Returns the computed style for a DOM node identi fied by <code>nodeId</code>." 2520 "description": "Returns the computed style for a DOM node identi fied by <code>nodeId</code>."
2521 }, 2521 },
2522 { 2522 {
2523 "name": "getPlatformFontsForNode", 2523 "name": "getPlatformFontsForNode",
2524 "parameters": [ 2524 "parameters": [
2525 { "name": "nodeId", "$ref": "DOM.NodeId" } 2525 { "name": "nodeId", "$ref": "DOM.NodeId" }
2526 ], 2526 ],
2527 "returns": [ 2527 "returns": [
2528 { "name": "cssFamilyName", "type": "string", "description": "Font family name which is determined by computed style." },
2528 { "name": "fonts", "type": "array", "items": { "$ref": "Plat formFontUsage"}, "description": "Usage statistics for every employed platform fo nt." } 2529 { "name": "fonts", "type": "array", "items": { "$ref": "Plat formFontUsage"}, "description": "Usage statistics for every employed platform fo nt." }
2529 ], 2530 ],
2530 "description": "Requests information about platform fonts which we used to render child TextNodes in the given node.", 2531 "description": "Requests information about platform fonts which we used to render child TextNodes in the given node.",
2531 "hidden": true 2532 "hidden": true
2532 }, 2533 },
2533 { 2534 {
2534 "name": "getAllStyleSheets", 2535 "name": "getAllStyleSheets",
2535 "returns": [ 2536 "returns": [
2536 { "name": "headers", "type": "array", "items": { "$ref": "CS SStyleSheetHeader" }, "description": "Descriptor entries for all available style sheets." } 2537 { "name": "headers", "type": "array", "items": { "$ref": "CS SStyleSheetHeader" }, "description": "Descriptor entries for all available style sheets." }
2537 ], 2538 ],
(...skipping 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after
3879 "parameters": [ 3880 "parameters": [
3880 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 3881 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
3881 ] 3882 ]
3882 }, 3883 },
3883 { 3884 {
3884 "name": "tracingComplete" 3885 "name": "tracingComplete"
3885 } 3886 }
3886 ] 3887 ]
3887 }] 3888 }]
3888 } 3889 }
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorCSSAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698