| 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" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "ppapi/proxy/ppapi_proxy_export.h" | 54 #include "ppapi/proxy/ppapi_proxy_export.h" |
| 55 #include "ppapi/proxy/resource_message_params.h" | 55 #include "ppapi/proxy/resource_message_params.h" |
| 56 #include "ppapi/proxy/serialized_flash_menu.h" | 56 #include "ppapi/proxy/serialized_flash_menu.h" |
| 57 #include "ppapi/proxy/serialized_handle.h" | 57 #include "ppapi/proxy/serialized_handle.h" |
| 58 #include "ppapi/proxy/serialized_structs.h" | 58 #include "ppapi/proxy/serialized_structs.h" |
| 59 #include "ppapi/proxy/serialized_var.h" | 59 #include "ppapi/proxy/serialized_var.h" |
| 60 #include "ppapi/shared_impl/dir_contents.h" | 60 #include "ppapi/shared_impl/dir_contents.h" |
| 61 #include "ppapi/shared_impl/file_growth.h" | 61 #include "ppapi/shared_impl/file_growth.h" |
| 62 #include "ppapi/shared_impl/file_path.h" | 62 #include "ppapi/shared_impl/file_path.h" |
| 63 #include "ppapi/shared_impl/file_ref_create_info.h" | 63 #include "ppapi/shared_impl/file_ref_create_info.h" |
| 64 #include "ppapi/shared_impl/media_stream_audio_track_shared.h" |
| 64 #include "ppapi/shared_impl/media_stream_video_track_shared.h" | 65 #include "ppapi/shared_impl/media_stream_video_track_shared.h" |
| 65 #include "ppapi/shared_impl/ppapi_nacl_plugin_args.h" | 66 #include "ppapi/shared_impl/ppapi_nacl_plugin_args.h" |
| 66 #include "ppapi/shared_impl/ppapi_preferences.h" | 67 #include "ppapi/shared_impl/ppapi_preferences.h" |
| 67 #include "ppapi/shared_impl/ppb_device_ref_shared.h" | 68 #include "ppapi/shared_impl/ppb_device_ref_shared.h" |
| 68 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 69 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
| 69 #include "ppapi/shared_impl/ppb_tcp_socket_shared.h" | 70 #include "ppapi/shared_impl/ppb_tcp_socket_shared.h" |
| 70 #include "ppapi/shared_impl/ppb_view_shared.h" | 71 #include "ppapi/shared_impl/ppb_view_shared.h" |
| 71 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" | 72 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" |
| 72 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" | 73 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" |
| 73 #include "ppapi/shared_impl/socket_option_data.h" | 74 #include "ppapi/shared_impl/socket_option_data.h" |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 IPC_STRUCT_TRAITS_MEMBER(browser_pending_host_resource_id) | 234 IPC_STRUCT_TRAITS_MEMBER(browser_pending_host_resource_id) |
| 234 IPC_STRUCT_TRAITS_MEMBER(renderer_pending_host_resource_id) | 235 IPC_STRUCT_TRAITS_MEMBER(renderer_pending_host_resource_id) |
| 235 IPC_STRUCT_TRAITS_MEMBER(file_system_plugin_resource) | 236 IPC_STRUCT_TRAITS_MEMBER(file_system_plugin_resource) |
| 236 IPC_STRUCT_TRAITS_END() | 237 IPC_STRUCT_TRAITS_END() |
| 237 | 238 |
| 238 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting) | 239 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting) |
| 239 IPC_STRUCT_TRAITS_MEMBER(site) | 240 IPC_STRUCT_TRAITS_MEMBER(site) |
| 240 IPC_STRUCT_TRAITS_MEMBER(permission) | 241 IPC_STRUCT_TRAITS_MEMBER(permission) |
| 241 IPC_STRUCT_TRAITS_END() | 242 IPC_STRUCT_TRAITS_END() |
| 242 | 243 |
| 244 IPC_STRUCT_TRAITS_BEGIN(ppapi::MediaStreamAudioTrackShared::Attributes) |
| 245 IPC_STRUCT_TRAITS_MEMBER(buffers) |
| 246 IPC_STRUCT_TRAITS_END() |
| 247 |
| 243 IPC_STRUCT_TRAITS_BEGIN(ppapi::MediaStreamVideoTrackShared::Attributes) | 248 IPC_STRUCT_TRAITS_BEGIN(ppapi::MediaStreamVideoTrackShared::Attributes) |
| 244 IPC_STRUCT_TRAITS_MEMBER(buffers) | 249 IPC_STRUCT_TRAITS_MEMBER(buffers) |
| 245 IPC_STRUCT_TRAITS_MEMBER(width) | 250 IPC_STRUCT_TRAITS_MEMBER(width) |
| 246 IPC_STRUCT_TRAITS_MEMBER(height) | 251 IPC_STRUCT_TRAITS_MEMBER(height) |
| 247 IPC_STRUCT_TRAITS_MEMBER(format) | 252 IPC_STRUCT_TRAITS_MEMBER(format) |
| 248 IPC_STRUCT_TRAITS_END() | 253 IPC_STRUCT_TRAITS_END() |
| 249 | 254 |
| 250 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) | 255 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) |
| 251 IPC_STRUCT_TRAITS_MEMBER(rect) | 256 IPC_STRUCT_TRAITS_MEMBER(rect) |
| 252 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) | 257 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) |
| (...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1429 // IsolatedFileSystem | 1434 // IsolatedFileSystem |
| 1430 IPC_MESSAGE_CONTROL0(PpapiHostMsg_IsolatedFileSystem_Create) | 1435 IPC_MESSAGE_CONTROL0(PpapiHostMsg_IsolatedFileSystem_Create) |
| 1431 IPC_MESSAGE_CONTROL1(PpapiHostMsg_IsolatedFileSystem_BrowserOpen, | 1436 IPC_MESSAGE_CONTROL1(PpapiHostMsg_IsolatedFileSystem_BrowserOpen, |
| 1432 PP_IsolatedFileSystemType_Private /* type */) | 1437 PP_IsolatedFileSystemType_Private /* type */) |
| 1433 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_IsolatedFileSystem_BrowserOpenReply, | 1438 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_IsolatedFileSystem_BrowserOpenReply, |
| 1434 std::string /* fsid */) | 1439 std::string /* fsid */) |
| 1435 | 1440 |
| 1436 // MediaStream ----------------------------------------------------------------- | 1441 // MediaStream ----------------------------------------------------------------- |
| 1437 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_MediaStreamAudioTrack_CreateFromPendingHost, | 1442 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_MediaStreamAudioTrack_CreateFromPendingHost, |
| 1438 std::string /* track_id */) | 1443 std::string /* track_id */) |
| 1444 IPC_MESSAGE_CONTROL1( |
| 1445 PpapiHostMsg_MediaStreamAudioTrack_Configure, |
| 1446 ppapi::MediaStreamAudioTrackShared::Attributes /* attributes */) |
| 1447 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_MediaStreamAudioTrack_ConfigureReply) |
| 1439 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_MediaStreamVideoTrack_CreateFromPendingHost, | 1448 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_MediaStreamVideoTrack_CreateFromPendingHost, |
| 1440 std::string /* track_id */) | 1449 std::string /* track_id */) |
| 1441 IPC_MESSAGE_CONTROL0(PpapiHostMsg_MediaStreamVideoTrack_Create) | 1450 IPC_MESSAGE_CONTROL0(PpapiHostMsg_MediaStreamVideoTrack_Create) |
| 1442 IPC_MESSAGE_CONTROL1( | 1451 IPC_MESSAGE_CONTROL1( |
| 1443 PpapiHostMsg_MediaStreamVideoTrack_Configure, | 1452 PpapiHostMsg_MediaStreamVideoTrack_Configure, |
| 1444 ppapi::MediaStreamVideoTrackShared::Attributes /* attributes */) | 1453 ppapi::MediaStreamVideoTrackShared::Attributes /* attributes */) |
| 1445 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_MediaStreamVideoTrack_ConfigureReply, | 1454 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_MediaStreamVideoTrack_ConfigureReply, |
| 1446 std::string /* track_id */) | 1455 std::string /* track_id */) |
| 1447 | 1456 |
| 1448 // Message for init buffers. It also takes a shared memory handle which is put | 1457 // Message for init buffers. It also takes a shared memory handle which is put |
| (...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2113 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2122 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
| 2114 PP_TalkPermission /* permission */) | 2123 PP_TalkPermission /* permission */) |
| 2115 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2124 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
| 2116 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2125 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
| 2117 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2126 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
| 2118 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2127 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
| 2119 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2128 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
| 2120 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2129 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
| 2121 | 2130 |
| 2122 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2131 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| OLD | NEW |