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 <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1080 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, | 1080 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, |
1081 ppapi::HostResource /* context */, | 1081 ppapi::HostResource /* context */, |
1082 int32_t /* id */) | 1082 int32_t /* id */) |
1083 // The receiver of this message takes ownership of the front buffer of the GL | 1083 // The receiver of this message takes ownership of the front buffer of the GL |
1084 // context. Each call to PpapiHostMsg_PPBGraphics3D_SwapBuffers must be preceded | 1084 // context. Each call to PpapiHostMsg_PPBGraphics3D_SwapBuffers must be preceded |
1085 // by exactly one call to PpapiHostMsg_PPBGraphics3D_TakeFrontBuffer. The | 1085 // by exactly one call to PpapiHostMsg_PPBGraphics3D_TakeFrontBuffer. The |
1086 // SyncToken passed to PpapiHostMsg_PPBGraphics3D_SwapBuffers must be generated | 1086 // SyncToken passed to PpapiHostMsg_PPBGraphics3D_SwapBuffers must be generated |
1087 // after this message is sent. | 1087 // after this message is sent. |
1088 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_TakeFrontBuffer, | 1088 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_TakeFrontBuffer, |
1089 ppapi::HostResource /* graphics_3d */) | 1089 ppapi::HostResource /* graphics_3d */) |
1090 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBGraphics3D_SwapBuffers, | 1090 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBGraphics3D_SwapBuffers, |
1091 ppapi::HostResource /* graphics_3d */, | 1091 ppapi::HostResource /* graphics_3d */, |
1092 gpu::SyncToken /* sync_token */, | 1092 gpu::SyncToken /* sync_token */, |
1093 gfx::Size /* size */) | 1093 int32_t /* width*/, |
| 1094 int32_t /* height*/) |
1094 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_EnsureWorkVisible, | 1095 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_EnsureWorkVisible, |
1095 ppapi::HostResource /* context */) | 1096 ppapi::HostResource /* context */) |
1096 | 1097 |
1097 // PPB_ImageData. | 1098 // PPB_ImageData. |
1098 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreatePlatform, | 1099 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreatePlatform, |
1099 PP_Instance /* instance */, | 1100 PP_Instance /* instance */, |
1100 int32_t /* format */, | 1101 int32_t /* format */, |
1101 PP_Size /* size */, | 1102 PP_Size /* size */, |
1102 PP_Bool /* init_to_zero */, | 1103 PP_Bool /* init_to_zero */, |
1103 ppapi::HostResource /* result_resource */, | 1104 ppapi::HostResource /* result_resource */, |
(...skipping 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2523 std::vector<ppapi::HostResource> /* buffers */, | 2524 std::vector<ppapi::HostResource> /* buffers */, |
2524 uint32_t /* buffer_size */) | 2525 uint32_t /* buffer_size */) |
2525 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 2526 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
2526 uint32_t /* status */) | 2527 uint32_t /* status */) |
2527 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 2528 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
2528 uint32_t /* error */) | 2529 uint32_t /* error */) |
2529 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 2530 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
2530 uint32_t /* buffer */) | 2531 uint32_t /* buffer */) |
2531 | 2532 |
2532 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2533 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |