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

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

Issue 24079003: Add VideoCaptureDevice::GetDeviceSupportedFormats to interface + implementation for Linux and Fake (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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/renderer_host/media/web_contents_video_capture_device.h
diff --git a/content/browser/renderer_host/media/web_contents_video_capture_device.h b/content/browser/renderer_host/media/web_contents_video_capture_device.h
index 94ac0680f6fbea91b88d7657a26bfff097baf86c..1c2c0304d1a78e1000e98369dfa075f8a30252ad 100644
--- a/content/browser/renderer_host/media/web_contents_video_capture_device.h
+++ b/content/browser/renderer_host/media/web_contents_video_capture_device.h
@@ -47,6 +47,9 @@ class CONTENT_EXPORT WebContentsVideoCaptureDevice
virtual void Start() OVERRIDE;
virtual void Stop() OVERRIDE;
virtual void DeAllocate() OVERRIDE;
+ virtual void GetDeviceSupportedFormats(
+ const std::string& device_name,
+ media::VideoCaptureFormats* capture_formats) OVERRIDE;
// Note: The following is just a pass-through of the device_id provided to the
// constructor. It does not change when the content of the page changes

Powered by Google App Engine
This is Rietveld 408576698