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

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

Issue 1702673002: DevTools: migrate remote debugging protocol generators to jinja2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 { "name": "url", "type": "string", "description": "URL to na vigate the page to." } 227 { "name": "url", "type": "string", "description": "URL to na vigate the page to." }
228 ], 228 ],
229 "returns": [ 229 "returns": [
230 { "name": "frameId", "$ref": "FrameId", "hidden": true, "des cription": "Frame id that will be navigated." } 230 { "name": "frameId", "$ref": "FrameId", "hidden": true, "des cription": "Frame id that will be navigated." }
231 ], 231 ],
232 "description": "Navigates current page to the given URL.", 232 "description": "Navigates current page to the given URL.",
233 "handlers": ["browser", "renderer"] 233 "handlers": ["browser", "renderer"]
234 }, 234 },
235 { 235 {
236 "name": "getNavigationHistory", 236 "name": "getNavigationHistory",
237 "parameters": [],
238 "returns": [ 237 "returns": [
239 { "name": "currentIndex", "type": "integer", "description": "Ind ex of the current navigation history entry." }, 238 { "name": "currentIndex", "type": "integer", "description": "Ind ex of the current navigation history entry." },
240 { "name": "entries", "type": "array", "items": { "$ref": "Naviga tionEntry" }, "description": "Array of navigation history entries." } 239 { "name": "entries", "type": "array", "items": { "$ref": "Naviga tionEntry" }, "description": "Array of navigation history entries." }
241 ], 240 ],
242 "description": "Returns navigation history for the current page.", 241 "description": "Returns navigation history for the current page.",
243 "hidden": true, 242 "hidden": true,
244 "handlers": ["browser"] 243 "handlers": ["browser"]
245 }, 244 },
246 { 245 {
247 "name": "navigateToHistoryEntry", 246 "name": "navigateToHistoryEntry",
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 ], 392 ],
394 "description": "Toggles mouse event-based touch event emulation. ", 393 "description": "Toggles mouse event-based touch event emulation. ",
395 "hidden": true, 394 "hidden": true,
396 "redirect": "Emulation", 395 "redirect": "Emulation",
397 "handlers": ["browser", "renderer"] 396 "handlers": ["browser", "renderer"]
398 }, 397 },
399 { 398 {
400 "name": "captureScreenshot", 399 "name": "captureScreenshot",
401 "async": true, 400 "async": true,
402 "description": "Capture page screenshot.", 401 "description": "Capture page screenshot.",
403 "parameters": [],
404 "returns": [ 402 "returns": [
405 { "name": "data", "type": "string", "description": "Base64-e ncoded image data (PNG)." } 403 { "name": "data", "type": "string", "description": "Base64-e ncoded image data (PNG)." }
406 ], 404 ],
407 "hidden": true, 405 "hidden": true,
408 "handlers": ["browser"] 406 "handlers": ["browser"]
409 }, 407 },
410 { 408 {
411 "name": "startScreencast", 409 "name": "startScreencast",
412 "description": "Starts sending each frame using the <code>screen castFrame</code> event.", 410 "description": "Starts sending each frame using the <code>screen castFrame</code> event.",
413 "parameters": [ 411 "parameters": [
(...skipping 4772 matching lines...) Expand 10 before | Expand all | Expand 10 after
5186 ], 5184 ],
5187 "returns": [ 5185 "returns": [
5188 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5186 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5189 ], 5187 ],
5190 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5188 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5191 "hidden": true 5189 "hidden": true
5192 } 5190 }
5193 ] 5191 ]
5194 }] 5192 }]
5195 } 5193 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698