| Index: Source/WebKit/chromium/public/WebFileChooserParams.h
|
| diff --git a/Source/WebKit/chromium/public/WebFileChooserParams.h b/Source/WebKit/chromium/public/WebFileChooserParams.h
|
| index 10b9769257d9759b2c66d362c7b5af84b6133c98..cff667c7c1ca79c42ab869c58365132bb30f6b86 100644
|
| --- a/Source/WebKit/chromium/public/WebFileChooserParams.h
|
| +++ b/Source/WebKit/chromium/public/WebFileChooserParams.h
|
| @@ -31,6 +31,8 @@
|
| #ifndef WebFileChooserParams_h
|
| #define WebFileChooserParams_h
|
|
|
| +#define NEW_MEDIA_CAPTURE_IMPLEMENTATION
|
| +
|
| #include "../../../Platform/chromium/public/WebString.h"
|
| #include "../../../Platform/chromium/public/WebVector.h"
|
| #include "WebFileChooserCompletion.h"
|
| @@ -65,18 +67,16 @@ struct WebFileChooserParams {
|
| // before opening a file chooser dialog.
|
| WebVector<WebString> selectedFiles;
|
| // See http://www.w3.org/TR/html-media-capture/ for the semantics of the
|
| - // capture attribute. This string will either be empty (meaning the feature
|
| - // is disabled) or one of the following values:
|
| - // - filesystem (default)
|
| - // - camera
|
| - // - camcorder
|
| - // - microphone
|
| - WebString capture;
|
| + // capture attribute. If |capture| is true, the media types indicated in
|
| + // |acceptTypes| should be obtained from the device's environment using a
|
| + // media capture mechanism.
|
| + bool capture;
|
|
|
| WebFileChooserParams()
|
| : multiSelect(false)
|
| , directory(false)
|
| , saveAs(false)
|
| + , capture(false)
|
| {
|
| }
|
| };
|
|
|