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

Unified Diff: third_party/WebKit/Source/modules/mediastream/MediaTrackCapabilities.idl

Issue 2747573002: Image Capture: MediaStreamTrack::getCapabilities() (Closed)
Patch Set: haraken@ and reillyg@s comments Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/mediastream/MediaTrackCapabilities.idl
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaTrackCapabilities.idl b/third_party/WebKit/Source/modules/mediastream/MediaTrackCapabilities.idl
new file mode 100644
index 0000000000000000000000000000000000000000..84265fe77569667a0b4dda561976aabccde710a3
--- /dev/null
+++ b/third_party/WebKit/Source/modules/mediastream/MediaTrackCapabilities.idl
@@ -0,0 +1,22 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+dictionary MediaTrackCapabilities {
+ // W3C Image Capture API
+ // https://w3c.github.io/mediacapture-image/#mediatrackcapabilities-section
+ // TODO(mcasas) move out when partial dictionaries are supported
+ // http://crbug.com/579896.
+ [RuntimeEnabled=ImageCapture] sequence<DOMString> whiteBalanceMode;
+ [RuntimeEnabled=ImageCapture] sequence<DOMString> exposureMode;
+ [RuntimeEnabled=ImageCapture] sequence<DOMString> focusMode;
+ [RuntimeEnabled=ImageCapture] MediaSettingsRange exposureCompensation;
+ [RuntimeEnabled=ImageCapture] MediaSettingsRange colorTemperature;
+ [RuntimeEnabled=ImageCapture] MediaSettingsRange iso;
+ [RuntimeEnabled=ImageCapture] MediaSettingsRange brightness;
+ [RuntimeEnabled=ImageCapture] MediaSettingsRange contrast;
+ [RuntimeEnabled=ImageCapture] MediaSettingsRange saturation;
+ [RuntimeEnabled=ImageCapture] MediaSettingsRange sharpness;
+ [RuntimeEnabled=ImageCapture] MediaSettingsRange zoom;
+ [RuntimeEnabled=ImageCapture] boolean torch;
+};

Powered by Google App Engine
This is Rietveld 408576698