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

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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 ], 391 ],
393 "description": "Toggles mouse event-based touch event emulation. ", 392 "description": "Toggles mouse event-based touch event emulation. ",
394 "hidden": true, 393 "hidden": true,
395 "redirect": "Emulation", 394 "redirect": "Emulation",
396 "handlers": ["browser", "renderer"] 395 "handlers": ["browser", "renderer"]
397 }, 396 },
398 { 397 {
399 "name": "captureScreenshot", 398 "name": "captureScreenshot",
400 "async": true, 399 "async": true,
401 "description": "Capture page screenshot.", 400 "description": "Capture page screenshot.",
402 "parameters": [],
403 "returns": [ 401 "returns": [
404 { "name": "data", "type": "string", "description": "Base64-e ncoded image data (PNG)." } 402 { "name": "data", "type": "string", "description": "Base64-e ncoded image data (PNG)." }
405 ], 403 ],
406 "hidden": true, 404 "hidden": true,
407 "handlers": ["browser"] 405 "handlers": ["browser"]
408 }, 406 },
409 { 407 {
410 "name": "startScreencast", 408 "name": "startScreencast",
411 "description": "Starts sending each frame using the <code>screen castFrame</code> event.", 409 "description": "Starts sending each frame using the <code>screen castFrame</code> event.",
412 "parameters": [ 410 "parameters": [
(...skipping 4887 matching lines...) Expand 10 before | Expand all | Expand 10 after
5300 ], 5298 ],
5301 "returns": [ 5299 "returns": [
5302 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5300 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5303 ], 5301 ],
5304 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5302 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5305 "hidden": true 5303 "hidden": true
5306 } 5304 }
5307 ] 5305 ]
5308 }] 5306 }]
5309 } 5307 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698