Index: content/public/browser/render_frame_host.h |
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h |
index 980704cf16b18af25807b656539ea3bc0105cdc3..e5d8841a4b3334de291855458d817e77950cdbe6 100644 |
--- a/content/public/browser/render_frame_host.h |
+++ b/content/public/browser/render_frame_host.h |
@@ -11,6 +11,7 @@ |
#include "build/build_config.h" |
#include "content/common/content_export.h" |
#include "content/public/common/console_message_level.h" |
+#include "content/public/common/file_chooser_params.h" |
#include "ipc/ipc_listener.h" |
#include "ipc/ipc_sender.h" |
#include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
@@ -29,6 +30,7 @@ class RenderViewHost; |
class RenderWidgetHostView; |
class ServiceRegistry; |
class SiteInstance; |
+struct FileChooserFileInfo; |
// The interface provides a communication conduit with a frame in the renderer. |
class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, |
@@ -181,6 +183,13 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, |
// use by resource metrics. |
virtual int GetProxyCount() = 0; |
+ // Notifies the Listener that one or more files have been chosen by the user |
+ // from a file chooser dialog for the form. |permissions| is the file |
+ // selection mode in which the chooser dialog was created. |
+ virtual void FilesSelectedInChooser( |
+ const std::vector<content::FileChooserFileInfo>& files, |
+ FileChooserParams::Mode permissions) = 0; |
+ |
private: |
// This interface should only be implemented inside content. |
friend class RenderFrameHostImpl; |