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

Unified Diff: content/renderer/render_view_impl.h

Issue 11193051: To fix the cross-site post submission bug. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reuse ResourceRequestBody Struct Created 8 years, 1 month 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/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 8467f3d8dc52499354fa431f95fc9a91b0dd1ff1..33094a885da7aded57cd2089fa842574cb723552 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -21,6 +21,7 @@
#include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
#include "content/common/navigation_gesture.h"
#include "content/common/view_message_enums.h"
+#include "content/public/common/frame_navigate_params.h"
#include "content/public/common/javascript_message_type.h"
#include "content/public/common/page_zoom.h"
#include "content/public/common/referrer.h"
@@ -859,6 +860,12 @@ class RenderViewImpl : public RenderWidget,
const Referrer& referrer,
WebKit::WebNavigationPolicy policy);
+ void OpenPostURL(WebKit::WebFrame* frame,
+ const GURL& url,
+ const content::Referrer& referrer,
+ WebKit::WebNavigationPolicy policy,
+ const ViewMsg_Request& request);
+
bool RunJavaScriptMessage(JavaScriptMessageType type,
const string16& message,
const string16& default_value,

Powered by Google App Engine
This is Rietveld 408576698