OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 resource loading. | 5 // IPC messages for resource loading. |
6 // | 6 // |
7 // NOTE: All messages must send an |int request_id| as their first parameter. | 7 // NOTE: All messages must send an |int request_id| as their first parameter. |
8 | 8 |
9 // Multiply-included message file, hence no include guard. | 9 // Multiply-included message file, hence no include guard. |
10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 // True if |frame_id| is the main frame of a RenderView. | 209 // True if |frame_id| is the main frame of a RenderView. |
210 IPC_STRUCT_MEMBER(bool, is_main_frame) | 210 IPC_STRUCT_MEMBER(bool, is_main_frame) |
211 | 211 |
212 // True if |parent_render_frame_id| is the main frame of a RenderView. | 212 // True if |parent_render_frame_id| is the main frame of a RenderView. |
213 IPC_STRUCT_MEMBER(bool, parent_is_main_frame) | 213 IPC_STRUCT_MEMBER(bool, parent_is_main_frame) |
214 | 214 |
215 // Identifies the parent frame of the frame that sent the request. | 215 // Identifies the parent frame of the frame that sent the request. |
216 // -1 if unknown / invalid. | 216 // -1 if unknown / invalid. |
217 IPC_STRUCT_MEMBER(int, parent_render_frame_id) | 217 IPC_STRUCT_MEMBER(int, parent_render_frame_id) |
218 | 218 |
219 IPC_STRUCT_MEMBER(content::PageTransition, transition_type) | 219 IPC_STRUCT_MEMBER(ui::PageTransition, transition_type) |
220 | 220 |
221 // For navigations, whether this navigation should replace the current session | 221 // For navigations, whether this navigation should replace the current session |
222 // history entry on commit. | 222 // history entry on commit. |
223 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) | 223 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) |
224 | 224 |
225 // The following two members identify a previous request that has been | 225 // The following two members identify a previous request that has been |
226 // created before this navigation has been transferred to a new render view. | 226 // created before this navigation has been transferred to a new render view. |
227 // This serves the purpose of recycling the old request. | 227 // This serves the purpose of recycling the old request. |
228 // Unless this refers to a transferred navigation, these values are -1 and -1. | 228 // Unless this refers to a transferred navigation, these values are -1 and -1. |
229 IPC_STRUCT_MEMBER(int, transferred_request_child_id) | 229 IPC_STRUCT_MEMBER(int, transferred_request_child_id) |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 | 358 |
359 // Sent when the renderer process deletes a resource loader. | 359 // Sent when the renderer process deletes a resource loader. |
360 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 360 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
361 int /* request_id */) | 361 int /* request_id */) |
362 | 362 |
363 // Sent by the renderer when a resource request changes priority. | 363 // Sent by the renderer when a resource request changes priority. |
364 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, | 364 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, |
365 int /* request_id */, | 365 int /* request_id */, |
366 net::RequestPriority, | 366 net::RequestPriority, |
367 int /* intra_priority_value */) | 367 int /* intra_priority_value */) |
OLD | NEW |