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_param.h" | 10 #include "content/common/frame_param.h" |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 IPC_MESSAGE_ROUTED5(FrameHostMsg_DidFailLoadWithError, | 245 IPC_MESSAGE_ROUTED5(FrameHostMsg_DidFailLoadWithError, |
246 int64 /* frame_id */, | 246 int64 /* frame_id */, |
247 GURL /* validated_url */, | 247 GURL /* validated_url */, |
248 bool /* is_main_frame */, | 248 bool /* is_main_frame */, |
249 int /* error_code */, | 249 int /* error_code */, |
250 base::string16 /* error_description */) | 250 base::string16 /* error_description */) |
251 | 251 |
252 // Sent when the renderer starts loading the page. This corresponds to | 252 // Sent when the renderer starts loading the page. This corresponds to |
253 // Blink's notion of the throbber starting. Note that sometimes you may get | 253 // Blink's notion of the throbber starting. Note that sometimes you may get |
254 // duplicates of these during a single load. | 254 // duplicates of these during a single load. |
255 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStartLoading) | 255 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, |
| 256 bool /* to_different_document */) |
256 | 257 |
257 // Sent when the renderer is done loading a page. This corresponds to Blink's | 258 // Sent when the renderer is done loading a page. This corresponds to Blink's |
258 // notion of the throbber stopping. | 259 // notion of the throbber stopping. |
259 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) | 260 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) |
260 | 261 |
261 // Sent to the browser when the renderer detects it is blocked on a pepper | 262 // Sent to the browser when the renderer detects it is blocked on a pepper |
262 // plugin message for too long. This is also sent when it becomes unhung | 263 // plugin message for too long. This is also sent when it becomes unhung |
263 // (according to the value of is_hung). The browser can give the user the | 264 // (according to the value of is_hung). The browser can give the user the |
264 // option of killing the plugin. | 265 // option of killing the plugin. |
265 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, | 266 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 // Instructs the frame to swap out for a cross-site transition, including | 331 // Instructs the frame to swap out for a cross-site transition, including |
331 // running the unload event handler. Expects a SwapOut_ACK message when | 332 // running the unload event handler. Expects a SwapOut_ACK message when |
332 // finished. | 333 // finished. |
333 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) | 334 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) |
334 | 335 |
335 // Used to tell the parent that the user right clicked on an area of the | 336 // Used to tell the parent that the user right clicked on an area of the |
336 // content area, and a context menu should be shown for it. The params | 337 // content area, and a context menu should be shown for it. The params |
337 // object contains information about the node(s) that were selected when the | 338 // object contains information about the node(s) that were selected when the |
338 // user right clicked. | 339 // user right clicked. |
339 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 340 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
OLD | NEW |