Index: content/browser/frame_host/render_frame_host_delegate.h |
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h |
index 9054ea9f36cc48e926d67d46abe957dd11b7ad7a..c1cb9fb65c9afabba75009c352e6d83dd11cd6ec 100644 |
--- a/content/browser/frame_host/render_frame_host_delegate.h |
+++ b/content/browser/frame_host/render_frame_host_delegate.h |
@@ -38,6 +38,7 @@ class WakeLockServiceContext; |
class WebContents; |
struct AXEventNotificationDetails; |
struct ContextMenuParams; |
+struct FileChooserParams; |
struct TransitionLayerData; |
// An interface implemented by an object interested in knowing about the state |
@@ -81,6 +82,10 @@ class CONTENT_EXPORT RenderFrameHostDelegate { |
bool is_reload, |
IPC::Message* reply_msg) {} |
+ // Called when a file selection is to be done. |
+ virtual void RunFileChooser(RenderFrameHost* render_frame_host, |
+ const FileChooserParams& params) {} |
+ |
// Another page accessed the top-level initial empty document, which means it |
// is no longer safe to display a pending URL without risking a URL spoof. |
virtual void DidAccessInitialDocument() {} |