| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 IPC_STRUCT_TRAITS_MEMBER(searchable_form_encoding) | 102 IPC_STRUCT_TRAITS_MEMBER(searchable_form_encoding) |
| 103 IPC_STRUCT_TRAITS_MEMBER(contents_mime_type) | 103 IPC_STRUCT_TRAITS_MEMBER(contents_mime_type) |
| 104 IPC_STRUCT_TRAITS_MEMBER(socket_address) | 104 IPC_STRUCT_TRAITS_MEMBER(socket_address) |
| 105 IPC_STRUCT_TRAITS_END() | 105 IPC_STRUCT_TRAITS_END() |
| 106 | 106 |
| 107 // Parameters structure for FrameHostMsg_DidCommitProvisionalLoad, which has | 107 // Parameters structure for FrameHostMsg_DidCommitProvisionalLoad, which has |
| 108 // too many data parameters to be reasonably put in a predefined IPC message. | 108 // too many data parameters to be reasonably put in a predefined IPC message. |
| 109 IPC_STRUCT_BEGIN_WITH_PARENT(FrameHostMsg_DidCommitProvisionalLoad_Params, | 109 IPC_STRUCT_BEGIN_WITH_PARENT(FrameHostMsg_DidCommitProvisionalLoad_Params, |
| 110 content::FrameNavigateParams) | 110 content::FrameNavigateParams) |
| 111 IPC_STRUCT_TRAITS_PARENT(content::FrameNavigateParams) | 111 IPC_STRUCT_TRAITS_PARENT(content::FrameNavigateParams) |
| 112 // The frame ID for this navigation. The frame ID uniquely identifies the | |
| 113 // frame the navigation happened in for a given renderer. | |
| 114 IPC_STRUCT_MEMBER(int64, frame_id) | |
| 115 | |
| 116 // The WebFrame's uniqueName(). | 112 // The WebFrame's uniqueName(). |
| 117 IPC_STRUCT_MEMBER(base::string16, frame_unique_name) | 113 IPC_STRUCT_MEMBER(base::string16, frame_unique_name) |
| 118 | 114 |
| 119 // Information regarding the security of the connection (empty if the | 115 // Information regarding the security of the connection (empty if the |
| 120 // connection was not secure). | 116 // connection was not secure). |
| 121 IPC_STRUCT_MEMBER(std::string, security_info) | 117 IPC_STRUCT_MEMBER(std::string, security_info) |
| 122 | 118 |
| 123 // The gesture that initiated this navigation. | 119 // The gesture that initiated this navigation. |
| 124 IPC_STRUCT_MEMBER(content::NavigationGesture, gesture) | 120 IPC_STRUCT_MEMBER(content::NavigationGesture, gesture) |
| 125 | 121 |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 // content area, and a context menu should be shown for it. The params | 426 // content area, and a context menu should be shown for it. The params |
| 431 // object contains information about the node(s) that were selected when the | 427 // object contains information about the node(s) that were selected when the |
| 432 // user right clicked. | 428 // user right clicked. |
| 433 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 429 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
| 434 | 430 |
| 435 // Initial drawing parameters for a child frame that has been swapped out to | 431 // Initial drawing parameters for a child frame that has been swapped out to |
| 436 // another process. | 432 // another process. |
| 437 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, | 433 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, |
| 438 gfx::Rect /* frame_rect */, | 434 gfx::Rect /* frame_rect */, |
| 439 float /* scale_factor */) | 435 float /* scale_factor */) |
| OLD | NEW |