summaryrefslogtreecommitdiffstats
path: root/Source/JavaScriptCore
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2012-01-11 10:54:53 +0000
committerBen Murdoch <benm@google.com>2012-04-13 10:09:03 +0100
commit16e49e63e74d9236b0d8b72846201697a8ebaedc (patch)
treef7a2226792e2d34fed9a65bc6986b120bd0a1277 /Source/JavaScriptCore
parentb62fb73a22ae38019efcdb050bf61e0e22327b9d (diff)
downloadexternal_webkit-16e49e63e74d9236b0d8b72846201697a8ebaedc.zip
external_webkit-16e49e63e74d9236b0d8b72846201697a8ebaedc.tar.gz
external_webkit-16e49e63e74d9236b0d8b72846201697a8ebaedc.tar.bz2
Add support for HTML Media Capture "capture" attribute.
Add support in WebKit for the newly specified "capture" attribute to be used on HTML file pickers. Maintains support for the legacy implementation of the API (a MIME type parameter on the 'accept' attribute) for backwards compatibility. Note the 'capture' attribute takes precedent over a MIME type parameter. See http://www.w3.org/TR/html-media-capture/#captureparam for details. Requires changes in the framework (I494adc1274ca21ce8fe52a6c7b6b758217927e66) and Browser (I38dfe2df043fdba1388384dbd3b5370737eb38e5). Bug: 5771207 Change-Id: I0a921be31fda79a43c05da4fe22d9c808d92709c
Diffstat (limited to 'Source/JavaScriptCore')
-rw-r--r--Source/JavaScriptCore/wtf/Platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/wtf/Platform.h b/Source/JavaScriptCore/wtf/Platform.h
index 7c59f1b..a1db9d6 100644
--- a/Source/JavaScriptCore/wtf/Platform.h
+++ b/Source/JavaScriptCore/wtf/Platform.h
@@ -735,6 +735,7 @@
#define ENABLE_NO_LISTBOX_RENDERING 1
#define ENABLE_LINK_PREFETCH 1
#define ENABLE_WEB_TIMING 1
+#define ENABLE_MEDIA_CAPTURE 1
// Android ENABLE guards not present upstream
#define ENABLE_COMPOSITED_FIXED_ELEMENTS 1 // FIXME: Rename to ENABLE_ANDROID_COMPOSITED_FIXED_ELEMENTS