| Index: third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
|
| diff --git a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
|
| index 84de0da74d2ccb1f14517849bd399a566f65a579..fd532099363f60170fef7b84c219b2aeae10f045 100644
|
| --- a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
|
| +++ b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
|
| @@ -20,6 +20,7 @@ namespace blink {
|
|
|
| class ExceptionState;
|
| class MediaStreamTrack;
|
| +class MediaTrackConstraintSet;
|
| class PhotoSettings;
|
| class ScriptPromiseResolver;
|
| class WebImageCaptureFrameGrabber;
|
| @@ -51,16 +52,19 @@ class MODULES_EXPORT ImageCapture final
|
|
|
| MediaStreamTrack* videoStreamTrack() const { return m_streamTrack.get(); }
|
|
|
| - ScriptPromise getPhotoCapabilities(ScriptState*, ExceptionState&);
|
| + ScriptPromise getPhotoCapabilities(ScriptState*);
|
|
|
| - ScriptPromise setOptions(ScriptState*, const PhotoSettings&, ExceptionState&);
|
| + ScriptPromise setOptions(ScriptState*, const PhotoSettings&);
|
|
|
| - ScriptPromise takePhoto(ScriptState*, ExceptionState&);
|
| + ScriptPromise takePhoto(ScriptState*);
|
|
|
| - ScriptPromise grabFrame(ScriptState*, ExceptionState&);
|
| + ScriptPromise grabFrame(ScriptState*);
|
|
|
| MediaTrackCapabilities& getMediaTrackCapabilities();
|
|
|
| + void setMediaTrackConstraints(ScriptPromiseResolver*,
|
| + const MediaTrackConstraintSet&);
|
| +
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
|
|