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

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: 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
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 2151 matching lines...) Expand 10 before | Expand all | Expand 10 after
2162 { "name": "rootId", "$ref": "NodeId", "description": "Shadow root id." } 2162 { "name": "rootId", "$ref": "NodeId", "description": "Shadow root id." }
2163 ], 2163 ],
2164 "description": "Called when shadow root is popped from the eleme nt.", 2164 "description": "Called when shadow root is popped from the eleme nt.",
2165 "hidden": true 2165 "hidden": true
2166 } 2166 }
2167 ] 2167 ]
2168 }, 2168 },
2169 { 2169 {
2170 "domain": "CSS", 2170 "domain": "CSS",
2171 "hidden": true, 2171 "hidden": true,
2172 "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.", 2172 "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.",
2173 "types": [ 2173 "types": [
2174 { 2174 {
2175 "id": "StyleSheetId", 2175 "id": "StyleSheetId",
2176 "type": "string" 2176 "type": "string"
2177 }, 2177 },
2178 { 2178 {
2179 "id": "CSSStyleId", 2179 "id": "CSSStyleId",
2180 "type": "object", 2180 "type": "object",
2181 "properties": [ 2181 "properties": [
2182 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti on": "Enclosing stylesheet identifier." }, 2182 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti on": "Enclosing stylesheet identifier." },
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
2581 "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." 2581 "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."
2582 }, 2582 },
2583 { 2583 {
2584 "name": "styleSheetChanged", 2584 "name": "styleSheetChanged",
2585 "parameters": [ 2585 "parameters": [
2586 { "name": "styleSheetId", "$ref": "StyleSheetId" } 2586 { "name": "styleSheetId", "$ref": "StyleSheetId" }
2587 ], 2587 ],
2588 "description": "Fired whenever a stylesheet is changed as a resu lt of the client operation." 2588 "description": "Fired whenever a stylesheet is changed as a resu lt of the client operation."
2589 }, 2589 },
2590 { 2590 {
2591 "name": "styleSheetAdded",
2592 "parameters": [
2593 { "name": "header", "$ref": "CSSStyleSheetHeader", "descript ion": "Added stylesheet metainfo." }
2594 ],
2595 "description": "Fired whenever an active document stylesheet is added."
2596 },
2597 {
2598 "name": "styleSheetRemoved",
2599 "parameters": [
2600 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti on": "Identifier of the removed stylesheet." }
2601 ],
2602 "description": "Fired whenever an active document stylesheet is removed."
2603 },
2604 {
2591 "name": "namedFlowCreated", 2605 "name": "namedFlowCreated",
2592 "parameters": [ 2606 "parameters": [
2593 { "name": "namedFlow", "$ref": "NamedFlow", "description": " The new Named Flow." } 2607 { "name": "namedFlow", "$ref": "NamedFlow", "description": " The new Named Flow." }
2594 ], 2608 ],
2595 "description": "Fires when a Named Flow is created.", 2609 "description": "Fires when a Named Flow is created.",
2596 "hidden": true 2610 "hidden": true
2597 }, 2611 },
2598 { 2612 {
2599 "name": "namedFlowRemoved", 2613 "name": "namedFlowRemoved",
2600 "parameters": [ 2614 "parameters": [
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after
3675 ] 3689 ]
3676 } 3690 }
3677 ], 3691 ],
3678 "events": [ 3692 "events": [
3679 { 3693 {
3680 "name": "layerTreeDidChange" 3694 "name": "layerTreeDidChange"
3681 } 3695 }
3682 ] 3696 ]
3683 }] 3697 }]
3684 } 3698 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698