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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
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 1766 matching lines...) Expand 10 before | Expand all | Expand 10 after
1777 "type": "object", 1777 "type": "object",
1778 "properties": [ 1778 "properties": [
1779 { "name": "showInfo", "type": "boolean", "optional": true, " description": "Whether the node info tooltip should be shown (default: false)." }, 1779 { "name": "showInfo", "type": "boolean", "optional": true, " description": "Whether the node info tooltip should be shown (default: false)." },
1780 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." }, 1780 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." },
1781 { "name": "paddingColor", "$ref": "RGBA", "optional": true, "description": "The padding highlight fill color (default: transparent)." }, 1781 { "name": "paddingColor", "$ref": "RGBA", "optional": true, "description": "The padding highlight fill color (default: transparent)." },
1782 { "name": "borderColor", "$ref": "RGBA", "optional": true, " description": "The border highlight fill color (default: transparent)." }, 1782 { "name": "borderColor", "$ref": "RGBA", "optional": true, " description": "The border highlight fill color (default: transparent)." },
1783 { "name": "marginColor", "$ref": "RGBA", "optional": true, " description": "The margin highlight fill color (default: transparent)." }, 1783 { "name": "marginColor", "$ref": "RGBA", "optional": true, " description": "The margin highlight fill color (default: transparent)." },
1784 { "name": "eventTargetColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The event target element highlight fill colo r (default: transparent)." } 1784 { "name": "eventTargetColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The event target element highlight fill colo r (default: transparent)." }
1785 ], 1785 ],
1786 "description": "Configuration data for the highlighting of page elements." 1786 "description": "Configuration data for the highlighting of page elements."
1787 },
1788 {
1789 "id": "TextNodePlatformFonts",
pfeldman 2013/08/16 08:16:48 hidden: true
1790 "type": "object",
1791 "properties": [
1792 { "name": "text", "type": "string", "description": "TextNode s's rendered text"},
1793 { "name": "fonts", "type": "array", "items": { "type": "stri ng"}, "description": "Font family name for every character of rendered text"}
1794 ],
1795 "description": "Information about platform fonts which were used to render characters for a TextNode"
1787 } 1796 }
1788 ], 1797 ],
1789 "commands": [ 1798 "commands": [
1790 { 1799 {
1791 "name": "getDocument", 1800 "name": "getDocument",
1792 "returns": [ 1801 "returns": [
1793 { "name": "root", "$ref": "Node", "description": "Resulting node." } 1802 { "name": "root", "$ref": "Node", "description": "Resulting node." }
1794 ], 1803 ],
1795 "description": "Returns the root DOM node to the caller." 1804 "description": "Returns the root DOM node to the caller."
1796 }, 1805 },
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1997 "name": "highlightFrame", 2006 "name": "highlightFrame",
1998 "parameters": [ 2007 "parameters": [
1999 { "name": "frameId", "$ref": "Network.FrameId", "description ": "Identifier of the frame to highlight." }, 2008 { "name": "frameId", "$ref": "Network.FrameId", "description ": "Identifier of the frame to highlight." },
2000 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." }, 2009 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." },
2001 { "name": "contentOutlineColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight outline color (default: transpa rent)." } 2010 { "name": "contentOutlineColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight outline color (default: transpa rent)." }
2002 ], 2011 ],
2003 "description": "Highlights owner element of the frame with given id.", 2012 "description": "Highlights owner element of the frame with given id.",
2004 "hidden": true 2013 "hidden": true
2005 }, 2014 },
2006 { 2015 {
2016 "name": "getPlatformFontsForNode",
pfeldman 2013/08/16 08:16:48 It looks more like CSS
2017 "parameters": [
2018 { "name": "nodeId", "$ref": "NodeId" }
2019 ],
2020 "returns": [
2021 { "name": "textNodeList", "type": "array", "items": { "$ref" : "TextNodePlatformFonts"}, "description": "Platform fonts information about eve ry child TextNode." }
pfeldman 2013/08/16 08:16:48 name: "fonts"
2022 ],
2023 "description": "Requests font information for every child text n ode.",
2024 "hidden": true
2025 },
2026 {
2007 "name": "pushNodeByPathToFrontend", 2027 "name": "pushNodeByPathToFrontend",
2008 "parameters": [ 2028 "parameters": [
2009 { "name": "path", "type": "string", "description": "Path to node in the proprietary format." } 2029 { "name": "path", "type": "string", "description": "Path to node in the proprietary format." }
2010 ], 2030 ],
2011 "returns": [ 2031 "returns": [
2012 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node for given path." } 2032 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node for given path." }
2013 ], 2033 ],
2014 "description": "Requests that the node is sent to the caller giv en its path. // FIXME, use XPath", 2034 "description": "Requests that the node is sent to the caller giv en its path. // FIXME, use XPath",
2015 "hidden": true 2035 "hidden": true
2016 }, 2036 },
(...skipping 1796 matching lines...) Expand 10 before | Expand all | Expand 10 after
3813 "parameters": [ 3833 "parameters": [
3814 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 3834 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
3815 ] 3835 ]
3816 }, 3836 },
3817 { 3837 {
3818 "name": "tracingComplete" 3838 "name": "tracingComplete"
3819 } 3839 }
3820 ] 3840 ]
3821 }] 3841 }]
3822 } 3842 }
OLDNEW
« 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