| 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);
|
| };
|
|
|