Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 5104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5115 "parameters": [ | 5115 "parameters": [ |
| 5116 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." } | 5116 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." } |
| 5117 ], | 5117 ], |
| 5118 "returns": [ | 5118 "returns": [ |
| 5119 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } | 5119 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } |
| 5120 ], | 5120 ], |
| 5121 "description": "Fetches the accessibility node for this DOM node , if it exists.", | 5121 "description": "Fetches the accessibility node for this DOM node , if it exists.", |
| 5122 "hidden": true | 5122 "hidden": true |
| 5123 } | 5123 } |
| 5124 ] | 5124 ] |
| 5125 }, | |
| 5126 { | |
| 5127 "domain": "Storage", | |
| 5128 "hidden": true, | |
| 5129 "types": [ | |
| 5130 { | |
| 5131 "id": "StorageType", | |
| 5132 "type": "string", | |
| 5133 "enum": [ "appcache", | |
| 5134 "cookies", | |
| 5135 "file_systems", | |
| 5136 "indexeddb", | |
| 5137 "local_storage", | |
| 5138 "shader_cache", | |
| 5139 "websql", | |
| 5140 "webrtc_indetity", | |
| 5141 "service_workers", | |
| 5142 "cache_storage", | |
| 5143 "all" ], | |
| 5144 "description": "Enum of possible storage types." | |
| 5145 } | |
| 5146 ], | |
| 5147 "commands": [ | |
| 5148 { | |
| 5149 "name": "clearDataForOrigin", | |
| 5150 "parameters": [ | |
| 5151 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." }, | |
|
caseq
2016/05/05 23:23:42
Ah, so we've got an enum, but pass it as string?!
pfeldman
2016/05/06 07:24:37
We don't generate them and it is hard for us to pa
| |
| 5152 { "name": "origin", "type": "string", "description": "Securi ty origin." } | |
| 5153 ], | |
| 5154 "description": "Clears storage for origin.", | |
| 5155 "handlers": ["browser"] | |
| 5156 } | |
| 5157 ] | |
| 5125 }] | 5158 }] |
| 5126 } | 5159 } |
| OLD | NEW |