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

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

Issue 14320027: DevTools: Track CSSStyleSheetHeaders in the front-end real time (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for trybots (with [Slow]) Created 7 years, 8 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/StylesSourceMapping.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": "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 2159 matching lines...) Expand 10 before | Expand all | Expand 10 after
2170 { "name": "rootId", "$ref": "NodeId", "description": "Shadow root id." } 2170 { "name": "rootId", "$ref": "NodeId", "description": "Shadow root id." }
2171 ], 2171 ],
2172 "description": "Called when shadow root is popped from the eleme nt.", 2172 "description": "Called when shadow root is popped from the eleme nt.",
2173 "hidden": true 2173 "hidden": true
2174 } 2174 }
2175 ] 2175 ]
2176 }, 2176 },
2177 { 2177 {
2178 "domain": "CSS", 2178 "domain": "CSS",
2179 "hidden": true, 2179 "hidden": true,
2180 "description": "This domain exposes CSS read/write operations. All CSS o bjects, like stylesheets, rules, and styles, have an associated <code>id</code> used in subsequent operations on the related object. Each object type has a spec ific <code>id</code> structure, and those are not interchangeable between object s of different kinds. CSS objects can be loaded using the <code>get*ForNode()</c ode> calls (which accept a DOM node id). Alternatively, a client can discover al l the existing stylesheets with the <code>getAllStyleSheets()</code> method and subsequently load the required stylesheet contents using the <code>getStyleSheet [Text]()</code> methods.", 2180 "description": "This domain exposes CSS read/write operations. All CSS o bjects (stylesheets, rules, and styles) have an associated <code>id</code> used in subsequent operations on the related object. Each object type has a specific <code>id</code> structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using the <code>get*ForNode()</code> calls (which accept a DOM node id). A client can also discover all the existing stylesheets with the <code>getAllStyleSheets()</code> method (or keeping track o f the <code>styleSheetAdded</code>/<code>styleSheetRemoved</code> events) and su bsequently load the required stylesheet contents using the <code>getStyleSheet[T ext]()</code> methods.",
2181 "types": [ 2181 "types": [
2182 { 2182 {
2183 "id": "StyleSheetId", 2183 "id": "StyleSheetId",
2184 "type": "string" 2184 "type": "string"
2185 }, 2185 },
2186 { 2186 {
2187 "id": "CSSStyleId", 2187 "id": "CSSStyleId",
2188 "type": "object", 2188 "type": "object",
2189 "properties": [ 2189 "properties": [
2190 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti on": "Enclosing stylesheet identifier." }, 2190 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti on": "Enclosing stylesheet identifier." },
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
2589 "description": "Fires whenever a MediaQuery result changes (for example, after a browser window has been resized.) The current implementation co nsiders only viewport-dependent media features." 2589 "description": "Fires whenever a MediaQuery result changes (for example, after a browser window has been resized.) The current implementation co nsiders only viewport-dependent media features."
2590 }, 2590 },
2591 { 2591 {
2592 "name": "styleSheetChanged", 2592 "name": "styleSheetChanged",
2593 "parameters": [ 2593 "parameters": [
2594 { "name": "styleSheetId", "$ref": "StyleSheetId" } 2594 { "name": "styleSheetId", "$ref": "StyleSheetId" }
2595 ], 2595 ],
2596 "description": "Fired whenever a stylesheet is changed as a resu lt of the client operation." 2596 "description": "Fired whenever a stylesheet is changed as a resu lt of the client operation."
2597 }, 2597 },
2598 { 2598 {
2599 "name": "styleSheetAdded",
2600 "parameters": [
2601 { "name": "header", "$ref": "CSSStyleSheetHeader", "descript ion": "Added stylesheet metainfo." }
2602 ],
2603 "description": "Fired whenever an active document stylesheet is added."
2604 },
2605 {
2606 "name": "styleSheetRemoved",
2607 "parameters": [
2608 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti on": "Identifier of the removed stylesheet." }
2609 ],
2610 "description": "Fired whenever an active document stylesheet is removed."
2611 },
2612 {
2599 "name": "namedFlowCreated", 2613 "name": "namedFlowCreated",
2600 "parameters": [ 2614 "parameters": [
2601 { "name": "namedFlow", "$ref": "NamedFlow", "description": " The new Named Flow." } 2615 { "name": "namedFlow", "$ref": "NamedFlow", "description": " The new Named Flow." }
2602 ], 2616 ],
2603 "description": "Fires when a Named Flow is created.", 2617 "description": "Fires when a Named Flow is created.",
2604 "hidden": true 2618 "hidden": true
2605 }, 2619 },
2606 { 2620 {
2607 "name": "namedFlowRemoved", 2621 "name": "namedFlowRemoved",
2608 "parameters": [ 2622 "parameters": [
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after
3683 ] 3697 ]
3684 } 3698 }
3685 ], 3699 ],
3686 "events": [ 3700 "events": [
3687 { 3701 {
3688 "name": "layerTreeDidChange" 3702 "name": "layerTreeDidChange"
3689 } 3703 }
3690 ] 3704 ]
3691 }] 3705 }]
3692 } 3706 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/StylesSourceMapping.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698