Chromium Code Reviews| 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..098d223e94c206ea05b5be813605453f5d1e4e58 |
| --- /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 |
|
Ken Rockot(use gerrit already)
2016/10/04 23:35:36
So actually, conventionally we've been using the m
mcasas
2016/10/05 18:32:59
Yeah, totally my bad. I misunderstood the
migratio
|
| +{ |
| + // TODO(mcasas): Migrate the rest of the messages, https://crbug.com/651897. |
| + |
| + // Closes the video capture specified by |device_id|. |
| + Stop(int32 device_id); |
|
miu
2016/10/05 07:49:29
In the Mojo world, we're supposed to stop using ID
mcasas
2016/10/05 18:33:00
I do agree, and in fact starting migrating the who
|
| + |
| + // Pauses the video capture specified by |device_id|. |
| + Pause(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); |
| +}; |