Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 2aae231b938814a6a32e298f30d033857a1726e5..57b55dd64989127f0fdcf44e33f6e1c402f6d05a 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -78,6 +78,7 @@ IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum) |
IPC_ENUM_TRAITS(content::StopFindAction) |
IPC_ENUM_TRAITS(media::ChannelLayout) |
IPC_ENUM_TRAITS(media::MediaLogEvent::Type) |
+IPC_ENUM_TRAITS(content::WebHTTPPOSTBodyParams::Type) |
IPC_ENUM_TRAITS(ui::TextInputType) |
IPC_STRUCT_TRAITS_BEGIN(EditCommand) |
@@ -309,6 +310,20 @@ IPC_STRUCT_TRAITS_BEGIN(content::FrameNavigateParams) |
IPC_STRUCT_TRAITS_MEMBER(socket_address) |
IPC_STRUCT_TRAITS_END() |
+ |
+IPC_STRUCT_TRAITS_BEGIN(content::WebHTTPPOSTBodyParams) |
+ // HTTP Body Info |
+ IPC_STRUCT_TRAITS_MEMBER(method) |
+ IPC_STRUCT_TRAITS_MEMBER(type) |
+ IPC_STRUCT_TRAITS_MEMBER(data) |
+ IPC_STRUCT_TRAITS_MEMBER(filePath) |
+ IPC_STRUCT_TRAITS_MEMBER(fileStart) |
+ IPC_STRUCT_TRAITS_MEMBER(fileLength) |
+ IPC_STRUCT_TRAITS_MEMBER(modificationTime) |
+ // HTTP Header Info, will Move to new struct |
+ IPC_STRUCT_TRAITS_MEMBER(ContentType) |
+IPC_STRUCT_TRAITS_END() |
+ |
IPC_STRUCT_TRAITS_BEGIN(content::RendererPreferences) |
IPC_STRUCT_TRAITS_MEMBER(can_accept_load_drops) |
IPC_STRUCT_TRAITS_MEMBER(should_antialias_text) |
@@ -742,6 +757,8 @@ IPC_STRUCT_BEGIN(ViewMsg_Navigate_Params) |
// Whether or not this url should be allowed to access local file:// |
// resources. |
IPC_STRUCT_MEMBER(bool, can_load_local_resources) |
+ |
+ IPC_STRUCT_MEMBER(std::vector<content::WebHTTPPOSTBodyParams>, post_data) |
IPC_STRUCT_END() |
IPC_STRUCT_BEGIN(ViewMsg_New_Params) |
@@ -1901,6 +1918,14 @@ IPC_MESSAGE_ROUTED4(ViewHostMsg_OpenURL, |
WindowOpenDisposition /* disposition */, |
int64 /* frame id */) |
+// Requests that the given URL be opened in the specified manner. |
+IPC_MESSAGE_ROUTED5(ViewHostMsg_OpenPostURL, |
+ GURL /* url */, |
+ content::Referrer /* referrer */, |
+ WindowOpenDisposition /* disposition */, |
+ int64 /* frame id */, |
+ std::vector<content::WebHTTPPOSTBodyParams>) |
+ |
// Notifies that the preferred size of the content changed. |
IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, |
gfx::Size /* pref_size */) |