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/process/process.h" | 9 #include "base/process/process.h" |
10 #include "cc/surfaces/surface.h" | 10 #include "cc/surfaces/surface.h" |
| 11 #include "cc/surfaces/surface_info.h" |
11 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
12 #include "content/common/content_param_traits.h" | 13 #include "content/common/content_param_traits.h" |
13 #include "content/common/cursors/webcursor.h" | 14 #include "content/common/cursors/webcursor.h" |
14 #include "content/common/edit_command.h" | 15 #include "content/common/edit_command.h" |
15 #include "content/public/common/drop_data.h" | 16 #include "content/public/common/drop_data.h" |
16 #include "ipc/ipc_channel_handle.h" | 17 #include "ipc/ipc_channel_handle.h" |
17 #include "ipc/ipc_message_macros.h" | 18 #include "ipc/ipc_message_macros.h" |
18 #include "ipc/ipc_message_utils.h" | 19 #include "ipc/ipc_message_utils.h" |
19 #include "third_party/WebKit/public/platform/WebDragOperation.h" | 20 #include "third_party/WebKit/public/platform/WebDragOperation.h" |
20 #include "third_party/WebKit/public/platform/WebFocusType.h" | 21 #include "third_party/WebKit/public/platform/WebFocusType.h" |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 // plugin in the embedder about it. | 178 // plugin in the embedder about it. |
178 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, | 179 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, |
179 int /* browser_plugin_instance_id */, | 180 int /* browser_plugin_instance_id */, |
180 bool /* accept */) | 181 bool /* accept */) |
181 | 182 |
182 // Inform the embedder of the cursor the guest wishes to display. | 183 // Inform the embedder of the cursor the guest wishes to display. |
183 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetCursor, | 184 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetCursor, |
184 int /* browser_plugin_instance_id */, | 185 int /* browser_plugin_instance_id */, |
185 content::WebCursor /* cursor */) | 186 content::WebCursor /* cursor */) |
186 | 187 |
187 IPC_MESSAGE_CONTROL5(BrowserPluginMsg_SetChildFrameSurface, | 188 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_SetChildFrameSurface, |
188 int /* browser_plugin_instance_id */, | 189 int /* browser_plugin_instance_id */, |
189 cc::SurfaceId /* surface_id */, | 190 cc::SurfaceInfo /* surface_info */, |
190 gfx::Size /* frame_size */, | |
191 float /* scale_factor */, | |
192 cc::SurfaceSequence /* sequence */) | 191 cc::SurfaceSequence /* sequence */) |
193 | 192 |
194 // Forwards a PointerLock Unlock request to the BrowserPlugin. | 193 // Forwards a PointerLock Unlock request to the BrowserPlugin. |
195 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, | 194 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, |
196 int /* browser_plugin_instance_id */, | 195 int /* browser_plugin_instance_id */, |
197 bool /* enable */) | 196 bool /* enable */) |
198 | 197 |
199 // Sends text to be displayed in tooltip. | 198 // Sends text to be displayed in tooltip. |
200 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetTooltipText, | 199 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetTooltipText, |
201 int /* browser_plugin_instance_id */, | 200 int /* browser_plugin_instance_id */, |
202 base::string16 /* tooltip_text */) | 201 base::string16 /* tooltip_text */) |
OLD | NEW |