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

Unified Diff: Source/devtools/protocol.json

Issue 22923010: DevTools: Add CSS.getPlatformFontsForNode in protocol.json (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 side-by-side diff with in-line comments
Download patch
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." }
« Source/core/inspector/InspectorDOMAgent.cpp ('K') | « Source/core/rendering/InlineTextBox.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698