Index: content/browser/renderer_host/render_view_host_delegate.h |
=================================================================== |
--- content/browser/renderer_host/render_view_host_delegate.h (revision 98068) |
+++ content/browser/renderer_host/render_view_host_delegate.h (working copy) |
@@ -39,6 +39,7 @@ |
struct WebMenuItem; |
class WebKeyboardEvent; |
struct WebPreferences; |
+struct ViewHostMsg_RunFileChooser_Params; |
namespace content { |
class BrowserContext; |
@@ -366,6 +367,11 @@ |
virtual void HandleMouseUp() {} |
virtual void HandleMouseActivate() {} |
+ // Called when a file selection is to be done. |
+ virtual void RunFileChooser( |
+ RenderViewHost* render_view_host, |
+ const ViewHostMsg_RunFileChooser_Params& params) {} |
+ |
protected: |
virtual ~RenderViewHostDelegate() {} |
}; |