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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 // User agent override used to navigate. | 179 // User agent override used to navigate. |
180 IPC_STRUCT_MEMBER(bool, is_overriding_user_agent) | 180 IPC_STRUCT_MEMBER(bool, is_overriding_user_agent) |
181 | 181 |
182 // Notifies the browser that for this navigation, the session history was | 182 // Notifies the browser that for this navigation, the session history was |
183 // successfully cleared. | 183 // successfully cleared. |
184 IPC_STRUCT_MEMBER(bool, history_list_was_cleared) | 184 IPC_STRUCT_MEMBER(bool, history_list_was_cleared) |
185 | 185 |
186 // The routing_id of the render view associated with the navigation. | 186 // The routing_id of the render view associated with the navigation. |
187 // We need to track the RenderViewHost routing_id because of downstream | 187 // We need to track the RenderViewHost routing_id because of downstream |
188 // dependencies (crbug.com/392171 DownloadRequestHandle, SaveFileManager, | 188 // dependencies (crbug.com/392171 DownloadRequestHandle, SaveFileManager, |
189 // ResourceDispatcherHostImpl, MediaStreamUIProxy, | 189 // ResourceDispatcherHostImpl, MediaStreamUIProxy, and possibly others). They |
190 // SpeechRecognitionDispatcherHost and possibly others). They look up the view | 190 // look up the view based on the ID stored in the resource requests. Once |
191 // based on the ID stored in the resource requests. Once those dependencies | 191 // those dependencies are unwound or moved to RenderFrameHost |
192 // are unwound or moved to RenderFrameHost (crbug.com/304341) we can move the | 192 // (crbug.com/304341) we can move the client to be based on the routing_id of |
193 // client to be based on the routing_id of the RenderFrameHost. | 193 // the RenderFrameHost. |
194 IPC_STRUCT_MEMBER(int, render_view_routing_id) | 194 IPC_STRUCT_MEMBER(int, render_view_routing_id) |
195 | 195 |
196 // Origin of the frame. This will be replicated to any associated | 196 // Origin of the frame. This will be replicated to any associated |
197 // RenderFrameProxies. | 197 // RenderFrameProxies. |
198 IPC_STRUCT_MEMBER(url::Origin, origin) | 198 IPC_STRUCT_MEMBER(url::Origin, origin) |
199 | 199 |
200 // How navigation metrics starting on UI action for this load should be | 200 // How navigation metrics starting on UI action for this load should be |
201 // reported. | 201 // reported. |
202 IPC_STRUCT_MEMBER(FrameMsg_UILoadMetricsReportType::Value, report_type) | 202 IPC_STRUCT_MEMBER(FrameMsg_UILoadMetricsReportType::Value, report_type) |
203 | 203 |
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
837 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 837 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
838 | 838 |
839 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 839 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
840 | 840 |
841 // Message to show/hide a popup menu using native controls. | 841 // Message to show/hide a popup menu using native controls. |
842 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 842 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
843 FrameHostMsg_ShowPopup_Params) | 843 FrameHostMsg_ShowPopup_Params) |
844 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 844 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
845 | 845 |
846 #endif | 846 #endif |
OLD | NEW |