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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 int /* element_instance_id */, | 46 int /* element_instance_id */, |
47 int /* guest_instance_id */, | 47 int /* guest_instance_id */, |
48 base::DictionaryValue /* attach_params */) | 48 base::DictionaryValue /* attach_params */) |
49 | 49 |
50 // Tells the browser to create a mime handler guest view for a plugin. | 50 // Tells the browser to create a mime handler guest view for a plugin. |
51 IPC_MESSAGE_CONTROL4(GuestViewHostMsg_CreateMimeHandlerViewGuest, | 51 IPC_MESSAGE_CONTROL4(GuestViewHostMsg_CreateMimeHandlerViewGuest, |
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 |
| 57 // Tells a <webview> that its contentWindow is ready to be exposed. |
| 58 // The contentWindow should point to the RenderFrameProxy with routing |
| 59 // ID of |guest_proxy_routing_id|. |
| 60 IPC_MESSAGE_CONTROL2(GuestViewMsg_ContentWindowReady, |
| 61 int /* element_instance_id */, |
| 62 int /* guest_proxy_routing_id */) |
| 63 |
| 64 // We have a RenderFrame with routing id of |embedder_local_frame_routing_id|. |
| 65 // We want this local frame to be replaced with a remote frame that points |
| 66 // to a <webview>. This message will attach the local frame to the <webview> |
| 67 // guest. The <webview> is identified by its ID: |guest_instance_id|. |
| 68 IPC_MESSAGE_CONTROL3(GuestViewHostMsg_AttachLocalFrameToGuest, |
| 69 int /* embedder_local_frame_routing_id */, |
| 70 int /* element_instance_id */, |
| 71 int /* guest_instance_id */) |
OLD | NEW |