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

Unified Diff: content/common/video_capture.mojom

Issue 2400443006: VideoCapture: moar VideoCapture renderer-->host messages to mojo, part 3 (Closed)
Patch Set: minor rebase Created 4 years, 2 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/common/media/video_capture_messages.h ('k') | content/renderer/media/video_capture_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/video_capture.mojom
diff --git a/content/common/video_capture.mojom b/content/common/video_capture.mojom
index ca0301403b46d5b6ab0b61748982729d75869a70..bd89d463b02d5fd46f4855f214520c7a6a722779 100644
--- a/content/common/video_capture.mojom
+++ b/content/common/video_capture.mojom
@@ -12,6 +12,7 @@ struct VideoCaptureParams {
video_capture.mojom.ResolutionChangePolicy resolution_change_policy;
video_capture.mojom.PowerLineFrequency power_line_frequency;
};
+
interface VideoCaptureHost {
// TODO(mcasas): Migrate the rest of the messages, https://crbug.com/651897.
@@ -31,4 +32,12 @@ interface VideoCaptureHost {
// Requests that the video capturer send a frame "soon" (e.g., to resolve
// picture loss or quality issues).
RequestRefreshFrame(int32 device_id);
+
+ // Get the formats supported by a device referenced by |session_id|.
+ GetDeviceSupportedFormats(int32 device_id, int32 session_id)
+ => (array<video_capture.mojom.VideoCaptureFormat> formats_supported);
+
+ // Get the format(s) in use by a device referenced by |session_id|.
+ GetDeviceFormatsInUse(int32 device_id, int32 session_id)
+ => (array<video_capture.mojom.VideoCaptureFormat> formats_in_use);
};
« no previous file with comments | « content/common/media/video_capture_messages.h ('k') | content/renderer/media/video_capture_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698