| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 IPC_STRUCT_MEMBER(content::CommonNavigationParams, common_params) | 227 IPC_STRUCT_MEMBER(content::CommonNavigationParams, common_params) |
| 228 IPC_STRUCT_MEMBER(content::RequestNavigationParams, request_params) | 228 IPC_STRUCT_MEMBER(content::RequestNavigationParams, request_params) |
| 229 IPC_STRUCT_MEMBER(content::CommitNavigationParams, commit_params) | 229 IPC_STRUCT_MEMBER(content::CommitNavigationParams, commit_params) |
| 230 | 230 |
| 231 // The page_id for this navigation, or -1 if it is a new navigation. Back, | 231 // The page_id for this navigation, or -1 if it is a new navigation. Back, |
| 232 // Forward, and Reload navigations should have a valid page_id. If the load | 232 // Forward, and Reload navigations should have a valid page_id. If the load |
| 233 // succeeds, then this page_id will be reflected in the resultant | 233 // succeeds, then this page_id will be reflected in the resultant |
| 234 // FrameHostMsg_DidCommitProvisionalLoad message. | 234 // FrameHostMsg_DidCommitProvisionalLoad message. |
| 235 IPC_STRUCT_MEMBER(int32, page_id) | 235 IPC_STRUCT_MEMBER(int32, page_id) |
| 236 | 236 |
| 237 // If page_id is -1, then pending_history_list_offset will also be -1. | 237 // For history navigations, this is the offset in the history list of the |
| 238 // Otherwise, it contains the offset into the history list corresponding to | 238 // pending load. For non-history navigations, this will be ignored. |
| 239 // the current navigation. | |
| 240 IPC_STRUCT_MEMBER(int, pending_history_list_offset) | 239 IPC_STRUCT_MEMBER(int, pending_history_list_offset) |
| 241 | 240 |
| 242 // Informs the RenderView of where its current page contents reside in | 241 // Informs the RenderView of where its current page contents reside in |
| 243 // session history and the total size of the session history list. | 242 // session history and the total size of the session history list. |
| 244 IPC_STRUCT_MEMBER(int, current_history_list_offset) | 243 IPC_STRUCT_MEMBER(int, current_history_list_offset) |
| 245 IPC_STRUCT_MEMBER(int, current_history_list_length) | 244 IPC_STRUCT_MEMBER(int, current_history_list_length) |
| 246 | 245 |
| 247 // Informs the RenderView the session history should be cleared. In that | 246 // Informs the RenderView the session history should be cleared. In that |
| 248 // case, the RenderView needs to notify the browser that the clearing was | 247 // case, the RenderView needs to notify the browser that the clearing was |
| 249 // succesful when the navigation commits. | 248 // succesful when the navigation commits. |
| (...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 807 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 806 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
| 808 | 807 |
| 809 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 808 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 810 | 809 |
| 811 // Message to show/hide a popup menu using native controls. | 810 // Message to show/hide a popup menu using native controls. |
| 812 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 811 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 813 FrameHostMsg_ShowPopup_Params) | 812 FrameHostMsg_ShowPopup_Params) |
| 814 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 813 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 815 | 814 |
| 816 #endif | 815 #endif |
| OLD | NEW |