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/frame_param.h" | 9 #include "content/common/frame_param.h" |
10 #include "content/public/common/common_param_traits.h" | 10 #include "content/public/common/common_param_traits.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
86 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidStartProvisionalLoadForFrame, | 86 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidStartProvisionalLoadForFrame, |
87 int64 /* frame_id */, | 87 int64 /* frame_id */, |
88 int64 /* parent_frame_id */, | 88 int64 /* parent_frame_id */, |
89 bool /* true if it is the main frame */, | 89 bool /* true if it is the main frame */, |
90 GURL /* url */) | 90 GURL /* url */) |
91 | 91 |
92 // Sent when the renderer fails a provisional load with an error. | 92 // Sent when the renderer fails a provisional load with an error. |
93 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, | 93 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, |
94 FrameHostMsg_DidFailProvisionalLoadWithError_Params) | 94 FrameHostMsg_DidFailProvisionalLoadWithError_Params) |
95 | 95 |
96 // Sent when a provisional load on the main frame redirects. | |
97 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidRedirectProvisionalLoad, | |
98 int /* page_id */, | |
99 GURL /* last url */, | |
jam
2014/01/10 16:19:31
nit: I realize you're just moving, but the convent
nasko
2014/01/10 19:54:39
Thanks for the info. Updated and will keep it in m
| |
100 GURL /* url redirected to */) | |
101 | |
96 // Sent to the browser when the renderer detects it is blocked on a pepper | 102 // Sent to the browser when the renderer detects it is blocked on a pepper |
97 // plugin message for too long. This is also sent when it becomes unhung | 103 // plugin message for too long. This is also sent when it becomes unhung |
98 // (according to the value of is_hung). The browser can give the user the | 104 // (according to the value of is_hung). The browser can give the user the |
99 // option of killing the plugin. | 105 // option of killing the plugin. |
100 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, | 106 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, |
101 int /* plugin_child_id */, | 107 int /* plugin_child_id */, |
102 base::FilePath /* path */, | 108 base::FilePath /* path */, |
103 bool /* is_hung */) | 109 bool /* is_hung */) |
104 | 110 |
105 // Sent by the renderer process to indicate that a plugin instance has crashed. | 111 // Sent by the renderer process to indicate that a plugin instance has crashed. |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
150 IPC_MESSAGE_ROUTED1(FrameHostMsg_CompositorFrameSwappedACK, | 156 IPC_MESSAGE_ROUTED1(FrameHostMsg_CompositorFrameSwappedACK, |
151 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */) | 157 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */) |
152 | 158 |
153 // Indicates that the current frame has swapped out, after a SwapOut message. | 159 // Indicates that the current frame has swapped out, after a SwapOut message. |
154 IPC_MESSAGE_ROUTED0(FrameHostMsg_SwapOut_ACK) | 160 IPC_MESSAGE_ROUTED0(FrameHostMsg_SwapOut_ACK) |
155 | 161 |
156 // Instructs the frame to swap out for a cross-site transition, including | 162 // Instructs the frame to swap out for a cross-site transition, including |
157 // running the unload event handler. Expects a SwapOut_ACK message when | 163 // running the unload event handler. Expects a SwapOut_ACK message when |
158 // finished. | 164 // finished. |
159 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) | 165 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) |
OLD | NEW |