Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
5 * You can obtain one at http://mozilla.org/MPL/2.0/.
6 */
8 /* The capabilities of a CameraControl instance. These are guaranteed
9 not to change over the lifetime of that particular instance.
10 */
11 [Func="CameraCapabilities::HasSupport"]
12 interface CameraCapabilities
13 {
14 [Constant, Cached] readonly attribute sequence<CameraSize> previewSizes;
15 [Constant, Cached] readonly attribute sequence<CameraSize> pictureSizes;
16 [Constant, Cached] readonly attribute sequence<CameraSize> thumbnailSizes;
17 [Constant, Cached] readonly attribute sequence<CameraSize> videoSizes;
19 [Constant, Cached] readonly attribute sequence<DOMString> fileFormats;
21 [Constant, Cached] readonly attribute sequence<DOMString> whiteBalanceModes;
22 [Constant, Cached] readonly attribute sequence<DOMString> sceneModes;
23 [Constant, Cached] readonly attribute sequence<DOMString> effects;
24 [Constant, Cached] readonly attribute sequence<DOMString> flashModes;
25 [Constant, Cached] readonly attribute sequence<DOMString> focusModes;
27 [Constant, Cached] readonly attribute sequence<double> zoomRatios;
29 [Constant, Cached] readonly attribute unsigned long maxFocusAreas;
30 [Constant, Cached] readonly attribute unsigned long maxMeteringAreas;
31 [Constant, Cached] readonly attribute unsigned long maxDetectedFaces;
33 [Constant, Cached] readonly attribute double minExposureCompensation;
34 [Constant, Cached] readonly attribute double maxExposureCompensation;
35 [Constant, Cached] readonly attribute double exposureCompensationStep;
37 [Constant, Cached] readonly attribute any recorderProfiles;
39 [Constant, Cached] readonly attribute sequence<DOMString> isoModes;
40 };