Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 7874002: This patch tries to remove most of the manual registration for Pepper interfaces, and replaces it... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/plugin_dispatcher_unittest.cc ('k') | ppapi/proxy/ppb_audio_config_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, 461 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect,
462 ppapi::HostResource /* broker */) 462 ppapi::HostResource /* broker */)
463 463
464 // PPB_Buffer. 464 // PPB_Buffer.
465 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, 465 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create,
466 PP_Instance /* instance */, 466 PP_Instance /* instance */,
467 uint32_t /* size */, 467 uint32_t /* size */,
468 ppapi::HostResource /* result_resource */, 468 ppapi::HostResource /* result_resource */,
469 base::SharedMemoryHandle /* result_shm_handle */) 469 base::SharedMemoryHandle /* result_shm_handle */)
470 470
471 // PPB_Console.
472 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBConsole_Log,
473 PP_Instance /* instance */,
474 int /* log_level */,
475 ppapi::proxy::SerializedVar /* value */)
476 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBConsole_LogWithSource,
477 PP_Instance /* instance */,
478 int /* log_level */,
479 ppapi::proxy::SerializedVar /* soruce */,
480 ppapi::proxy::SerializedVar /* value */)
481
482 // PPB_Context3D. 471 // PPB_Context3D.
483 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_Create, 472 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_Create,
484 PP_Instance /* instance */, 473 PP_Instance /* instance */,
485 int32_t /* config */, 474 int32_t /* config */,
486 std::vector<int32_t> /* attrib_list */, 475 std::vector<int32_t> /* attrib_list */,
487 ppapi::HostResource /* result */) 476 ppapi::HostResource /* result */)
488 477
489 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_BindSurfaces, 478 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_BindSurfaces,
490 ppapi::HostResource /* context */, 479 ppapi::HostResource /* context */,
491 ppapi::HostResource /* draw */, 480 ppapi::HostResource /* draw */,
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 ppapi::HostResource /* device */, 806 ppapi::HostResource /* device */,
818 PP_Bool /* result */) 807 PP_Bool /* result */)
819 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame, 808 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame,
820 PP_Instance /* instance */, 809 PP_Instance /* instance */,
821 PP_Bool /* result */) 810 PP_Bool /* result */)
822 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBInstance_ExecuteScript, 811 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBInstance_ExecuteScript,
823 PP_Instance /* instance */, 812 PP_Instance /* instance */,
824 ppapi::proxy::SerializedVar /* script */, 813 ppapi::proxy::SerializedVar /* script */,
825 ppapi::proxy::SerializedVar /* out_exception */, 814 ppapi::proxy::SerializedVar /* out_exception */,
826 ppapi::proxy::SerializedVar /* result */) 815 ppapi::proxy::SerializedVar /* result */)
816 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_Log,
817 PP_Instance /* instance */,
818 int /* log_level */,
819 ppapi::proxy::SerializedVar /* value */)
820 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_LogWithSource,
821 PP_Instance /* instance */,
822 int /* log_level */,
823 ppapi::proxy::SerializedVar /* source */,
824 ppapi::proxy::SerializedVar /* value */)
827 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_SetFullscreen, 825 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_SetFullscreen,
828 PP_Instance /* instance */, 826 PP_Instance /* instance */,
829 PP_Bool /* fullscreen */, 827 PP_Bool /* fullscreen */,
830 PP_Bool /* result */) 828 PP_Bool /* result */)
831 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBInstance_GetScreenSize, 829 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBInstance_GetScreenSize,
832 PP_Instance /* instance */, 830 PP_Instance /* instance */,
833 PP_Bool /* result */, 831 PP_Bool /* result */,
834 PP_Size /* size */) 832 PP_Size /* size */)
835 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_RequestInputEvents, 833 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_RequestInputEvents,
836 PP_Instance /* instance */, 834 PP_Instance /* instance */,
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) 1040 std::vector<PP_PictureBuffer_Dev> /* picture buffers */)
1043 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, 1041 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer,
1044 ppapi::HostResource /* video_decoder */, 1042 ppapi::HostResource /* video_decoder */,
1045 int32_t /* picture buffer id */) 1043 int32_t /* picture buffer id */)
1046 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, 1044 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush,
1047 ppapi::HostResource /* video_decoder */) 1045 ppapi::HostResource /* video_decoder */)
1048 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, 1046 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset,
1049 ppapi::HostResource /* video_decoder */) 1047 ppapi::HostResource /* video_decoder */)
1050 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, 1048 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy,
1051 ppapi::HostResource /* video_decoder */) 1049 ppapi::HostResource /* video_decoder */)
OLDNEW
« no previous file with comments | « ppapi/proxy/plugin_dispatcher_unittest.cc ('k') | ppapi/proxy/ppb_audio_config_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698