summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/chromium/public/WebViewClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/public/WebViewClient.h')
-rw-r--r--Source/WebKit/chromium/public/WebViewClient.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/public/WebViewClient.h b/Source/WebKit/chromium/public/WebViewClient.h
index c168ef2..5174351 100644
--- a/Source/WebKit/chromium/public/WebViewClient.h
+++ b/Source/WebKit/chromium/public/WebViewClient.h
@@ -122,6 +122,12 @@ public:
// The icon is shown in a file upload control.
virtual bool queryIconForFiles(const WebVector<WebString>& filenames, WebIconLoadingCompletion*) { return false; }
+ // This method enumerates all the files in the path. It returns immediately
+ // and asynchronously invokes the WebFileChooserCompletion with all the
+ // files in the directory. Returns false if the WebFileChooserCompletion
+ // will never be called.
+ virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserCompletion*) { return false; }
+
// Navigational --------------------------------------------------------