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

Unified Diff: third_party/WebKit/Source/modules/imagecapture/ImageCapture.idl

Issue 2866053002: Image Capture: teach takePhoto() to accept an optional PhotoSettings dictionary (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/imagecapture/ImageCapture.idl
diff --git a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.idl b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.idl
index db1a39db656735a9767bf4a8744d67194ac833b7..704d5528f9ea10c10712ecc12e3bc59f603b4d23 100644
--- a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.idl
+++ b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.idl
@@ -17,6 +17,6 @@
[CallWith=ScriptState] Promise<PhotoCapabilities> getPhotoCapabilities();
[CallWith=ScriptState] Promise<void> setOptions(PhotoSettings photoSettings);
- [CallWith=ScriptState] Promise<Blob> takePhoto();
+ [CallWith=ScriptState] Promise<Blob> takePhoto(optional PhotoSettings photoSettings);
[CallWith=ScriptState] Promise<ImageBitmap> grabFrame();
};
« 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