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