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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(GURL, referrer) |
283 | 283 |
284 // The referrer policy to use. | 284 // The referrer policy to use. |
285 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy) | 285 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy) |
286 | 286 |
287 // Additional HTTP request headers. | 287 // Additional HTTP request headers. |
288 IPC_STRUCT_MEMBER(std::string, headers) | 288 IPC_STRUCT_MEMBER(std::string, headers) |
289 | 289 |
290 // net::URLRequest load flags (net::LOAD_NORMAL | net::LOAD_ENABLE_LOAD_TIMING | 290 // net::URLRequest load flags (net::LOAD_NORMAL) by default). |
291 // by default). | |
292 IPC_STRUCT_MEMBER(int, load_flags) | 291 IPC_STRUCT_MEMBER(int, load_flags) |
293 | 292 |
294 // Optional resource request body (may be null). | 293 // Optional resource request body (may be null). |
295 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>, | 294 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>, |
296 request_body) | 295 request_body) |
297 | 296 |
298 // True if the request was user initiated. | 297 // True if the request was user initiated. |
299 IPC_STRUCT_MEMBER(bool, has_user_gesture) | 298 IPC_STRUCT_MEMBER(bool, has_user_gesture) |
300 | 299 |
301 IPC_STRUCT_MEMBER(content::PageTransition, transition_type) | 300 IPC_STRUCT_MEMBER(content::PageTransition, transition_type) |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 std::string /* selector */, | 707 std::string /* selector */, |
709 std::string /* markup */) | 708 std::string /* markup */) |
710 | 709 |
711 // Tells the browser to perform a navigation. | 710 // Tells the browser to perform a navigation. |
712 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, | 711 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, |
713 FrameHostMsg_BeginNavigation_Params) | 712 FrameHostMsg_BeginNavigation_Params) |
714 | 713 |
715 // Sent once a paint happens after the first non empty layout. In other words | 714 // Sent once a paint happens after the first non empty layout. In other words |
716 // after the frame has painted something. | 715 // after the frame has painted something. |
717 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 716 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
OLD | NEW |