Chromium Code Reviews| 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 "cc/surfaces/surface_id.h" | 8 #include "cc/surfaces/surface_id.h" |
| 9 #include "cc/surfaces/surface_sequence.h" | 9 #include "cc/surfaces/surface_sequence.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 473 // disowned. | 473 // disowned. |
| 474 IPC_MESSAGE_ROUTED1(FrameMsg_UpdateOpener, int /* opener_routing_id */) | 474 IPC_MESSAGE_ROUTED1(FrameMsg_UpdateOpener, int /* opener_routing_id */) |
| 475 | 475 |
| 476 // Requests that the RenderFrame send back a response after waiting for the | 476 // Requests that the RenderFrame send back a response after waiting for the |
| 477 // commit, activation and frame swap of the current DOM tree in blink. | 477 // commit, activation and frame swap of the current DOM tree in blink. |
| 478 IPC_MESSAGE_ROUTED1(FrameMsg_VisualStateRequest, uint64 /* id */) | 478 IPC_MESSAGE_ROUTED1(FrameMsg_VisualStateRequest, uint64 /* id */) |
| 479 | 479 |
| 480 // Instructs the renderer to create a new RenderFrame object. | 480 // Instructs the renderer to create a new RenderFrame object. |
| 481 IPC_MESSAGE_CONTROL1(FrameMsg_NewFrame, FrameMsg_NewFrame_Params /* params */) | 481 IPC_MESSAGE_CONTROL1(FrameMsg_NewFrame, FrameMsg_NewFrame_Params /* params */) |
| 482 | 482 |
| 483 // Instructs the renderer to delete the RenderFrame object identified by | |
|
Charlie Reis
2015/10/29 17:28:58
Maybe we should distinguish this from how RenderFr
dcheng
2015/10/29 18:50:52
Ah... this is going to be fun. We're going to add
nasko
2015/10/29 19:09:45
Unfortunately, I think you are right : (.
nasko
2015/10/29 19:09:45
Yes, indeed.
| |
| 484 // |routing_id|. | |
| 485 IPC_MESSAGE_CONTROL1(FrameMsg_DeleteFrame, int /* routing_id */) | |
| 486 | |
| 483 // Instructs the renderer to create a new RenderFrameProxy object with | 487 // Instructs the renderer to create a new RenderFrameProxy object with |
| 484 // |routing_id|. |render_view_routing_id| identifies the | 488 // |routing_id|. |render_view_routing_id| identifies the |
| 485 // RenderView to be associated with this proxy. The new proxy's opener should | 489 // RenderView to be associated with this proxy. The new proxy's opener should |
| 486 // be set to the object identified by |opener_routing_id|, or to null if that | 490 // be set to the object identified by |opener_routing_id|, or to null if that |
| 487 // is MSG_ROUTING_NONE. The new proxy should be created as a child of the | 491 // is MSG_ROUTING_NONE. The new proxy should be created as a child of the |
| 488 // object identified by |parent_routing_id| or as top level if that is | 492 // object identified by |parent_routing_id| or as top level if that is |
| 489 // MSG_ROUTING_NONE. | 493 // MSG_ROUTING_NONE. |
| 490 IPC_MESSAGE_CONTROL5(FrameMsg_NewFrameProxy, | 494 IPC_MESSAGE_CONTROL5(FrameMsg_NewFrameProxy, |
| 491 int /* routing_id */, | 495 int /* routing_id */, |
| 492 int /* render_view_routing_id */, | 496 int /* render_view_routing_id */, |
| (...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1201 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1205 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 1202 FrameHostMsg_ShowPopup_Params) | 1206 FrameHostMsg_ShowPopup_Params) |
| 1203 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1207 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 1204 | 1208 |
| 1205 #endif | 1209 #endif |
| 1206 | 1210 |
| 1207 // Adding a new message? Stick to the sort order above: first platform | 1211 // Adding a new message? Stick to the sort order above: first platform |
| 1208 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1212 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1209 // platform independent FrameHostMsg, then ifdefs for platform specific | 1213 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1210 // FrameHostMsg. | 1214 // FrameHostMsg. |
| OLD | NEW |