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

Side by Side Diff: media/capture/mojo/image_capture.mojom

Issue 2539543002: RELAND: ImageCapture: move image_capture.mojom from media/mojo/interfaces/ to media/capture/mojo/ (Closed)
Patch Set: https://codereview.chromium.org/2526953002 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
« no previous file with comments | « media/capture/mojo/BUILD.gn ('k') | media/capture/video/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 media.mojom; 5 module media.mojom;
6 6
7 // Equivalent to idl MediaSettingsRange, arbitrary range representing the 7 // Equivalent to idl MediaSettingsRange, arbitrary range representing the
8 // allowed variations of a Capability or an Option. 8 // allowed variations of a Capability or an Option.
9 // https://www.w3.org/TR/image-capture/#MediaSettingsRange 9 // https://www.w3.org/TR/image-capture/#MediaSettingsRange
10 struct Range { 10 struct Range {
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // https://www.w3.org/TR/image-capture/#dom-imagecapture-setoptions 104 // https://www.w3.org/TR/image-capture/#dom-imagecapture-setoptions
105 SetOptions(string source_id, PhotoSettings settings) 105 SetOptions(string source_id, PhotoSettings settings)
106 => (bool success); 106 => (bool success);
107 107
108 // Takes a Photo from the given |source_id|, returning it encoded in |blob| 108 // Takes a Photo from the given |source_id|, returning it encoded in |blob|
109 // with the format specified in its |mime_type|. 109 // with the format specified in its |mime_type|.
110 // https://www.w3.org/TR/image-capture/#dom-imagecapture-takephoto 110 // https://www.w3.org/TR/image-capture/#dom-imagecapture-takephoto
111 TakePhoto(string source_id) 111 TakePhoto(string source_id)
112 => (Blob blob); 112 => (Blob blob);
113 }; 113 };
OLDNEW
« no previous file with comments | « media/capture/mojo/BUILD.gn ('k') | media/capture/video/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698