Index: mojo/services/camera/public/interfaces/camera.mojom |
diff --git a/mojo/services/camera_roll/public/interfaces/camera_roll.mojom b/mojo/services/camera/public/interfaces/camera.mojom |
similarity index 88% |
rename from mojo/services/camera_roll/public/interfaces/camera_roll.mojom |
rename to mojo/services/camera/public/interfaces/camera.mojom |
index 850da78f654a6594868e806bd4a30e7f7a782684..b5595cf0e04f1aa92cb05099aae04ca626304b11 100644 |
--- a/mojo/services/camera_roll/public/interfaces/camera_roll.mojom |
+++ b/mojo/services/camera/public/interfaces/camera.mojom |
@@ -28,3 +28,8 @@ interface CameraRollService { |
// if such an index is out-of-bounds. |
GetPhoto(uint32 index) => (Photo? photo); |
}; |
+ |
+// |CameraService| provides access to the device's camera video stream. |
+interface CameraVideoService { |
alhaad1
2015/10/02 06:33:27
Could we call it just CameraService? There is noth
gautham
2015/10/02 22:29:11
Done.
|
+ GetVideoFrames() => (handle<data_pipe_consumer>? content); |
alhaad1
2015/10/02 06:33:27
This could be GetLatestFrame?
Also, do you think
gautham
2015/10/02 22:29:11
I'm hoping we'll fix the ImageDecoder to work with
|
+}; |