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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 // User agent override used to navigate. | 174 // User agent override used to navigate. |
175 IPC_STRUCT_MEMBER(bool, is_overriding_user_agent) | 175 IPC_STRUCT_MEMBER(bool, is_overriding_user_agent) |
176 | 176 |
177 // Notifies the browser that for this navigation, the session history was | 177 // Notifies the browser that for this navigation, the session history was |
178 // successfully cleared. | 178 // successfully cleared. |
179 IPC_STRUCT_MEMBER(bool, history_list_was_cleared) | 179 IPC_STRUCT_MEMBER(bool, history_list_was_cleared) |
180 | 180 |
181 // The routing_id of the render view associated with the navigation. | 181 // The routing_id of the render view associated with the navigation. |
182 // We need to track the RenderViewHost routing_id because of downstream | 182 // We need to track the RenderViewHost routing_id because of downstream |
183 // dependencies (crbug.com/392171 DownloadRequestHandle, SaveFileManager, | 183 // dependencies (crbug.com/392171 DownloadRequestHandle, SaveFileManager, |
184 // ResourceDispatcherHostImpl, MediaStreamUIProxy, | 184 // ResourceDispatcherHostImpl, MediaStreamUIProxy, and possibly others). They |
185 // SpeechRecognitionDispatcherHost and possibly others). They look up the view | 185 // look up the view based on the ID stored in the resource requests. Once |
186 // based on the ID stored in the resource requests. Once those dependencies | 186 // those dependencies are unwound or moved to RenderFrameHost |
187 // are unwound or moved to RenderFrameHost (crbug.com/304341) we can move the | 187 // (crbug.com/304341) we can move the client to be based on the routing_id of |
188 // client to be based on the routing_id of the RenderFrameHost. | 188 // the RenderFrameHost. |
189 IPC_STRUCT_MEMBER(int, render_view_routing_id) | 189 IPC_STRUCT_MEMBER(int, render_view_routing_id) |
190 IPC_STRUCT_END() | 190 IPC_STRUCT_END() |
191 | 191 |
192 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams) | 192 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams) |
193 IPC_STRUCT_TRAITS_MEMBER(url) | 193 IPC_STRUCT_TRAITS_MEMBER(url) |
194 IPC_STRUCT_TRAITS_MEMBER(referrer) | 194 IPC_STRUCT_TRAITS_MEMBER(referrer) |
195 IPC_STRUCT_TRAITS_MEMBER(transition) | 195 IPC_STRUCT_TRAITS_MEMBER(transition) |
196 IPC_STRUCT_TRAITS_MEMBER(navigation_type) | 196 IPC_STRUCT_TRAITS_MEMBER(navigation_type) |
197 IPC_STRUCT_TRAITS_MEMBER(allow_download) | 197 IPC_STRUCT_TRAITS_MEMBER(allow_download) |
198 IPC_STRUCT_TRAITS_END() | 198 IPC_STRUCT_TRAITS_END() |
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 783 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
784 | 784 |
785 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 785 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
786 | 786 |
787 // Message to show/hide a popup menu using native controls. | 787 // Message to show/hide a popup menu using native controls. |
788 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 788 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
789 FrameHostMsg_ShowPopup_Params) | 789 FrameHostMsg_ShowPopup_Params) |
790 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 790 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
791 | 791 |
792 #endif | 792 #endif |
OLD | NEW |