| 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 | 204 |
| 205 // The URL to send in the "Referer" header field. Can be empty if there is | 205 // The URL to send in the "Referer" header field. Can be empty if there is |
| 206 // no referrer. | 206 // no referrer. |
| 207 IPC_STRUCT_MEMBER(content::Referrer, referrer) | 207 IPC_STRUCT_MEMBER(content::Referrer, referrer) |
| 208 | 208 |
| 209 // Any redirect URLs that occurred before |url|. Useful for cross-process | 209 // Any redirect URLs that occurred before |url|. Useful for cross-process |
| 210 // navigations; defaults to empty. | 210 // navigations; defaults to empty. |
| 211 IPC_STRUCT_MEMBER(std::vector<GURL>, redirects) | 211 IPC_STRUCT_MEMBER(std::vector<GURL>, redirects) |
| 212 | 212 |
| 213 // The type of transition. | 213 // The type of transition. |
| 214 IPC_STRUCT_MEMBER(content::PageTransition, transition) | 214 IPC_STRUCT_MEMBER(ui::PageTransition, transition) |
| 215 | 215 |
| 216 // Informs the RenderView the pending navigation should replace the current | 216 // Informs the RenderView the pending navigation should replace the current |
| 217 // history entry when it commits. This is used for cross-process redirects so | 217 // history entry when it commits. This is used for cross-process redirects so |
| 218 // the transferred navigation can recover the navigation state. | 218 // the transferred navigation can recover the navigation state. |
| 219 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) | 219 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) |
| 220 | 220 |
| 221 // Opaque history state (received by ViewHostMsg_UpdateState). | 221 // Opaque history state (received by ViewHostMsg_UpdateState). |
| 222 IPC_STRUCT_MEMBER(content::PageState, page_state) | 222 IPC_STRUCT_MEMBER(content::PageState, page_state) |
| 223 | 223 |
| 224 // Type of navigation. | 224 // Type of navigation. |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 // net::URLRequest load flags (net::LOAD_NORMAL) by default). | 288 // net::URLRequest load flags (net::LOAD_NORMAL) by default). |
| 289 IPC_STRUCT_MEMBER(int, load_flags) | 289 IPC_STRUCT_MEMBER(int, load_flags) |
| 290 | 290 |
| 291 // Optional resource request body (may be null). | 291 // Optional resource request body (may be null). |
| 292 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>, | 292 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>, |
| 293 request_body) | 293 request_body) |
| 294 | 294 |
| 295 // True if the request was user initiated. | 295 // True if the request was user initiated. |
| 296 IPC_STRUCT_MEMBER(bool, has_user_gesture) | 296 IPC_STRUCT_MEMBER(bool, has_user_gesture) |
| 297 | 297 |
| 298 IPC_STRUCT_MEMBER(content::PageTransition, transition_type) | 298 IPC_STRUCT_MEMBER(ui::PageTransition, transition_type) |
| 299 | 299 |
| 300 // Whether this navigation should replace the current session history entry on | 300 // Whether this navigation should replace the current session history entry on |
| 301 // commit. | 301 // commit. |
| 302 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) | 302 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) |
| 303 | 303 |
| 304 // Whether or not we should allow the URL to download. | 304 // Whether or not we should allow the URL to download. |
| 305 IPC_STRUCT_MEMBER(bool, allow_download) | 305 IPC_STRUCT_MEMBER(bool, allow_download) |
| 306 IPC_STRUCT_END() | 306 IPC_STRUCT_END() |
| 307 | 307 |
| 308 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 308 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 773 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 773 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
| 774 | 774 |
| 775 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 775 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 776 | 776 |
| 777 // Message to show/hide a popup menu using native controls. | 777 // Message to show/hide a popup menu using native controls. |
| 778 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 778 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 779 FrameHostMsg_ShowPopup_Params) | 779 FrameHostMsg_ShowPopup_Params) |
| 780 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 780 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 781 | 781 |
| 782 #endif | 782 #endif |
| OLD | NEW |