Index: content/common/video_capture.mojom |
diff --git a/content/common/video_capture.mojom b/content/common/video_capture.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..77624424521fe059b92bf81bb9b10a809fe0f939 |
--- /dev/null |
+++ b/content/common/video_capture.mojom |
@@ -0,0 +1,20 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+module content.mojom; |
+ |
+interface VideoCaptureRendererToBrowser |
+{ |
+ // TODO(mcasas): Migrate the rest of the messages, https://crbug.com/651897. |
+ |
+ // Closes the video capture specified by |device_id|. |
+ StopCapture(int32 device_id); |
+ |
+ // Pauses the video capture specified by |device_id|. |
+ PauseCapture(int32 device_id); |
+ |
+ // Requests that the video capturer send a frame "soon" (e.g., to resolve |
+ // picture loss or quality issues). |
+ RequestRefreshFrame(int32 device_id); |
+}; |