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

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: 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/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 4530b6248a34eb94ffd852d8dc64a500523a027b..dbb8515ee769ffb104f2eda8b352b46f4b59215b 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -11,6 +11,8 @@
#include <string>
#include <vector>
+#include "content/public/common/frame_navigate_params.h"
+
#include "base/basictypes.h"
#include "base/gtest_prod_util.h"
#include "base/id_map.h"
@@ -896,6 +898,12 @@ class RenderViewImpl : public RenderWidget,
const content::Referrer& referrer,
WebKit::WebNavigationPolicy policy);
+ void OpenPostURL(WebKit::WebFrame* frame,
+ const GURL& url,
+ const content::Referrer& referrer,
+ WebKit::WebNavigationPolicy policy,
+ std::vector<content::WebHTTPPOSTBodyParams> post_data);
michaeln 2012/10/23 23:22:18 ditto nix pass by value
irobert 2012/11/01 19:26:31 Done.
+
bool RunJavaScriptMessage(content::JavaScriptMessageType type,
const string16& message,
const string16& default_value,

Powered by Google App Engine
This is Rietveld 408576698