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

Side by Side Diff: third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl

Issue 2167313002: ImageCapture: introduce image_capture Blob to allow move-only semantics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: foolip comments and rebase Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp ('k') | no next file » | 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 // https://w3c.github.io/mediacapture-image/index.html#idl-def-PhotoCapabilities 5 // https://w3c.github.io/mediacapture-image/index.html#idl-def-PhotoCapabilities
6 6
7 enum FocusMode { 7 enum FocusMode {
8 "unavailable", 8 "unavailable",
9 "auto", 9 "auto",
10 "manual" 10 "manual"
11 }; 11 };
12 12
13 [ 13 [
14 RuntimeEnabled=ImageCapture, 14 RuntimeEnabled=ImageCapture,
15 ] interface PhotoCapabilities { 15 ] interface PhotoCapabilities {
16 // TODO(mcasas): Update the Spec where these members are not readonly.
17 // https://github.com/w3c/mediacapture-image/issues/29
18
19 readonly attribute MediaSettingsRange iso; 16 readonly attribute MediaSettingsRange iso;
20 // TODO(mcasas): Replace these two with supported and current resolutions. 17 // TODO(mcasas): Replace these two with supported and current resolutions.
21 // https://github.com/w3c/mediacapture-image/issues/30 18 // https://github.com/w3c/mediacapture-image/issues/30
22 readonly attribute MediaSettingsRange imageHeight; 19 readonly attribute MediaSettingsRange imageHeight;
23 readonly attribute MediaSettingsRange imageWidth; 20 readonly attribute MediaSettingsRange imageWidth;
24 readonly attribute MediaSettingsRange zoom; 21 readonly attribute MediaSettingsRange zoom;
25 readonly attribute FocusMode focusMode; 22 readonly attribute FocusMode focusMode;
26 // TODO(mcasas): Implement all other PhotoCapabilities fields 23 // TODO(mcasas): Implement all other PhotoCapabilities fields
27 // https://crbug.com/518807 24 // https://crbug.com/518807
28 }; 25 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698