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

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

Issue 2605973002: WebContentsVideoCapture Cleanup: Gut-out dead code, and tighten BUILDs. (Closed)
Patch Set: REBASE Created 3 years, 12 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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/media/capture/web_contents_video_capture_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ab81c35405593e7329d2865421a7ab444de4a5c2..0446175978a15cce3161e1d65eacf79033ebcfc6 100644
--- a/content/browser/media/capture/web_contents_video_capture_device.h
+++ b/content/browser/media/capture/web_contents_video_capture_device.h
@@ -15,9 +15,15 @@
namespace content {
-// A virtualized VideoCaptureDevice that mirrors the displayed contents of a
+// A virtualized VideoCaptureDevice that captures the displayed contents of a
// WebContents (i.e., the composition of an entire render frame tree), producing
-// a stream of video frames.
+// a stream of video frames. As such, WebContentsVideoCaptureDevice is only
+// supported on platforms that use the Chromium compositor, have a
+// content::RenderWidgetHostView implementation that supports frame subscription
+// (via BeginFrameSubscription()), and can perform read-back into
+// media::VideoFrames (i.e.,
+// RenderWidgetHostViewBase::CopyFromCompositingSurfaceToVideoFrame() is
+// functional).
//
// An instance is created by providing a device_id. The device_id contains
// information necessary for finding a WebContents instance. From then on,
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/media/capture/web_contents_video_capture_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698