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

Side by Side Diff: services/video_capture/public/interfaces/video_capture_device_factory.mojom

Issue 2255493002: Video Capture Mojo (1.4a.b): Rename interface VideoCaptureDevice to VideoCaptureDeviceProxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FillServicePart1_Part1
Patch Set: Merge-in changes from upstream CL 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module video_capture.mojom; 5 module video_capture.mojom;
6 6
7 import "services/video_capture/public/interfaces/video_capture_device.mojom"; 7 import "services/video_capture/public/interfaces/video_capture_device_proxy.mojo m";
8 import "services/video_capture/public/interfaces/video_capture_format.mojom"; 8 import "services/video_capture/public/interfaces/video_capture_format.mojom";
9 9
10 enum VideoCaptureApi { 10 enum VideoCaptureApi {
11 LINUX_V4L2_SINGLE_PLANE, 11 LINUX_V4L2_SINGLE_PLANE,
12 WIN_MEDIA_FOUNDATION, 12 WIN_MEDIA_FOUNDATION,
13 WIN_DIRECT_SHOW, 13 WIN_DIRECT_SHOW,
14 MACOSX_AVFOUNDATION, 14 MACOSX_AVFOUNDATION,
15 MACOSX_DECKLINK, 15 MACOSX_DECKLINK,
16 ANDROID_API1, 16 ANDROID_API1,
17 ANDROID_API2_LEGACY, 17 ANDROID_API2_LEGACY,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // VideoCaptureDeviceDescriptor. 51 // VideoCaptureDeviceDescriptor.
52 // https://crbug.com/637439 52 // https://crbug.com/637439
53 interface VideoCaptureDeviceFactory { 53 interface VideoCaptureDeviceFactory {
54 EnumerateDeviceDescriptors() 54 EnumerateDeviceDescriptors()
55 => (array<VideoCaptureDeviceDescriptor> descriptors); 55 => (array<VideoCaptureDeviceDescriptor> descriptors);
56 56
57 GetSupportedFormats(VideoCaptureDeviceDescriptor device_descriptor) 57 GetSupportedFormats(VideoCaptureDeviceDescriptor device_descriptor)
58 => (array<VideoCaptureFormat> supported_formats); 58 => (array<VideoCaptureFormat> supported_formats);
59 59
60 // Provides exclusive access to the device identified by |device_descriptor|. 60 // Provides exclusive access to the device identified by |device_descriptor|.
61 CreateDevice(VideoCaptureDeviceDescriptor device_descriptor, 61 CreateDeviceProxy(VideoCaptureDeviceDescriptor device_descriptor,
62 VideoCaptureDevice& device_request) 62 VideoCaptureDeviceProxy& proxy_request)
63 => (DeviceAccessResultCode result_code); 63 => (DeviceAccessResultCode result_code);
64 }; 64 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698