diff options
author | dumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-05 22:47:37 +0000 |
---|---|---|
committer | dumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-05 22:47:37 +0000 |
commit | b70a2e432ac516aa3b86ae129a251a5cb4f40daf (patch) | |
tree | 98f454ac90e936b4e54cfa32eb7159f8a18ea07c /chrome/renderer/pepper_plugin_delegate_impl.h | |
parent | 58d2d2dda2269eb7a40a4898592911d5f792ab02 (diff) | |
download | chromium_src-b70a2e432ac516aa3b86ae129a251a5cb4f40daf.zip chromium_src-b70a2e432ac516aa3b86ae129a251a5cb4f40daf.tar.gz chromium_src-b70a2e432ac516aa3b86ae129a251a5cb4f40daf.tar.bz2 |
Chromium-side implemention of pepper's FileChooser.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3052040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/pepper_plugin_delegate_impl.h')
-rw-r--r-- | chrome/renderer/pepper_plugin_delegate_impl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/renderer/pepper_plugin_delegate_impl.h b/chrome/renderer/pepper_plugin_delegate_impl.h index fa9fa91..2aa3186 100644 --- a/chrome/renderer/pepper_plugin_delegate_impl.h +++ b/chrome/renderer/pepper_plugin_delegate_impl.h @@ -19,6 +19,11 @@ namespace pepper { class PluginInstance; } +namespace WebKit { +class WebFileChooserCompletion; +struct WebFileChooserParams; +} + class PepperPluginDelegateImpl : public pepper::PluginDelegate, public base::SupportsWeakPtr<PepperPluginDelegateImpl> { @@ -43,6 +48,9 @@ class PepperPluginDelegateImpl int total, bool final_result); virtual void DidChangeSelectedFindResult(int identifier, int index); + virtual bool RunFileChooser( + const WebKit::WebFileChooserParams& params, + WebKit::WebFileChooserCompletion* chooser_completion); private: // Pointer to the RenderView that owns us. |