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

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

Issue 7740038: Use macros to define pepper interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review 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
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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, 457 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect,
458 ppapi::HostResource /* broker */) 458 ppapi::HostResource /* broker */)
459 459
460 // PPB_Buffer. 460 // PPB_Buffer.
461 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, 461 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create,
462 PP_Instance /* instance */, 462 PP_Instance /* instance */,
463 uint32_t /* size */, 463 uint32_t /* size */,
464 ppapi::HostResource /* result_resource */, 464 ppapi::HostResource /* result_resource */,
465 base::SharedMemoryHandle /* result_shm_handle */) 465 base::SharedMemoryHandle /* result_shm_handle */)
466 466
467 // PPB_Console.
468 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBConsole_Log,
469 PP_Instance /* instance */,
470 int /* log_level */,
471 ppapi::proxy::SerializedVar /* value */)
472 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBConsole_LogWithSource,
473 PP_Instance /* instance */,
474 int /* log_level */,
475 ppapi::proxy::SerializedVar /* soruce */,
476 ppapi::proxy::SerializedVar /* value */)
477
478 // PPB_Context3D. 467 // PPB_Context3D.
479 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_Create, 468 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_Create,
480 PP_Instance /* instance */, 469 PP_Instance /* instance */,
481 int32_t /* config */, 470 int32_t /* config */,
482 std::vector<int32_t> /* attrib_list */, 471 std::vector<int32_t> /* attrib_list */,
483 ppapi::HostResource /* result */) 472 ppapi::HostResource /* result */)
484 473
485 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_BindSurfaces, 474 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_BindSurfaces,
486 ppapi::HostResource /* context */, 475 ppapi::HostResource /* context */,
487 ppapi::HostResource /* draw */, 476 ppapi::HostResource /* draw */,
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 ppapi::HostResource /* device */, 802 ppapi::HostResource /* device */,
814 PP_Bool /* result */) 803 PP_Bool /* result */)
815 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame, 804 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame,
816 PP_Instance /* instance */, 805 PP_Instance /* instance */,
817 PP_Bool /* result */) 806 PP_Bool /* result */)
818 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBInstance_ExecuteScript, 807 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBInstance_ExecuteScript,
819 PP_Instance /* instance */, 808 PP_Instance /* instance */,
820 ppapi::proxy::SerializedVar /* script */, 809 ppapi::proxy::SerializedVar /* script */,
821 ppapi::proxy::SerializedVar /* out_exception */, 810 ppapi::proxy::SerializedVar /* out_exception */,
822 ppapi::proxy::SerializedVar /* result */) 811 ppapi::proxy::SerializedVar /* result */)
812 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_Log,
813 PP_Instance /* instance */,
814 int /* log_level */,
815 ppapi::proxy::SerializedVar /* value */)
816 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_LogWithSource,
817 PP_Instance /* instance */,
818 int /* log_level */,
819 ppapi::proxy::SerializedVar /* source */,
820 ppapi::proxy::SerializedVar /* value */)
823 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_SetFullscreen, 821 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_SetFullscreen,
824 PP_Instance /* instance */, 822 PP_Instance /* instance */,
825 PP_Bool /* fullscreen */, 823 PP_Bool /* fullscreen */,
826 PP_Bool /* result */) 824 PP_Bool /* result */)
827 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBInstance_GetScreenSize, 825 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBInstance_GetScreenSize,
828 PP_Instance /* instance */, 826 PP_Instance /* instance */,
829 PP_Bool /* result */, 827 PP_Bool /* result */,
830 PP_Size /* size */) 828 PP_Size /* size */)
831 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_RequestInputEvents, 829 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_RequestInputEvents,
832 PP_Instance /* instance */, 830 PP_Instance /* instance */,
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) 1031 std::vector<PP_PictureBuffer_Dev> /* picture buffers */)
1034 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, 1032 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer,
1035 ppapi::HostResource /* video_decoder */, 1033 ppapi::HostResource /* video_decoder */,
1036 int32_t /* picture buffer id */) 1034 int32_t /* picture buffer id */)
1037 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, 1035 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush,
1038 ppapi::HostResource /* video_decoder */) 1036 ppapi::HostResource /* video_decoder */)
1039 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, 1037 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset,
1040 ppapi::HostResource /* video_decoder */) 1038 ppapi::HostResource /* video_decoder */)
1041 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, 1039 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy,
1042 ppapi::HostResource /* video_decoder */) 1040 ppapi::HostResource /* video_decoder */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698