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 24 matching lines...) Expand all Loading... |
35 // |element_instance_id| from a GuestViewBase if it is attached to one. | 35 // |element_instance_id| from a GuestViewBase if it is attached to one. |
36 // In other words, routing of input and graphics will no longer flow through | 36 // In other words, routing of input and graphics will no longer flow through |
37 // the container associated with the provided ID. | 37 // the container associated with the provided ID. |
38 IPC_MESSAGE_CONTROL1(GuestViewMsg_GuestDetached, | 38 IPC_MESSAGE_CONTROL1(GuestViewMsg_GuestDetached, |
39 int /* element_instance_id*/) | 39 int /* element_instance_id*/) |
40 | 40 |
41 // Messages sent from the renderer to the browser. | 41 // Messages sent from the renderer to the browser. |
42 | 42 |
43 // Sent by the renderer to set initialization parameters of a Browser Plugin | 43 // Sent by the renderer to set initialization parameters of a Browser Plugin |
44 // that is identified by |element_instance_id|. | 44 // that is identified by |element_instance_id|. |
45 IPC_MESSAGE_CONTROL4(GuestViewHostMsg_AttachGuest, | 45 IPC_MESSAGE_CONTROL3(GuestViewHostMsg_AttachGuest, |
46 int /* routing_id */, | |
47 int /* element_instance_id */, | 46 int /* element_instance_id */, |
48 int /* guest_instance_id */, | 47 int /* guest_instance_id */, |
49 base::DictionaryValue /* attach_params */) | 48 base::DictionaryValue /* attach_params */) |
50 | 49 |
51 // 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. |
52 IPC_MESSAGE_CONTROL4(GuestViewHostMsg_CreateMimeHandlerViewGuest, | 51 IPC_MESSAGE_CONTROL4(GuestViewHostMsg_CreateMimeHandlerViewGuest, |
53 int /* render_frame_id */, | 52 int /* render_frame_id */, |
54 std::string /* view_id */, | 53 std::string /* view_id */, |
55 int /* element_instance_id */, | 54 int /* element_instance_id */, |
56 gfx::Size /* element_size */) | 55 gfx::Size /* element_size */) |
OLD | NEW |