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 "base/values.h" | 8 #include "base/values.h" |
9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 // Messages sent from the renderer to the browser. | 28 // Messages sent from the renderer to the browser. |
29 | 29 |
30 // Sent by the renderer to set initialization parameters of a Browser Plugin | 30 // Sent by the renderer to set initialization parameters of a Browser Plugin |
31 // that is identified by |element_instance_id|. | 31 // that is identified by |element_instance_id|. |
32 IPC_MESSAGE_CONTROL3(GuestViewHostMsg_AttachGuest, | 32 IPC_MESSAGE_CONTROL3(GuestViewHostMsg_AttachGuest, |
33 int /* element_instance_id */, | 33 int /* element_instance_id */, |
34 int /* guest_instance_id */, | 34 int /* guest_instance_id */, |
35 base::DictionaryValue /* attach_params */) | 35 base::DictionaryValue /* attach_params */) |
36 | 36 |
37 // Sent by the renderer when a GuestView (identified by |view_instance_id|) has | 37 // Sent by the renderer when a GuestView (identified by |view_instance_id|) has |
| 38 // been created in JavaScript. |
| 39 IPC_MESSAGE_CONTROL2(GuestViewHostMsg_ViewCreated, |
| 40 int /* view_instance_id */, |
| 41 std::string /* view_type */) |
| 42 |
| 43 // Sent by the renderer when a GuestView (identified by |view_instance_id|) has |
38 // been garbage collected in JavaScript. | 44 // been garbage collected in JavaScript. |
39 IPC_MESSAGE_CONTROL1(GuestViewHostMsg_ViewGarbageCollected, | 45 IPC_MESSAGE_CONTROL1(GuestViewHostMsg_ViewGarbageCollected, |
40 int /* view_instance_id */) | 46 int /* view_instance_id */) |
OLD | NEW |