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

Unified Diff: Source/devtools/front_end/screencast/ScreencastView.js

Issue 722173003: DevTools: Throttle Screencast on slow connections (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 | « no previous file | Source/devtools/front_end/sdk/ResourceTreeModel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/screencast/ScreencastView.js
diff --git a/Source/devtools/front_end/screencast/ScreencastView.js b/Source/devtools/front_end/screencast/ScreencastView.js
index e3ab435ea83c1493fec2e11d66b86a0f775ce387..882857c17fc8322dd59d34be3d1936243f79d76f 100644
--- a/Source/devtools/front_end/screencast/ScreencastView.js
+++ b/Source/devtools/front_end/screencast/ScreencastView.js
@@ -153,6 +153,9 @@ WebInspector.ScreencastView.prototype = {
this._scrollOffsetX = metadata.scrollOffsetX;
this._scrollOffsetY = metadata.scrollOffsetY;
+ if (event.data.frameNumber)
+ this._target.pageAgent().screencastFrameAck(event.data.frameNumber);
+
var deviceSizeRatio = metadata.deviceHeight / metadata.deviceWidth;
var dimensionsCSS = this._viewportDimensions();
« no previous file with comments | « no previous file | Source/devtools/front_end/sdk/ResourceTreeModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698