Upstream version 6.35.131.0
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / android / core / src / org / xwalk / core / XWalkWebContentsDelegateAdapter.java
index 7edc165..3d7a12a 100644 (file)
@@ -56,4 +56,14 @@ class XWalkWebContentsDelegateAdapter extends XWalkWebContentsDelegate {
 
         return false;
     }
+
+    @Override
+    public boolean shouldOverrideRunFileChooser(int processId, int renderId, int mode,
+            String acceptTypes, boolean capture) {
+        if (mXWalkContentsClient != null) {
+            return mXWalkContentsClient.shouldOverrideRunFileChooser(processId, renderId, mode,
+                    acceptTypes, capture);
+        }
+        return false;
+    }
 }