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

Side by Side Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2740643002: DevTools: expose length of the stylesheet content in protocol (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorStyleSheet.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": "2" }, 2 "version": { "major": "1", "minor": "2" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "experimental": true, 5 "experimental": 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 2754 matching lines...) Expand 10 before | Expand all | Expand 10 after
2765 { "name": "frameId", "$ref": "Page.FrameId", "description": "Owner frame identifier."}, 2765 { "name": "frameId", "$ref": "Page.FrameId", "description": "Owner frame identifier."},
2766 { "name": "sourceURL", "type": "string", "description": "Sty lesheet resource URL."}, 2766 { "name": "sourceURL", "type": "string", "description": "Sty lesheet resource URL."},
2767 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with the stylesheet (if any)." }, 2767 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with the stylesheet (if any)." },
2768 { "name": "origin", "$ref": "StyleSheetOrigin", "description ": "Stylesheet origin."}, 2768 { "name": "origin", "$ref": "StyleSheetOrigin", "description ": "Stylesheet origin."},
2769 { "name": "title", "type": "string", "description": "Stylesh eet title."}, 2769 { "name": "title", "type": "string", "description": "Stylesh eet title."},
2770 { "name": "ownerNode", "$ref": "DOM.BackendNodeId", "optiona l": true, "description": "The backend id for the owner node of the stylesheet." }, 2770 { "name": "ownerNode", "$ref": "DOM.BackendNodeId", "optiona l": true, "description": "The backend id for the owner node of the stylesheet." },
2771 { "name": "disabled", "type": "boolean", "description": "Den otes whether the stylesheet is disabled."}, 2771 { "name": "disabled", "type": "boolean", "description": "Den otes whether the stylesheet is disabled."},
2772 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "Whether the sourceURL field value comes from the sourceURL co mment." }, 2772 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "Whether the sourceURL field value comes from the sourceURL co mment." },
2773 { "name": "isInline", "type": "boolean", "description": "Whe ther this stylesheet is created for STYLE tag by parser. This flag is not set fo r document.written STYLE tags." }, 2773 { "name": "isInline", "type": "boolean", "description": "Whe ther this stylesheet is created for STYLE tag by parser. This flag is not set fo r document.written STYLE tags." },
2774 { "name": "startLine", "type": "number", "description": "Lin e offset of the stylesheet within the resource (zero based)." }, 2774 { "name": "startLine", "type": "number", "description": "Lin e offset of the stylesheet within the resource (zero based)." },
2775 { "name": "startColumn", "type": "number", "description": "C olumn offset of the stylesheet within the resource (zero based)." } 2775 { "name": "startColumn", "type": "number", "description": "C olumn offset of the stylesheet within the resource (zero based)." },
2776 { "name": "length", "type": "number", "description": "Size o f the content (in characters).", "experimental": true }
2776 ], 2777 ],
2777 "description": "CSS stylesheet metainformation." 2778 "description": "CSS stylesheet metainformation."
2778 }, 2779 },
2779 { 2780 {
2780 "id": "CSSRule", 2781 "id": "CSSRule",
2781 "type": "object", 2782 "type": "object",
2782 "properties": [ 2783 "properties": [
2783 { "name": "styleSheetId", "$ref": "StyleSheetId", "optional" : true, "description": "The css style sheet identifier (absent for user agent st ylesheet and user-specified stylesheet rules) this rule came from." }, 2784 { "name": "styleSheetId", "$ref": "StyleSheetId", "optional" : true, "description": "The css style sheet identifier (absent for user agent st ylesheet and user-specified stylesheet rules) this rule came from." },
2784 { "name": "selectorList", "$ref": "SelectorList", "descripti on": "Rule selector data." }, 2785 { "name": "selectorList", "$ref": "SelectorList", "descripti on": "Rule selector data." },
2785 { "name": "origin", "$ref": "StyleSheetOrigin", "description ": "Parent stylesheet's origin."}, 2786 { "name": "origin", "$ref": "StyleSheetOrigin", "description ": "Parent stylesheet's origin."},
(...skipping 1765 matching lines...) Expand 10 before | Expand all | Expand 10 after
4551 "name": "accepted", 4552 "name": "accepted",
4552 "description": "Informs that port was successfully bound and got a specified connection id.", 4553 "description": "Informs that port was successfully bound and got a specified connection id.",
4553 "parameters": [ 4554 "parameters": [
4554 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, 4555 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." },
4555 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } 4556 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." }
4556 ] 4557 ]
4557 } 4558 }
4558 ] 4559 ]
4559 }] 4560 }]
4560 } 4561 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698