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

Unified Diff: content/common/video_capture.mojom

Issue 2390103002: Reland: VideoCapture: migrate VideoCapture renderer-->host messages to mojo, part 1 (Closed)
Patch Set: Migrated renderer side as well, unittests 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
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..44389bb462e044bfed457ead5ba9a1dda2bef7b5
--- /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 VideoCaptureService
Ken Rockot(use gerrit already) 2016/10/05 20:59:44 nit: Chromium C++ style, brace on same line As me
mcasas 2016/10/05 22:23:50 Oops, done s/VideoCaptureService/VideoCaptureHost/
+{
+ // TODO(mcasas): Migrate the rest of the messages, https://crbug.com/651897.
+
+ // Closes the video capture specified by |device_id|.
+ Stop(int32 device_id);
+
+ // 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);
+};

Powered by Google App Engine
This is Rietveld 408576698