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

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

Issue 1350183004: DevTools: CSS.getMatchedStylesForNode protocol command to return inline styles (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix tests Created 5 years, 3 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/devtools/front_end/sdk/CSSStyleModel.js ('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": "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 3090 matching lines...) Expand 10 before | Expand all | Expand 10 after
3101 { 3101 {
3102 "name": "disable", 3102 "name": "disable",
3103 "description": "Disables the CSS agent for the given page." 3103 "description": "Disables the CSS agent for the given page."
3104 }, 3104 },
3105 { 3105 {
3106 "name": "getMatchedStylesForNode", 3106 "name": "getMatchedStylesForNode",
3107 "parameters": [ 3107 "parameters": [
3108 { "name": "nodeId", "$ref": "DOM.NodeId" } 3108 { "name": "nodeId", "$ref": "DOM.NodeId" }
3109 ], 3109 ],
3110 "returns": [ 3110 "returns": [
3111 { "name": "inlineStyle", "$ref": "CSSStyle", "optional": tru e, "description": "Inline style for the specified DOM node." },
3112 { "name": "attributesStyle", "$ref": "CSSStyle", "optional": true, "description": "Attribute-defined element style (e.g. resulting from \"wi dth=20 height=100%\")."},
3111 { "name": "matchedCSSRules", "type": "array", "items": { "$r ef": "RuleMatch" }, "optional": true, "description": "CSS rules matching this no de, from all applicable stylesheets." }, 3113 { "name": "matchedCSSRules", "type": "array", "items": { "$r ef": "RuleMatch" }, "optional": true, "description": "CSS rules matching this no de, from all applicable stylesheets." },
3112 { "name": "pseudoElements", "type": "array", "items": { "$re f": "PseudoIdMatches" }, "optional": true, "description": "Pseudo style matches for this node." }, 3114 { "name": "pseudoElements", "type": "array", "items": { "$re f": "PseudoIdMatches" }, "optional": true, "description": "Pseudo style matches for this node." },
3113 { "name": "inherited", "type": "array", "items": { "$ref": " InheritedStyleEntry" }, "optional": true, "description": "A chain of inherited s tyles (from the immediate node parent up to the DOM tree root)." } 3115 { "name": "inherited", "type": "array", "items": { "$ref": " InheritedStyleEntry" }, "optional": true, "description": "A chain of inherited s tyles (from the immediate node parent up to the DOM tree root)." }
3114 ], 3116 ],
3115 "description": "Returns requested styles for a DOM node identifi ed by <code>nodeId</code>." 3117 "description": "Returns requested styles for a DOM node identifi ed by <code>nodeId</code>."
3116 }, 3118 },
3117 { 3119 {
3118 "name": "getInlineStylesForNode", 3120 "name": "getInlineStylesForNode",
3119 "parameters": [ 3121 "parameters": [
3120 { "name": "nodeId", "$ref": "DOM.NodeId" } 3122 { "name": "nodeId", "$ref": "DOM.NodeId" }
(...skipping 2129 matching lines...) Expand 10 before | Expand all | Expand 10 after
5250 ], 5252 ],
5251 "returns": [ 5253 "returns": [
5252 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5254 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5253 ], 5255 ],
5254 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5256 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5255 "hidden": true 5257 "hidden": true
5256 } 5258 }
5257 ] 5259 ]
5258 }] 5260 }]
5259 } 5261 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/CSSStyleModel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698