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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 // sent when the frame is detached from the DOM. | 305 // sent when the frame is detached from the DOM. |
306 IPC_SYNC_MESSAGE_CONTROL2_1(FrameHostMsg_CreateChildFrame, | 306 IPC_SYNC_MESSAGE_CONTROL2_1(FrameHostMsg_CreateChildFrame, |
307 int32 /* parent_routing_id */, | 307 int32 /* parent_routing_id */, |
308 std::string /* frame_name */, | 308 std::string /* frame_name */, |
309 int32 /* new_routing_id */) | 309 int32 /* new_routing_id */) |
310 | 310 |
311 // Sent by the renderer to the parent RenderFrameHost when a child frame is | 311 // Sent by the renderer to the parent RenderFrameHost when a child frame is |
312 // detached from the DOM. | 312 // detached from the DOM. |
313 IPC_MESSAGE_ROUTED0(FrameHostMsg_Detach) | 313 IPC_MESSAGE_ROUTED0(FrameHostMsg_Detach) |
314 | 314 |
| 315 // Sent by the renderer when the frame becomes focused. |
| 316 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) |
| 317 |
315 // Sent when the renderer starts a provisional load for a frame. | 318 // Sent when the renderer starts a provisional load for a frame. |
316 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidStartProvisionalLoadForFrame, | 319 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidStartProvisionalLoadForFrame, |
317 int32 /* parent_routing_id */, | 320 int32 /* parent_routing_id */, |
318 bool /* true if it is the main frame */, | 321 bool /* true if it is the main frame */, |
319 GURL /* url */) | 322 GURL /* url */) |
320 | 323 |
321 // Sent when the renderer fails a provisional load with an error. | 324 // Sent when the renderer fails a provisional load with an error. |
322 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, | 325 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, |
323 FrameHostMsg_DidFailProvisionalLoadWithError_Params) | 326 FrameHostMsg_DidFailProvisionalLoadWithError_Params) |
324 | 327 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 // content area, and a context menu should be shown for it. The params | 445 // content area, and a context menu should be shown for it. The params |
443 // object contains information about the node(s) that were selected when the | 446 // object contains information about the node(s) that were selected when the |
444 // user right clicked. | 447 // user right clicked. |
445 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 448 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
446 | 449 |
447 // Initial drawing parameters for a child frame that has been swapped out to | 450 // Initial drawing parameters for a child frame that has been swapped out to |
448 // another process. | 451 // another process. |
449 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, | 452 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, |
450 gfx::Rect /* frame_rect */, | 453 gfx::Rect /* frame_rect */, |
451 float /* scale_factor */) | 454 float /* scale_factor */) |
OLD | NEW |