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

Side by Side Diff: content/common/video_capture.mojom

Issue 2555853003: Break up common_custom_types.mojom. (Closed)
Patch Set: Created 4 years 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 content.mojom; 5 module content.mojom;
6 6
7 import "gpu/ipc/common/sync_token.mojom"; 7 import "gpu/ipc/common/sync_token.mojom";
8 import "media/mojo/interfaces/media_types.mojom"; 8 import "media/mojo/interfaces/media_types.mojom";
9 import "media/capture/mojo/video_capture_types.mojom"; 9 import "media/capture/mojo/video_capture_types.mojom";
10 import "mojo/common/common_custom_types.mojom";
11 import "ui/gfx/geometry/mojo/geometry.mojom"; 10 import "ui/gfx/geometry/mojo/geometry.mojom";
12 11
13 // This file decribes the communication between a given Renderer Host interface 12 // This file decribes the communication between a given Renderer Host interface
14 // implementation (VideoCaptureHost) and a remote VideoCaptureObserver. 13 // implementation (VideoCaptureHost) and a remote VideoCaptureObserver.
15 // VideoCaptureHost offers a stateless part (GetDeviceSupportedFormats() and 14 // VideoCaptureHost offers a stateless part (GetDeviceSupportedFormats() and
16 // GetDeviceFormatsInUse()) that can be invoked at any time, and a stateful part 15 // GetDeviceFormatsInUse()) that can be invoked at any time, and a stateful part
17 // sandwiched between Start() and Stop(). A Client's OnStateChanged() can be 16 // sandwiched between Start() and Stop(). A Client's OnStateChanged() can be
18 // notified any time during the stateful part. The stateful part is composed of 17 // notified any time during the stateful part. The stateful part is composed of
19 // a preamble where a Renderer client sends a command to Start() the capture, 18 // a preamble where a Renderer client sends a command to Start() the capture,
20 // registering itself as the associated remote VideoCaptureObserver. The Host 19 // registering itself as the associated remote VideoCaptureObserver. The Host
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 double consumer_resource_utilization); 102 double consumer_resource_utilization);
104 103
105 // Get the formats supported by a device referenced by |session_id|. 104 // Get the formats supported by a device referenced by |session_id|.
106 GetDeviceSupportedFormats(int32 device_id, int32 session_id) 105 GetDeviceSupportedFormats(int32 device_id, int32 session_id)
107 => (array<media.mojom.VideoCaptureFormat> formats_supported); 106 => (array<media.mojom.VideoCaptureFormat> formats_supported);
108 107
109 // Get the format(s) in use by a device referenced by |session_id|. 108 // Get the format(s) in use by a device referenced by |session_id|.
110 GetDeviceFormatsInUse(int32 device_id, int32 session_id) 109 GetDeviceFormatsInUse(int32 device_id, int32 session_id)
111 => (array<media.mojom.VideoCaptureFormat> formats_in_use); 110 => (array<media.mojom.VideoCaptureFormat> formats_in_use);
112 }; 111 };
OLDNEW
« no previous file with comments | « content/common/service_worker/service_worker_event_dispatcher.mojom ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698