OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Multiply-included message header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/process/process.h" | 10 #include "base/process/process.h" |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 int /* browser_plugin_instance_id */, | 118 int /* browser_plugin_instance_id */, |
119 int /* request_id */, | 119 int /* request_id */, |
120 SkBitmap) | 120 SkBitmap) |
121 | 121 |
122 // Notify the guest renderer that some resources given to the embededer | 122 // Notify the guest renderer that some resources given to the embededer |
123 // are not used any more. | 123 // are not used any more. |
124 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_ReclaimCompositorResources, | 124 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_ReclaimCompositorResources, |
125 int /* browser_plugin_instance_id */, | 125 int /* browser_plugin_instance_id */, |
126 FrameHostMsg_ReclaimCompositorResources_Params /* params */) | 126 FrameHostMsg_ReclaimCompositorResources_Params /* params */) |
127 | 127 |
128 // When a BrowserPlugin has been removed from the embedder's DOM, it informs | |
129 // the browser process to cleanup the guest. | |
130 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_PluginDestroyed, | |
131 int /* browser_plugin_instance_id */) | |
132 | |
133 // Tells the guest it has been shown or hidden. | 128 // Tells the guest it has been shown or hidden. |
134 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetVisibility, | 129 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetVisibility, |
135 int /* browser_plugin_instance_id */, | 130 int /* browser_plugin_instance_id */, |
136 bool /* visible */) | 131 bool /* visible */) |
137 | 132 |
138 // Tells the guest that a drag event happened on the plugin. | 133 // Tells the guest that a drag event happened on the plugin. |
139 IPC_MESSAGE_ROUTED5(BrowserPluginHostMsg_DragStatusUpdate, | 134 IPC_MESSAGE_ROUTED5(BrowserPluginHostMsg_DragStatusUpdate, |
140 int /* browser_plugin_instance_id */, | 135 int /* browser_plugin_instance_id */, |
141 blink::WebDragStatus /* drag_status */, | 136 blink::WebDragStatus /* drag_status */, |
142 content::DropData /* drop_data */, | 137 content::DropData /* drop_data */, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 | 209 |
215 // Forwards a PointerLock Unlock request to the BrowserPlugin. | 210 // Forwards a PointerLock Unlock request to the BrowserPlugin. |
216 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, | 211 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, |
217 int /* browser_plugin_instance_id */, | 212 int /* browser_plugin_instance_id */, |
218 bool /* enable */) | 213 bool /* enable */) |
219 | 214 |
220 // Acknowledge that we presented an ubercomp frame. | 215 // Acknowledge that we presented an ubercomp frame. |
221 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_CompositorFrameSwappedACK, | 216 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_CompositorFrameSwappedACK, |
222 int /* browser_plugin_instance_id */, | 217 int /* browser_plugin_instance_id */, |
223 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */) | 218 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */) |
OLD | NEW |