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

Unified Diff: content/browser/media/capture/web_contents_video_capture_device.h

Issue 1864813002: Tab/Desktop Capture: Use requests instead of timer-based refreshing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@video_refresh_from_sinks
Patch Set: Addressed comments from PS2, and sampling decision logic change w.r.t. recent animation. Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/media/capture/web_contents_video_capture_device.h
diff --git a/content/browser/media/capture/web_contents_video_capture_device.h b/content/browser/media/capture/web_contents_video_capture_device.h
index ab0e03ad7d4d5ffa89c4cdb7d6ab35f30f49cbd4..a30557d65dce4086640462c82c5dfff40ee0804e 100644
--- a/content/browser/media/capture/web_contents_video_capture_device.h
+++ b/content/browser/media/capture/web_contents_video_capture_device.h
@@ -37,6 +37,7 @@ class CONTENT_EXPORT WebContentsVideoCaptureDevice
// VideoCaptureDevice implementation.
void AllocateAndStart(const media::VideoCaptureParams& params,
scoped_ptr<Client> client) override;
+ void RequestRefreshFrame() override;
void StopAndDeAllocate() override;
private:

Powered by Google App Engine
This is Rietveld 408576698