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

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

Issue 11193051: To fix the cross-site post submission bug. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix FileRead Permission Created 8 years, 2 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_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 43e46028c93b978fcee1f5dfbfd2b89be82c6246..eaffae1348578479427c31b2a6150da5c4a4481f 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -24,6 +24,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h"
#include "webkit/glue/window_open_disposition.h"
class ChildProcessSecurityPolicyImpl;
@@ -61,6 +62,7 @@ class TestRenderViewHost;
struct ContextMenuParams;
struct FileChooserParams;
struct Referrer;
+struct WebHTTPPOSTBodyParams;
struct ShowDesktopNotificationHostMsgParams;
// NotificationObserver used to listen for EXECUTE_JAVASCRIPT_RESULT
@@ -516,6 +518,11 @@ class CONTENT_EXPORT RenderViewHostImpl
const Referrer& referrer,
WindowOpenDisposition disposition,
int64 source_frame_id);
+ void OnMsgOpenPostURL(const GURL& url,
+ const Referrer& referrer,
+ WindowOpenDisposition disposition,
+ int64 source_frame_id,
+ std::vector<content::WebHTTPPOSTBodyParams> post_data);
michaeln 2012/10/23 23:22:18 ditto, probably don't want to pass by value
irobert 2012/11/01 19:26:31 Done.
void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size);
void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar,
bool has_vertical_scrollbar);

Powered by Google App Engine
This is Rietveld 408576698