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

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

Issue 1463813003: DevTools: optimize screencast for slower devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just count frames Created 5 years 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 "hidden": true, 406 "hidden": true,
407 "handlers": ["browser"] 407 "handlers": ["browser"]
408 }, 408 },
409 { 409 {
410 "name": "startScreencast", 410 "name": "startScreencast",
411 "description": "Starts sending each frame using the <code>screen castFrame</code> event.", 411 "description": "Starts sending each frame using the <code>screen castFrame</code> event.",
412 "parameters": [ 412 "parameters": [
413 { "name": "format", "type": "string", "optional": true, "enu m": ["jpeg", "png"], "description": "Image compression format." }, 413 { "name": "format", "type": "string", "optional": true, "enu m": ["jpeg", "png"], "description": "Image compression format." },
414 { "name": "quality", "type": "integer", "optional": true, "d escription": "Compression quality from range [0..100]." }, 414 { "name": "quality", "type": "integer", "optional": true, "d escription": "Compression quality from range [0..100]." },
415 { "name": "maxWidth", "type": "integer", "optional": true, " description": "Maximum screenshot width." }, 415 { "name": "maxWidth", "type": "integer", "optional": true, " description": "Maximum screenshot width." },
416 { "name": "maxHeight", "type": "integer", "optional": true, "description": "Maximum screenshot height." } 416 { "name": "maxHeight", "type": "integer", "optional": true, "description": "Maximum screenshot height." },
417 { "name": "everyNthFrame", "type": "integer", "optional": tr ue, "description": "Send every n-th frame." }
417 ], 418 ],
418 "hidden": true, 419 "hidden": true,
419 "handlers": ["browser", "renderer"] 420 "handlers": ["browser", "renderer"]
420 }, 421 },
421 { 422 {
422 "name": "stopScreencast", 423 "name": "stopScreencast",
423 "description": "Stops sending each frame in the <code>screencast Frame</code>.", 424 "description": "Stops sending each frame in the <code>screencast Frame</code>.",
424 "hidden": true, 425 "hidden": true,
425 "handlers": ["browser", "renderer"] 426 "handlers": ["browser", "renderer"]
426 }, 427 },
427 { 428 {
428 "name": "screencastFrameAck", 429 "name": "screencastFrameAck",
429 "description": "Acknowledges that a screencast frame has been re ceived by the frontend.", 430 "description": "Acknowledges that a screencast frame has been re ceived by the frontend.",
430 "parameters": [
431 { "name": "frameNumber", "type": "integer", "description": " Frame number." }
432 ],
433 "hidden": true, 431 "hidden": true,
434 "handlers": ["browser"] 432 "handlers": ["browser"]
435 }, 433 },
436 { 434 {
437 "name": "handleJavaScriptDialog", 435 "name": "handleJavaScriptDialog",
438 "description": "Accepts or dismisses a JavaScript initiated dial og (alert, confirm, prompt, or onbeforeunload).", 436 "description": "Accepts or dismisses a JavaScript initiated dial og (alert, confirm, prompt, or onbeforeunload).",
439 "parameters": [ 437 "parameters": [
440 { "name": "accept", "type": "boolean", "description": "Wheth er to accept or dismiss the dialog." }, 438 { "name": "accept", "type": "boolean", "description": "Wheth er to accept or dismiss the dialog." },
441 { "name": "promptText", "type": "string", "optional": true, "description": "The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog." } 439 { "name": "promptText", "type": "string", "optional": true, "description": "The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog." }
442 ], 440 ],
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 "parameters": [ 546 "parameters": [
549 { "name": "result", "type": "boolean", "description": "Wheth er dialog was confirmed." } 547 { "name": "result", "type": "boolean", "description": "Wheth er dialog was confirmed." }
550 ], 548 ],
551 "hidden": true 549 "hidden": true
552 }, 550 },
553 { 551 {
554 "name": "screencastFrame", 552 "name": "screencastFrame",
555 "description": "Compressed image data requested by the <code>sta rtScreencast</code>.", 553 "description": "Compressed image data requested by the <code>sta rtScreencast</code>.",
556 "parameters": [ 554 "parameters": [
557 { "name": "data", "type": "string", "description": "Base64-e ncoded compressed image." }, 555 { "name": "data", "type": "string", "description": "Base64-e ncoded compressed image." },
558 { "name": "metadata", "$ref": "ScreencastFrameMetadata", "de scription": "Screencast frame metadata."}, 556 { "name": "metadata", "$ref": "ScreencastFrameMetadata", "de scription": "Screencast frame metadata."}
559 { "name": "frameNumber", "type": "integer", "optional": true , "description": "Frame number."}
560 ], 557 ],
561 "hidden": true, 558 "hidden": true,
562 "handlers": ["browser"] 559 "handlers": ["browser"]
563 }, 560 },
564 { 561 {
565 "name": "screencastVisibilityChanged", 562 "name": "screencastVisibilityChanged",
566 "description": "Fired when the page with currently enabled scree ncast was shown or hidden </code>.", 563 "description": "Fired when the page with currently enabled scree ncast was shown or hidden </code>.",
567 "parameters": [ 564 "parameters": [
568 { "name": "visible", "type": "boolean", "description": "True if the page is visible." } 565 { "name": "visible", "type": "boolean", "description": "True if the page is visible." }
569 ], 566 ],
(...skipping 4730 matching lines...) Expand 10 before | Expand all | Expand 10 after
5300 ], 5297 ],
5301 "returns": [ 5298 "returns": [
5302 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5299 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5303 ], 5300 ],
5304 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5301 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5305 "hidden": true 5302 "hidden": true
5306 } 5303 }
5307 ] 5304 ]
5308 }] 5305 }]
5309 } 5306 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698