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

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

Issue 2956003002: DevTools: fix description of CSS domain in browser_protocol.json (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | 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 2816 matching lines...) Expand 10 before | Expand all | Expand 10 after
2827 { "name": "distributedNodes", "type": "array", "items": { "$ ref": "BackendNode" }, "description": "Distributed nodes for given insertion poi nt." } 2827 { "name": "distributedNodes", "type": "array", "items": { "$ ref": "BackendNode" }, "description": "Distributed nodes for given insertion poi nt." }
2828 ], 2828 ],
2829 "description": "Called when distrubution is changed.", 2829 "description": "Called when distrubution is changed.",
2830 "experimental": true 2830 "experimental": true
2831 } 2831 }
2832 ] 2832 ]
2833 }, 2833 },
2834 { 2834 {
2835 "domain": "CSS", 2835 "domain": "CSS",
2836 "experimental": true, 2836 "experimental": true,
2837 "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.", 2837 "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 keep track of stylesheets via the <code>styleSheetAdded</code>/<code>styleSheetRemoved</code> events and s ubsequently load the required stylesheet contents using the <code>getStyleSheet[ Text]()</code> methods.",
2838 "dependencies": ["DOM"], 2838 "dependencies": ["DOM"],
2839 "types": [ 2839 "types": [
2840 { 2840 {
2841 "id": "StyleSheetId", 2841 "id": "StyleSheetId",
2842 "type": "string" 2842 "type": "string"
2843 }, 2843 },
2844 { 2844 {
2845 "id": "StyleSheetOrigin", 2845 "id": "StyleSheetOrigin",
2846 "type": "string", 2846 "type": "string",
2847 "enum": ["injected", "user-agent", "inspector", "regular"], 2847 "enum": ["injected", "user-agent", "inspector", "regular"],
(...skipping 1979 matching lines...) Expand 10 before | Expand all | Expand 10 after
4827 "parameters": [ 4827 "parameters": [
4828 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } 4828 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." }
4829 ], 4829 ],
4830 "returns": [ 4830 "returns": [
4831 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } 4831 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." }
4832 ] 4832 ]
4833 } 4833 }
4834 ] 4834 ]
4835 }] 4835 }]
4836 } 4836 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698