OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "base/shared_memory.h" | 5 #include "base/shared_memory.h" |
6 #include "build/build_config.h" | 6 #include "build/build_config.h" |
7 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
8 #include "ui/gfx/native_widget_types.h" | 8 #include "ui/gfx/native_widget_types.h" |
9 #include "webkit/glue/webcursor.h" | 9 #include "webkit/glue/webcursor.h" |
10 | 10 |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 | 278 |
279 IPC_MESSAGE_ROUTED3(PluginMsg_HandleURLRequestReply, | 279 IPC_MESSAGE_ROUTED3(PluginMsg_HandleURLRequestReply, |
280 unsigned long /* resource_id */, | 280 unsigned long /* resource_id */, |
281 GURL /* url */, | 281 GURL /* url */, |
282 int /* notify_id */) | 282 int /* notify_id */) |
283 | 283 |
284 IPC_MESSAGE_ROUTED2(PluginMsg_HTTPRangeRequestReply, | 284 IPC_MESSAGE_ROUTED2(PluginMsg_HTTPRangeRequestReply, |
285 unsigned long /* resource_id */, | 285 unsigned long /* resource_id */, |
286 int /* range_request_id */) | 286 int /* range_request_id */) |
287 | 287 |
288 IPC_SYNC_MESSAGE_ROUTED0_1(PluginMsg_CreateCommandBuffer, | |
289 int /* route_id */) | |
290 | |
291 IPC_MESSAGE_ROUTED0(PluginMsg_DestroyCommandBuffer) | |
292 | |
293 IPC_MESSAGE_CONTROL1(PluginMsg_SignalModalDialogEvent, | 288 IPC_MESSAGE_CONTROL1(PluginMsg_SignalModalDialogEvent, |
294 gfx::NativeViewId /* containing_window */) | 289 gfx::NativeViewId /* containing_window */) |
295 | 290 |
296 IPC_MESSAGE_CONTROL1(PluginMsg_ResetModalDialogEvent, | 291 IPC_MESSAGE_CONTROL1(PluginMsg_ResetModalDialogEvent, |
297 gfx::NativeViewId /* containing_window */) | 292 gfx::NativeViewId /* containing_window */) |
298 | 293 |
299 #if defined(OS_MACOSX) | |
300 // This message, used only on 10.6 and later, transmits the "fake" | |
301 // window handle allocated by the browser on behalf of the renderer | |
302 // to the GPU plugin. | |
303 IPC_MESSAGE_ROUTED1(PluginMsg_SetFakeAcceleratedSurfaceWindowHandle, | |
304 gfx::PluginWindowHandle /* window */) | |
305 #endif | |
306 | |
307 IPC_MESSAGE_CONTROL3(PluginMsg_ClearSiteData, | 294 IPC_MESSAGE_CONTROL3(PluginMsg_ClearSiteData, |
308 std::string, /* site */ | 295 std::string, /* site */ |
309 uint64, /* flags */ | 296 uint64, /* flags */ |
310 base::Time /* begin_time */) | 297 base::Time /* begin_time */) |
311 | 298 |
312 | 299 |
313 //----------------------------------------------------------------------------- | 300 //----------------------------------------------------------------------------- |
314 // PluginHost messages | 301 // PluginHost messages |
315 // These are messages sent from the plugin process to the renderer process. | 302 // These are messages sent from the plugin process to the renderer process. |
316 // They all map to the corresponding WebPlugin methods. | 303 // They all map to the corresponding WebPlugin methods. |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 502 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
516 std::vector<NPVariant_Param> /* args */, | 503 std::vector<NPVariant_Param> /* args */, |
517 NPVariant_Param /* result_param */, | 504 NPVariant_Param /* result_param */, |
518 bool /* result */) | 505 bool /* result */) |
519 | 506 |
520 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 507 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
521 std::string /* script */, | 508 std::string /* script */, |
522 bool /* popups_allowed */, | 509 bool /* popups_allowed */, |
523 NPVariant_Param /* result_param */, | 510 NPVariant_Param /* result_param */, |
524 bool /* result */) | 511 bool /* result */) |
OLD | NEW |