| OLD | NEW |
| 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 Loading... |
| 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 }; |
| OLD | NEW |