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

Unified Diff: device/video/video_capture_device_client.mojom

Issue 2155303002: Video Capture Mojo Component: Skeleton (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed mcasas' comments Created 4 years, 4 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: device/video/video_capture_device_client.mojom
diff --git a/device/sensors/public/interfaces/light.mojom b/device/video/video_capture_device_client.mojom
similarity index 53%
copy from device/sensors/public/interfaces/light.mojom
copy to device/video/video_capture_device_client.mojom
index 3c12347dd39f2a6f3ecff27f4e5ba494de2ddd48..9802d60b2d02e2406bbd134d6b8116f367218dd6 100644
--- a/device/sensors/public/interfaces/light.mojom
+++ b/device/video/video_capture_device_client.mojom
@@ -4,7 +4,9 @@
module device.mojom;
-interface LightSensor {
- StartPolling() => (handle<shared_buffer> memory_handle);
- StopPolling();
+import "media/mojo/interfaces/media_types.mojom";
+
+interface VideoCaptureDeviceClient {
+ OnFrameAvailable(media.mojom.VideoFrame frame);
+ OnError(string error);
};

Powered by Google App Engine
This is Rietveld 408576698