Chromium Code Reviews| Index: Source/devtools/protocol.json |
| diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
| index b4bb75f7b4896efcf9cf649e83e2290fec027406..770be0e1fe6130113386b0821f0821444990a503 100644 |
| --- a/Source/devtools/protocol.json |
| +++ b/Source/devtools/protocol.json |
| @@ -1784,6 +1784,15 @@ |
| { "name": "eventTargetColor", "$ref": "RGBA", "optional": true, "hidden": true, "description": "The event target element highlight fill color (default: transparent)." } |
| ], |
| "description": "Configuration data for the highlighting of page elements." |
| + }, |
| + { |
| + "id": "TextNodePlatformFonts", |
|
pfeldman
2013/08/16 08:16:48
hidden: true
|
| + "type": "object", |
| + "properties": [ |
| + { "name": "text", "type": "string", "description": "TextNodes's rendered text"}, |
| + { "name": "fonts", "type": "array", "items": { "type": "string"}, "description": "Font family name for every character of rendered text"} |
| + ], |
| + "description": "Information about platform fonts which were used to render characters for a TextNode" |
| } |
| ], |
| "commands": [ |
| @@ -2004,6 +2013,17 @@ |
| "hidden": true |
| }, |
| { |
| + "name": "getPlatformFontsForNode", |
|
pfeldman
2013/08/16 08:16:48
It looks more like CSS
|
| + "parameters": [ |
| + { "name": "nodeId", "$ref": "NodeId" } |
| + ], |
| + "returns": [ |
| + { "name": "textNodeList", "type": "array", "items": { "$ref": "TextNodePlatformFonts"}, "description": "Platform fonts information about every child TextNode." } |
|
pfeldman
2013/08/16 08:16:48
name: "fonts"
|
| + ], |
| + "description": "Requests font information for every child text node.", |
| + "hidden": true |
| + }, |
| + { |
| "name": "pushNodeByPathToFrontend", |
| "parameters": [ |
| { "name": "path", "type": "string", "description": "Path to node in the proprietary format." } |