Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(939)

Unified Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 7729002: Handle the ViewHostMsg_RunFileChooser IPC message which is sent by content(renderer) in RVH and (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {}
};

Powered by Google App Engine
This is Rietveld 408576698