commit | 8cad413fe902010140cf20aad47c2f4e7a51f8d2 | [log] [tgz] |
---|---|---|
author | Ben Murdoch <benm@google.com> | Wed Jan 11 10:56:43 2012 +0000 |
committer | Ben Murdoch <benm@google.com> | Fri Apr 13 14:03:56 2012 +0100 |
tree | 105ee0228d351fa1d27c681846e2a229017e7452 | |
parent | 981bd08923014c7208f7b59fbe6a00db90c24e22 [diff] [blame] |
Add support for HTML Media Capture "capture" attribute. Receive the value for the new "capture" attribute on HTML file pickers, and do the right thing with it. Requires changes in WebKit (I0a921be31fda79a43c05da4fe22d9c808d92709c) and the framework (I494adc1274ca21ce8fe52a6c7b6b758217927e66). Bug: 5771207 Change-Id: I38dfe2df043fdba1388384dbd3b5370737eb38e5
diff --git a/src/com/android/browser/WebViewController.java b/src/com/android/browser/WebViewController.java index 20027e0..30eec4f 100644 --- a/src/com/android/browser/WebViewController.java +++ b/src/com/android/browser/WebViewController.java
@@ -97,7 +97,7 @@ void onUpdatedSecurityState(Tab tab); - void openFileChooser(ValueCallback<Uri> uploadMsg, String acceptType); + void openFileChooser(ValueCallback<Uri> uploadMsg, String acceptType, String capture); void endActionMode();