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

Unified Diff: content/public/browser/render_view_host.h

Issue 2050623005: Move file chooser from RenderView(Host) to RenderFrame(Host). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes based on reviews. Created 4 years, 6 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/pepper/mock_renderer_ppapi_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_view_host.h
diff --git a/content/public/browser/render_view_host.h b/content/public/browser/render_view_host.h
index ba928c5c346ec005bf780b167ef0095bc86d5dbb..06a9b1be5383145b19a521294a952f6db7c56737 100644
--- a/content/public/browser/render_view_host.h
+++ b/content/public/browser/render_view_host.h
@@ -6,9 +6,9 @@
#define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
#include "base/callback_forward.h"
+#include "base/files/file_path.h"
#include "build/build_config.h"
#include "content/common/content_export.h"
-#include "content/public/common/file_chooser_params.h"
#include "content/public/common/page_zoom.h"
#include "ipc/ipc_sender.h"
#include "mojo/public/cpp/system/core.h"
@@ -41,7 +41,6 @@ class RenderWidgetHost;
class SessionStorageNamespace;
class SiteInstance;
struct DropData;
-struct FileChooserFileInfo;
struct WebPreferences;
// A RenderViewHost is responsible for creating and talking to a RenderView
@@ -168,13 +167,6 @@ class CONTENT_EXPORT RenderViewHost : public IPC::Sender {
virtual void ExecutePluginActionAtLocation(
const gfx::Point& location, const blink::WebPluginAction& action) = 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;
-
virtual RenderViewHostDelegate* GetDelegate() const = 0;
// Returns a bitwise OR of bindings types that have been enabled for this
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/pepper/mock_renderer_ppapi_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698