| 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 IPC_STRUCT_END() | 205 IPC_STRUCT_END() |
| 206 | 206 |
| 207 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams) | 207 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams) |
| 208 IPC_STRUCT_TRAITS_MEMBER(url) | 208 IPC_STRUCT_TRAITS_MEMBER(url) |
| 209 IPC_STRUCT_TRAITS_MEMBER(referrer) | 209 IPC_STRUCT_TRAITS_MEMBER(referrer) |
| 210 IPC_STRUCT_TRAITS_MEMBER(transition) | 210 IPC_STRUCT_TRAITS_MEMBER(transition) |
| 211 IPC_STRUCT_TRAITS_MEMBER(navigation_type) | 211 IPC_STRUCT_TRAITS_MEMBER(navigation_type) |
| 212 IPC_STRUCT_TRAITS_MEMBER(allow_download) | 212 IPC_STRUCT_TRAITS_MEMBER(allow_download) |
| 213 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) | 213 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) |
| 214 IPC_STRUCT_TRAITS_MEMBER(report_type) | 214 IPC_STRUCT_TRAITS_MEMBER(report_type) |
| 215 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) |
| 216 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) |
| 215 IPC_STRUCT_TRAITS_END() | 217 IPC_STRUCT_TRAITS_END() |
| 216 | 218 |
| 217 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) | 219 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) |
| 218 IPC_STRUCT_TRAITS_MEMBER(method) | 220 IPC_STRUCT_TRAITS_MEMBER(method) |
| 219 IPC_STRUCT_TRAITS_MEMBER(headers) | 221 IPC_STRUCT_TRAITS_MEMBER(headers) |
| 220 IPC_STRUCT_TRAITS_MEMBER(load_flags) | 222 IPC_STRUCT_TRAITS_MEMBER(load_flags) |
| 221 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | 223 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
| 222 IPC_STRUCT_TRAITS_END() | 224 IPC_STRUCT_TRAITS_END() |
| 223 | 225 |
| 224 IPC_STRUCT_TRAITS_BEGIN(content::CommitNavigationParams) | 226 IPC_STRUCT_TRAITS_BEGIN(content::CommitNavigationParams) |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 // Informs the RenderView of where its current page contents reside in | 279 // Informs the RenderView of where its current page contents reside in |
| 278 // session history and the total size of the session history list. | 280 // session history and the total size of the session history list. |
| 279 IPC_STRUCT_MEMBER(int, current_history_list_offset) | 281 IPC_STRUCT_MEMBER(int, current_history_list_offset) |
| 280 IPC_STRUCT_MEMBER(int, current_history_list_length) | 282 IPC_STRUCT_MEMBER(int, current_history_list_length) |
| 281 | 283 |
| 282 // Informs the RenderView the session history should be cleared. In that | 284 // Informs the RenderView the session history should be cleared. In that |
| 283 // case, the RenderView needs to notify the browser that the clearing was | 285 // case, the RenderView needs to notify the browser that the clearing was |
| 284 // succesful when the navigation commits. | 286 // succesful when the navigation commits. |
| 285 IPC_STRUCT_MEMBER(bool, should_clear_history_list) | 287 IPC_STRUCT_MEMBER(bool, should_clear_history_list) |
| 286 | 288 |
| 287 // Base URL for use in WebKit's SubstituteData. | |
| 288 // Is only used with data: URLs. | |
| 289 IPC_STRUCT_MEMBER(GURL, base_url_for_data_url) | |
| 290 | |
| 291 // History URL for use in WebKit's SubstituteData. | |
| 292 // Is only used with data: URLs. | |
| 293 IPC_STRUCT_MEMBER(GURL, history_url_for_data_url) | |
| 294 | |
| 295 // Any redirect URLs that occurred before |url|. Useful for cross-process | 289 // Any redirect URLs that occurred before |url|. Useful for cross-process |
| 296 // navigations; defaults to empty. | 290 // navigations; defaults to empty. |
| 297 IPC_STRUCT_MEMBER(std::vector<GURL>, redirects) | 291 IPC_STRUCT_MEMBER(std::vector<GURL>, redirects) |
| 298 | 292 |
| 299 // Informs the RenderView the pending navigation should replace the current | 293 // Informs the RenderView the pending navigation should replace the current |
| 300 // history entry when it commits. This is used for cross-process redirects so | 294 // history entry when it commits. This is used for cross-process redirects so |
| 301 // the transferred navigation can recover the navigation state. | 295 // the transferred navigation can recover the navigation state. |
| 302 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) | 296 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) |
| 303 | 297 |
| 304 // The time the request was created. This is used by the old performance | 298 // The time the request was created. This is used by the old performance |
| (...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 bool /* present */) | 856 bool /* present */) |
| 863 | 857 |
| 864 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 858 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 865 | 859 |
| 866 // Message to show/hide a popup menu using native controls. | 860 // Message to show/hide a popup menu using native controls. |
| 867 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 861 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 868 FrameHostMsg_ShowPopup_Params) | 862 FrameHostMsg_ShowPopup_Params) |
| 869 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 863 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 870 | 864 |
| 871 #endif | 865 #endif |
| OLD | NEW |