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 #include <map> | 6 #include <map> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/memory/shared_memory.h" | 12 #include "base/memory/shared_memory.h" |
13 #include "base/process/process.h" | 13 #include "base/process/process.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "base/sync_socket.h" | 15 #include "base/sync_socket.h" |
16 #include "gpu/command_buffer/common/command_buffer.h" | 16 #include "gpu/command_buffer/common/command_buffer.h" |
17 #include "gpu/command_buffer/common/mailbox.h" | 17 #include "gpu/command_buffer/common/mailbox.h" |
| 18 #include "gpu/command_buffer/common/sync_token.h" |
18 #include "gpu/ipc/gpu_command_buffer_traits.h" | 19 #include "gpu/ipc/gpu_command_buffer_traits.h" |
19 #include "ipc/ipc_channel_handle.h" | 20 #include "ipc/ipc_channel_handle.h" |
20 #include "ipc/ipc_message_macros.h" | 21 #include "ipc/ipc_message_macros.h" |
21 #include "ipc/ipc_message_utils.h" | 22 #include "ipc/ipc_message_utils.h" |
22 #include "ipc/ipc_platform_file.h" | 23 #include "ipc/ipc_platform_file.h" |
23 #include "ppapi/c/dev/pp_video_capture_dev.h" | 24 #include "ppapi/c/dev/pp_video_capture_dev.h" |
24 #include "ppapi/c/dev/pp_video_dev.h" | 25 #include "ppapi/c/dev/pp_video_dev.h" |
25 #include "ppapi/c/dev/ppb_truetype_font_dev.h" | 26 #include "ppapi/c/dev/ppb_truetype_font_dev.h" |
26 #include "ppapi/c/dev/ppb_url_util_dev.h" | 27 #include "ppapi/c/dev/ppb_url_util_dev.h" |
27 #include "ppapi/c/dev/ppp_printing_dev.h" | 28 #include "ppapi/c/dev/ppp_printing_dev.h" |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 IPC_STRUCT_TRAITS_MEMBER(alpha) | 272 IPC_STRUCT_TRAITS_MEMBER(alpha) |
272 IPC_STRUCT_TRAITS_END() | 273 IPC_STRUCT_TRAITS_END() |
273 | 274 |
274 IPC_STRUCT_TRAITS_BEGIN(ppapi::CompositorLayerData::ImageLayer) | 275 IPC_STRUCT_TRAITS_BEGIN(ppapi::CompositorLayerData::ImageLayer) |
275 IPC_STRUCT_TRAITS_MEMBER(resource) | 276 IPC_STRUCT_TRAITS_MEMBER(resource) |
276 IPC_STRUCT_TRAITS_MEMBER(source_rect) | 277 IPC_STRUCT_TRAITS_MEMBER(source_rect) |
277 IPC_STRUCT_TRAITS_END() | 278 IPC_STRUCT_TRAITS_END() |
278 | 279 |
279 IPC_STRUCT_TRAITS_BEGIN(ppapi::CompositorLayerData::TextureLayer) | 280 IPC_STRUCT_TRAITS_BEGIN(ppapi::CompositorLayerData::TextureLayer) |
280 IPC_STRUCT_TRAITS_MEMBER(mailbox) | 281 IPC_STRUCT_TRAITS_MEMBER(mailbox) |
| 282 IPC_STRUCT_TRAITS_MEMBER(sync_token) |
281 IPC_STRUCT_TRAITS_MEMBER(target) | 283 IPC_STRUCT_TRAITS_MEMBER(target) |
282 IPC_STRUCT_TRAITS_MEMBER(sync_point) | |
283 IPC_STRUCT_TRAITS_MEMBER(source_rect) | 284 IPC_STRUCT_TRAITS_MEMBER(source_rect) |
284 IPC_STRUCT_TRAITS_MEMBER(premult_alpha) | 285 IPC_STRUCT_TRAITS_MEMBER(premult_alpha) |
285 IPC_STRUCT_TRAITS_END() | 286 IPC_STRUCT_TRAITS_END() |
286 | 287 |
287 IPC_STRUCT_TRAITS_BEGIN(ppapi::DeviceRefData) | 288 IPC_STRUCT_TRAITS_BEGIN(ppapi::DeviceRefData) |
288 IPC_STRUCT_TRAITS_MEMBER(type) | 289 IPC_STRUCT_TRAITS_MEMBER(type) |
289 IPC_STRUCT_TRAITS_MEMBER(name) | 290 IPC_STRUCT_TRAITS_MEMBER(name) |
290 IPC_STRUCT_TRAITS_MEMBER(id) | 291 IPC_STRUCT_TRAITS_MEMBER(id) |
291 IPC_STRUCT_TRAITS_END() | 292 IPC_STRUCT_TRAITS_END() |
292 | 293 |
(...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1395 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_UMA_IsCrashReportingEnabledReply) | 1396 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_UMA_IsCrashReportingEnabledReply) |
1396 | 1397 |
1397 // Compositor | 1398 // Compositor |
1398 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Compositor_Create) | 1399 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Compositor_Create) |
1399 IPC_MESSAGE_CONTROL2(PpapiHostMsg_Compositor_CommitLayers, | 1400 IPC_MESSAGE_CONTROL2(PpapiHostMsg_Compositor_CommitLayers, |
1400 std::vector<ppapi::CompositorLayerData> /* layers */, | 1401 std::vector<ppapi::CompositorLayerData> /* layers */, |
1401 bool /* reset */) | 1402 bool /* reset */) |
1402 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Compositor_CommitLayersReply) | 1403 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Compositor_CommitLayersReply) |
1403 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_Compositor_ReleaseResource, | 1404 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_Compositor_ReleaseResource, |
1404 int32_t /* id */, | 1405 int32_t /* id */, |
1405 uint32_t /* sync_point */, | 1406 gpu::SyncToken /* sync_token */, |
1406 bool /* is_lost */) | 1407 bool /* is_lost */) |
1407 | 1408 |
1408 // File chooser. | 1409 // File chooser. |
1409 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) | 1410 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
1410 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, | 1411 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |
1411 bool /* save_as */, | 1412 bool /* save_as */, |
1412 bool /* open_multiple */, | 1413 bool /* open_multiple */, |
1413 std::string /* suggested_file_name */, | 1414 std::string /* suggested_file_name */, |
1414 std::vector<std::string> /* accept_mime_types */) | 1415 std::vector<std::string> /* accept_mime_types */) |
1415 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1416 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2325 std::vector<ppapi::HostResource> /* buffers */, | 2326 std::vector<ppapi::HostResource> /* buffers */, |
2326 uint32_t /* buffer_size */) | 2327 uint32_t /* buffer_size */) |
2327 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 2328 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
2328 uint32_t /* status */) | 2329 uint32_t /* status */) |
2329 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 2330 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
2330 uint32_t /* error */) | 2331 uint32_t /* error */) |
2331 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 2332 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
2332 uint32_t /* buffer */) | 2333 uint32_t /* buffer */) |
2333 | 2334 |
2334 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2335 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |