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 IPC_STRUCT_BEGIN(FrameHostMsg_BeginNavigation_Params) | 274 IPC_STRUCT_BEGIN(FrameHostMsg_BeginNavigation_Params) |
Charlie Reis
2014/08/08 20:25:29
// PlzNavigate
clamy
2014/08/12 12:13:16
Done.
| |
275 // The request method: GET, POST, etc. | 275 // The request method: GET, POST, etc. |
276 IPC_STRUCT_MEMBER(std::string, method) | 276 IPC_STRUCT_MEMBER(std::string, method) |
277 | 277 |
278 // The requested URL. | 278 // The requested URL. |
279 IPC_STRUCT_MEMBER(GURL, url) | 279 IPC_STRUCT_MEMBER(GURL, url) |
280 | 280 |
281 // The referrer to use (may be empty). | 281 // The referrer to use (may be empty). |
282 IPC_STRUCT_MEMBER(GURL, referrer) | 282 IPC_STRUCT_MEMBER(content::Referrer, referrer) |
283 | |
284 // The referrer policy to use. | |
285 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy) | |
286 | 283 |
287 // Additional HTTP request headers. | 284 // Additional HTTP request headers. |
288 IPC_STRUCT_MEMBER(std::string, headers) | 285 IPC_STRUCT_MEMBER(std::string, headers) |
289 | 286 |
290 // net::URLRequest load flags (net::LOAD_NORMAL | net::LOAD_ENABLE_LOAD_TIMING | 287 // net::URLRequest load flags (net::LOAD_NORMAL | net::LOAD_ENABLE_LOAD_TIMING |
291 // by default). | 288 // by default). |
292 IPC_STRUCT_MEMBER(int, load_flags) | 289 IPC_STRUCT_MEMBER(int, load_flags) |
293 | 290 |
294 // Optional resource request body (may be null). | 291 // Optional resource request body (may be null). |
295 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>, | 292 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>, |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
695 int /* render_frame_id */, | 692 int /* render_frame_id */, |
696 bool /* is_transition */) | 693 bool /* is_transition */) |
697 | 694 |
698 // Tells the browser to perform a navigation. | 695 // Tells the browser to perform a navigation. |
699 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, | 696 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, |
700 FrameHostMsg_BeginNavigation_Params) | 697 FrameHostMsg_BeginNavigation_Params) |
701 | 698 |
702 // Sent once a paint happens after the first non empty layout. In other words | 699 // Sent once a paint happens after the first non empty layout. In other words |
703 // after the frame has painted something. | 700 // after the frame has painted something. |
704 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 701 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
OLD | NEW |