summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_delegate.h
diff options
context:
space:
mode:
authoryaar@chromium.org <yaar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-06 18:38:46 +0000
committeryaar@chromium.org <yaar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-06 18:38:46 +0000
commita112832e7f2b611a814f68b6f1335159f8f4dec0 (patch)
tree6610341329b1ea68c4dbeaa0631a7a83d7f14f70 /webkit/glue/webview_delegate.h
parent9c92338c5f8770c440799d24387c3733fd6d826b (diff)
downloadchromium_src-a112832e7f2b611a814f68b6f1335159f8f4dec0.zip
chromium_src-a112832e7f2b611a814f68b6f1335159f8f4dec0.tar.gz
chromium_src-a112832e7f2b611a814f68b6f1335159f8f4dec0.tar.bz2
Move runFileChooser from webview_delegate to WebViewClient.
More details here: http://code.google.com/p/chromium/issues/detail?id=23385 Review URL: http://codereview.chromium.org/259031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28134 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_delegate.h')
-rw-r--r--webkit/glue/webview_delegate.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h
index 72e1997..5ad7b09 100644
--- a/webkit/glue/webview_delegate.h
+++ b/webkit/glue/webview_delegate.h
@@ -53,18 +53,6 @@ class WebDevToolsAgentDelegate;
class WebView;
struct ContextMenuMediaParams;
-// Interface passed in to the WebViewDelegate to receive notification of the
-// result of an open file dialog.
-class WebFileChooserCallback {
- public:
- WebFileChooserCallback() {}
- virtual ~WebFileChooserCallback() {}
- virtual void OnFileChoose(const std::vector<FilePath>& file_names) { }
-
- private:
- DISALLOW_COPY_AND_ASSIGN(WebFileChooserCallback);
-};
-
// TODO(darin): Eliminate WebViewDelegate in favor of WebViewClient.
class WebViewDelegate : public WebKit::WebViewClient {
public:
@@ -115,17 +103,6 @@ class WebViewDelegate : public WebKit::WebViewClient {
// UIDelegate --------------------------------------------------------------
- // Called to display a file chooser prompt. The prompt should be pre-
- // populated with the given initial_filename string. The WebViewDelegate
- // will own the WebFileChooserCallback object and is responsible for
- // freeing it.
- virtual void RunFileChooser(bool multi_select,
- const string16& title,
- const FilePath& initial_filename,
- WebFileChooserCallback* file_chooser) {
- delete file_chooser;
- }
-
// @abstract Shows a context menu with commands relevant to a specific
// element on the current page.
// @param webview The WebView sending the delegate method.