OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 GuestViews. | 5 // IPC messages for GuestViews. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/values.h" | 10 #include "base/values.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 int /* render_frame_id */, | 52 int /* render_frame_id */, |
53 std::string /* view_id */, | 53 std::string /* view_id */, |
54 int /* element_instance_id */, | 54 int /* element_instance_id */, |
55 gfx::Size /* element_size */) | 55 gfx::Size /* element_size */) |
56 | 56 |
57 // A renderer sends this message when it wants to resize a guest. | 57 // A renderer sends this message when it wants to resize a guest. |
58 IPC_MESSAGE_CONTROL3(GuestViewHostMsg_ResizeGuest, | 58 IPC_MESSAGE_CONTROL3(GuestViewHostMsg_ResizeGuest, |
59 int /* routing_id */, | 59 int /* routing_id */, |
60 int /* element_instance_id*/, | 60 int /* element_instance_id*/, |
61 gfx::Size /* new_size */) | 61 gfx::Size /* new_size */) |
| 62 |
| 63 // Tells a <webview> that its contentWindow is ready to be exposed. |
| 64 // The contentWindow should point to the RenderFrameProxy with routing |
| 65 // ID of |guest_proxy_routing_id|. |
| 66 IPC_MESSAGE_CONTROL2(GuestViewMsg_ContentWindowReady, |
| 67 int /* element_instance_id */, |
| 68 int /* guest_proxy_routing_id */) |
| 69 |
| 70 // We have a RenderFrame with routing id of |embedder_local_frame_routing_id|. |
| 71 // We want this local frame to be replaced with a remote frame that points |
| 72 // to a <webview>. This message will attach the local frame to the <webview> |
| 73 // guest. The <webview> is identified by its ID: |guest_instance_id|. |
| 74 IPC_MESSAGE_CONTROL3(GuestViewHostMsg_AttachLocalFrameToGuest, |
| 75 int /* embedder_local_frame_routing_id */, |
| 76 int /* element_instance_id */, |
| 77 int /* guest_instance_id */) |
OLD | NEW |