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.
michael@0 | 1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* vim: set ts=2 et sw=2 tw=80: */ |
michael@0 | 3 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
michael@0 | 5 | * You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | */ |
michael@0 | 7 | |
michael@0 | 8 | /* The capabilities of a CameraControl instance. These are guaranteed |
michael@0 | 9 | not to change over the lifetime of that particular instance. |
michael@0 | 10 | */ |
michael@0 | 11 | [Func="CameraCapabilities::HasSupport"] |
michael@0 | 12 | interface CameraCapabilities |
michael@0 | 13 | { |
michael@0 | 14 | [Constant, Cached] readonly attribute sequence<CameraSize> previewSizes; |
michael@0 | 15 | [Constant, Cached] readonly attribute sequence<CameraSize> pictureSizes; |
michael@0 | 16 | [Constant, Cached] readonly attribute sequence<CameraSize> thumbnailSizes; |
michael@0 | 17 | [Constant, Cached] readonly attribute sequence<CameraSize> videoSizes; |
michael@0 | 18 | |
michael@0 | 19 | [Constant, Cached] readonly attribute sequence<DOMString> fileFormats; |
michael@0 | 20 | |
michael@0 | 21 | [Constant, Cached] readonly attribute sequence<DOMString> whiteBalanceModes; |
michael@0 | 22 | [Constant, Cached] readonly attribute sequence<DOMString> sceneModes; |
michael@0 | 23 | [Constant, Cached] readonly attribute sequence<DOMString> effects; |
michael@0 | 24 | [Constant, Cached] readonly attribute sequence<DOMString> flashModes; |
michael@0 | 25 | [Constant, Cached] readonly attribute sequence<DOMString> focusModes; |
michael@0 | 26 | |
michael@0 | 27 | [Constant, Cached] readonly attribute sequence<double> zoomRatios; |
michael@0 | 28 | |
michael@0 | 29 | [Constant, Cached] readonly attribute unsigned long maxFocusAreas; |
michael@0 | 30 | [Constant, Cached] readonly attribute unsigned long maxMeteringAreas; |
michael@0 | 31 | [Constant, Cached] readonly attribute unsigned long maxDetectedFaces; |
michael@0 | 32 | |
michael@0 | 33 | [Constant, Cached] readonly attribute double minExposureCompensation; |
michael@0 | 34 | [Constant, Cached] readonly attribute double maxExposureCompensation; |
michael@0 | 35 | [Constant, Cached] readonly attribute double exposureCompensationStep; |
michael@0 | 36 | |
michael@0 | 37 | [Constant, Cached] readonly attribute any recorderProfiles; |
michael@0 | 38 | |
michael@0 | 39 | [Constant, Cached] readonly attribute sequence<DOMString> isoModes; |
michael@0 | 40 | }; |