| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // IPC messages for interacting with frames. | 5 // IPC messages for interacting with frames. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "content/common/content_param_traits.h" | 9 #include "content/common/content_param_traits.h" |
| 10 #include "content/common/frame_message_enums.h" | 10 #include "content/common/frame_message_enums.h" |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 IPC_STRUCT_END() | 264 IPC_STRUCT_END() |
| 265 | 265 |
| 266 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) | 266 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) |
| 267 IPC_STRUCT_MEMBER(GURL, url) | 267 IPC_STRUCT_MEMBER(GURL, url) |
| 268 IPC_STRUCT_MEMBER(content::Referrer, referrer) | 268 IPC_STRUCT_MEMBER(content::Referrer, referrer) |
| 269 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) | 269 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) |
| 270 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) | 270 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) |
| 271 IPC_STRUCT_MEMBER(bool, user_gesture) | 271 IPC_STRUCT_MEMBER(bool, user_gesture) |
| 272 IPC_STRUCT_END() | 272 IPC_STRUCT_END() |
| 273 | 273 |
| 274 // PlzNavigate |
| 274 IPC_STRUCT_BEGIN(FrameHostMsg_BeginNavigation_Params) | 275 IPC_STRUCT_BEGIN(FrameHostMsg_BeginNavigation_Params) |
| 275 // The request method: GET, POST, etc. | 276 // The request method: GET, POST, etc. |
| 276 IPC_STRUCT_MEMBER(std::string, method) | 277 IPC_STRUCT_MEMBER(std::string, method) |
| 277 | 278 |
| 278 // The requested URL. | 279 // The requested URL. |
| 279 IPC_STRUCT_MEMBER(GURL, url) | 280 IPC_STRUCT_MEMBER(GURL, url) |
| 280 | 281 |
| 281 // The referrer to use (may be empty). | 282 // The referrer to use (may be empty). |
| 282 IPC_STRUCT_MEMBER(GURL, referrer) | 283 IPC_STRUCT_MEMBER(content::Referrer, referrer) |
| 283 | |
| 284 // The referrer policy to use. | |
| 285 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy) | |
| 286 | 284 |
| 287 // Additional HTTP request headers. | 285 // Additional HTTP request headers. |
| 288 IPC_STRUCT_MEMBER(std::string, headers) | 286 IPC_STRUCT_MEMBER(std::string, headers) |
| 289 | 287 |
| 290 // net::URLRequest load flags (net::LOAD_NORMAL) by default). | 288 // net::URLRequest load flags (net::LOAD_NORMAL) by default). |
| 291 IPC_STRUCT_MEMBER(int, load_flags) | 289 IPC_STRUCT_MEMBER(int, load_flags) |
| 292 | 290 |
| 293 // Optional resource request body (may be null). | 291 // Optional resource request body (may be null). |
| 294 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>, | 292 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>, |
| 295 request_body) | 293 request_body) |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 707 std::string /* selector */, | 705 std::string /* selector */, |
| 708 std::string /* markup */) | 706 std::string /* markup */) |
| 709 | 707 |
| 710 // Tells the browser to perform a navigation. | 708 // Tells the browser to perform a navigation. |
| 711 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, | 709 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, |
| 712 FrameHostMsg_BeginNavigation_Params) | 710 FrameHostMsg_BeginNavigation_Params) |
| 713 | 711 |
| 714 // Sent once a paint happens after the first non empty layout. In other words | 712 // Sent once a paint happens after the first non empty layout. In other words |
| 715 // after the frame has painted something. | 713 // after the frame has painted something. |
| 716 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 714 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
| OLD | NEW |