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

Unified 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: using sessions now Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/protocol.json
diff --git a/third_party/WebKit/Source/devtools/protocol.json b/third_party/WebKit/Source/devtools/protocol.json
index 813bb5d13ca10c3c4fecf248b4efc231b68a43f9..bed495c83fb8c4cd7e5165f4b71fba39d3df1ead 100644
--- a/third_party/WebKit/Source/devtools/protocol.json
+++ b/third_party/WebKit/Source/devtools/protocol.json
@@ -413,7 +413,8 @@
{ "name": "format", "type": "string", "optional": true, "enum": ["jpeg", "png"], "description": "Image compression format." },
{ "name": "quality", "type": "integer", "optional": true, "description": "Compression quality from range [0..100]." },
{ "name": "maxWidth", "type": "integer", "optional": true, "description": "Maximum screenshot width." },
- { "name": "maxHeight", "type": "integer", "optional": true, "description": "Maximum screenshot height." }
+ { "name": "maxHeight", "type": "integer", "optional": true, "description": "Maximum screenshot height." },
+ { "name": "everyNthFrame", "type": "integer", "optional": true, "description": "Send every n-th frame." }
],
"hidden": true,
"handlers": ["browser", "renderer"]
@@ -428,7 +429,7 @@
"name": "screencastFrameAck",
"description": "Acknowledges that a screencast frame has been received by the frontend.",
"parameters": [
- { "name": "frameNumber", "type": "integer", "description": "Frame number." }
+ { "name": "sessionId", "type": "integer", "description": "Frame number." }
],
"hidden": true,
"handlers": ["browser"]
@@ -556,7 +557,7 @@
"parameters": [
{ "name": "data", "type": "string", "description": "Base64-encoded compressed image." },
{ "name": "metadata", "$ref": "ScreencastFrameMetadata", "description": "Screencast frame metadata."},
- { "name": "frameNumber", "type": "integer", "optional": true, "description": "Frame number."}
+ { "name": "sessionId", "type": "integer", "description": "Frame number."}
],
"hidden": true,
"handlers": ["browser"]
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698