OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "gpu/command_buffer/common/command_buffer.h" | 5 #include "gpu/command_buffer/common/command_buffer.h" |
6 #include "gpu/ipc/gpu_command_buffer_traits.h" | 6 #include "gpu/ipc/gpu_command_buffer_traits.h" |
7 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
8 #include "ppapi/c/dev/pp_file_info_dev.h" | 8 #include "ppapi/c/dev/pp_file_info_dev.h" |
9 #include "ppapi/c/ppb_var.h" | 9 #include "ppapi/c/ppb_var.h" |
10 | 10 |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
349 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_NavigateToURL, | 349 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_NavigateToURL, |
350 PP_Instance /* instance */, | 350 PP_Instance /* instance */, |
351 std::string /* url */, | 351 std::string /* url */, |
352 std::string /* target */, | 352 std::string /* target */, |
353 PP_Bool /* result */) | 353 PP_Bool /* result */) |
354 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlash_RunMessageLoop, | 354 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlash_RunMessageLoop, |
355 PP_Instance /* instance */) | 355 PP_Instance /* instance */) |
356 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlash_QuitMessageLoop, | 356 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlash_QuitMessageLoop, |
357 PP_Instance /* instance */) | 357 PP_Instance /* instance */) |
358 | 358 |
359 // PPB_Flash_Clipboard. | |
360 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashClipboard_ReadPlainText, | |
361 PP_Instance /* instance */, | |
362 int /* clipboard_type */, | |
363 pp::proxy::SerializedVar /* result */) | |
364 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlashClipboard_WritePlainText, | |
brettw
2011/03/09 17:13:18
Does this really need to be a sync message? It see
viettrungluu
2011/03/09 17:35:56
Hmmm, could there be any issues if the plugin subs
brettw
2011/03/09 17:39:37
Over the IPC the contents of the var are passed by
viettrungluu
2011/03/09 18:09:39
Done then. I think.
| |
365 PP_Instance /* instance */, | |
366 int /* clipboard_type */, | |
367 pp::proxy::SerializedVar /* text */, | |
368 int32_t /* result */) | |
369 | |
359 // PPB_Flash_File_FileRef. | 370 // PPB_Flash_File_FileRef. |
360 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlashFile_FileRef_OpenFile, | 371 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlashFile_FileRef_OpenFile, |
361 pp::proxy::HostResource /* file_ref */, | 372 pp::proxy::HostResource /* file_ref */, |
362 int32_t /* mode */, | 373 int32_t /* mode */, |
363 IPC::PlatformFileForTransit /* file_handle */, | 374 IPC::PlatformFileForTransit /* file_handle */, |
364 int32_t /* result */) | 375 int32_t /* result */) |
365 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBFlashFile_FileRef_QueryFile, | 376 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBFlashFile_FileRef_QueryFile, |
366 pp::proxy::HostResource /* file_ref */, | 377 pp::proxy::HostResource /* file_ref */, |
367 PP_FileInfo_Dev /* info */, | 378 PP_FileInfo_Dev /* info */, |
368 int32_t /* result */) | 379 int32_t /* result */) |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
673 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, | 684 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, |
674 pp::proxy::SerializedVar /* var */, | 685 pp::proxy::SerializedVar /* var */, |
675 int64 /* object_class */, | 686 int64 /* object_class */, |
676 int64 /* object-data */, | 687 int64 /* object-data */, |
677 PP_Bool /* result */) | 688 PP_Bool /* result */) |
678 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, | 689 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, |
679 PP_Instance /* instance */, | 690 PP_Instance /* instance */, |
680 int64 /* object_class */, | 691 int64 /* object_class */, |
681 int64 /* object_data */, | 692 int64 /* object_data */, |
682 pp::proxy::SerializedVar /* result */) | 693 pp::proxy::SerializedVar /* result */) |
OLD | NEW |