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/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "ui/gfx/size.h" | 28 #include "ui/gfx/size.h" |
29 #include "url/gurl.h" | 29 #include "url/gurl.h" |
30 #include "webkit/common/cursors/webcursor.h" | 30 #include "webkit/common/cursors/webcursor.h" |
31 | 31 |
32 #undef IPC_MESSAGE_EXPORT | 32 #undef IPC_MESSAGE_EXPORT |
33 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 33 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
34 | 34 |
35 #define IPC_MESSAGE_START BrowserPluginMsgStart | 35 #define IPC_MESSAGE_START BrowserPluginMsgStart |
36 | 36 |
37 | 37 |
38 IPC_ENUM_TRAITS(WebKit::WebDragStatus) | 38 IPC_ENUM_TRAITS(blink::WebDragStatus) |
39 | 39 |
40 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_AutoSize_Params) | 40 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_AutoSize_Params) |
41 IPC_STRUCT_MEMBER(bool, enable) | 41 IPC_STRUCT_MEMBER(bool, enable) |
42 IPC_STRUCT_MEMBER(gfx::Size, max_size) | 42 IPC_STRUCT_MEMBER(gfx::Size, max_size) |
43 IPC_STRUCT_MEMBER(gfx::Size, min_size) | 43 IPC_STRUCT_MEMBER(gfx::Size, min_size) |
44 IPC_STRUCT_END() | 44 IPC_STRUCT_END() |
45 | 45 |
46 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_ResizeGuest_Params) | 46 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_ResizeGuest_Params) |
47 // Indicates whether the parameters have been populated or not. | 47 // Indicates whether the parameters have been populated or not. |
48 IPC_STRUCT_MEMBER(bool, size_changed) | 48 IPC_STRUCT_MEMBER(bool, size_changed) |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 int /* instance_id */) | 225 int /* instance_id */) |
226 | 226 |
227 // Tells the guest it has been shown or hidden. | 227 // Tells the guest it has been shown or hidden. |
228 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetVisibility, | 228 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetVisibility, |
229 int /* instance_id */, | 229 int /* instance_id */, |
230 bool /* visible */) | 230 bool /* visible */) |
231 | 231 |
232 // Tells the guest that a drag event happened on the plugin. | 232 // Tells the guest that a drag event happened on the plugin. |
233 IPC_MESSAGE_ROUTED5(BrowserPluginHostMsg_DragStatusUpdate, | 233 IPC_MESSAGE_ROUTED5(BrowserPluginHostMsg_DragStatusUpdate, |
234 int /* instance_id */, | 234 int /* instance_id */, |
235 WebKit::WebDragStatus /* drag_status */, | 235 blink::WebDragStatus /* drag_status */, |
236 content::DropData /* drop_data */, | 236 content::DropData /* drop_data */, |
237 WebKit::WebDragOperationsMask /* operation_mask */, | 237 blink::WebDragOperationsMask /* operation_mask */, |
238 gfx::Point /* plugin_location */) | 238 gfx::Point /* plugin_location */) |
239 | 239 |
240 // Response to BrowserPluginMsg_PluginAtPositionRequest, returns the browser | 240 // Response to BrowserPluginMsg_PluginAtPositionRequest, returns the browser |
241 // plugin instace id and the coordinates (local to the plugin). | 241 // plugin instace id and the coordinates (local to the plugin). |
242 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_PluginAtPositionResponse, | 242 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_PluginAtPositionResponse, |
243 int /* instance_id */, | 243 int /* instance_id */, |
244 int /* request_id */, | 244 int /* request_id */, |
245 gfx::Point /* position */) | 245 gfx::Point /* position */) |
246 | 246 |
247 // Sets the name of the guest window to the provided |name|. | 247 // Sets the name of the guest window to the provided |name|. |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 cc::CompositorFrame /* frame */, | 349 cc::CompositorFrame /* frame */, |
350 int /* route_id */, | 350 int /* route_id */, |
351 uint32 /* output_surface_id */, | 351 uint32 /* output_surface_id */, |
352 int /* renderer_host_id */) | 352 int /* renderer_host_id */) |
353 | 353 |
354 // Forwards a PointerLock Unlock request to the BrowserPlugin. | 354 // Forwards a PointerLock Unlock request to the BrowserPlugin. |
355 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, | 355 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, |
356 int /* instance_id */, | 356 int /* instance_id */, |
357 bool /* enable */) | 357 bool /* enable */) |
358 | 358 |
OLD | NEW |