Index: content/browser/renderer_host/render_view_host_delegate.h |
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h |
index 784ea53af0004fe126cabe7e531f323c8d4eb296..1ede9c0eb3a8115286028a4f0d6e49ea1f69f443 100644 |
--- a/content/browser/renderer_host/render_view_host_delegate.h |
+++ b/content/browser/renderer_host/render_view_host_delegate.h |
@@ -14,6 +14,7 @@ |
#include "base/string16.h" |
#include "content/common/content_export.h" |
#include "content/public/common/context_menu_source_type.h" |
+#include "content/public/common/frame_navigate_params.h" |
#include "content/public/common/javascript_message_type.h" |
#include "content/public/common/media_stream_request.h" |
#include "net/base/load_states.h" |
@@ -65,6 +66,7 @@ struct GlobalRequestID; |
struct NativeWebKeyboardEvent; |
struct Referrer; |
struct RendererPreferences; |
+struct ViewMsg_Request; |
typedef base::Callback< void(const MediaStreamDevices&) > MediaResponseCallback; |
@@ -421,6 +423,23 @@ class CONTENT_EXPORT RenderViewHostDelegate { |
virtual void RemoveLayer(WebKit::WebLayer* layer) {} |
#endif |
+ |
+ // For Cross-Navigation Post Submisstion |
+ virtual void RequestOpenPostURL(RenderViewHost* rvh, |
+ const GURL& url, |
+ const Referrer& referrer, |
+ WindowOpenDisposition disposition, |
+ int64 source_frame_id, |
+ ViewMsg_Request request) {} |
michaeln
2012/11/02 00:08:23
please avoid pass by value (with non primitive typ
irobert
2012/11/02 17:22:55
Done.
|
+ |
+ virtual void RequestTransferPostURL( |
+ const GURL& url, |
+ const Referrer& referrer, |
+ WindowOpenDisposition disposition, |
+ int64 source_frame_id, |
+ const GlobalRequestID& old_request_id, |
+ ViewMsg_Request request) {} |
+ |
protected: |
virtual ~RenderViewHostDelegate() {} |
}; |