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

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

Issue 13080002: Apps V2 in Pepper: introduce singleton resource ExtensionsCommon. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/interface_list.cc ('k') | ppapi/proxy/ppb_instance_proxy.cc » ('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) 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 <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/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/process.h" 11 #include "base/process.h"
12 #include "base/shared_memory.h" 12 #include "base/shared_memory.h"
13 #include "base/string16.h" 13 #include "base/string16.h"
14 #include "base/sync_socket.h" 14 #include "base/sync_socket.h"
15 #include "base/values.h"
15 #include "gpu/command_buffer/common/command_buffer.h" 16 #include "gpu/command_buffer/common/command_buffer.h"
16 #include "gpu/ipc/gpu_command_buffer_traits.h" 17 #include "gpu/ipc/gpu_command_buffer_traits.h"
17 #include "ipc/ipc_channel_handle.h" 18 #include "ipc/ipc_channel_handle.h"
18 #include "ipc/ipc_message_macros.h" 19 #include "ipc/ipc_message_macros.h"
19 #include "ipc/ipc_message_utils.h" 20 #include "ipc/ipc_message_utils.h"
20 #include "ipc/ipc_platform_file.h" 21 #include "ipc/ipc_platform_file.h"
21 #include "ppapi/c/dev/pp_video_capture_dev.h" 22 #include "ppapi/c/dev/pp_video_capture_dev.h"
22 #include "ppapi/c/dev/pp_video_dev.h" 23 #include "ppapi/c/dev/pp_video_dev.h"
23 #include "ppapi/c/dev/ppb_directory_reader_dev.h" 24 #include "ppapi/c/dev/ppb_directory_reader_dev.h"
24 #include "ppapi/c/dev/ppb_text_input_dev.h" 25 #include "ppapi/c/dev/ppb_text_input_dev.h"
(...skipping 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after
1326 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_IsAllowed) 1327 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_IsAllowed)
1327 1328
1328 // Directory reader. 1329 // Directory reader.
1329 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DirectoryReader_Create) 1330 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DirectoryReader_Create)
1330 IPC_MESSAGE_CONTROL1(PpapiHostMsg_DirectoryReader_GetEntries, 1331 IPC_MESSAGE_CONTROL1(PpapiHostMsg_DirectoryReader_GetEntries,
1331 ppapi::HostResource /* file_ref_resource */) 1332 ppapi::HostResource /* file_ref_resource */)
1332 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_DirectoryReader_GetEntriesReply, 1333 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_DirectoryReader_GetEntriesReply,
1333 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */, 1334 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */,
1334 std::vector<PP_FileType> /* file_types */) 1335 std::vector<PP_FileType> /* file_types */)
1335 1336
1337 // Extensions common.
1338 IPC_MESSAGE_CONTROL0(PpapiHostMsg_ExtensionsCommon_Create)
raymes 2013/03/27 16:52:08 Could you please comment each of these and explain
yzshen1 2013/03/27 22:31:40 Done.
1339 IPC_MESSAGE_CONTROL2(PpapiHostMsg_ExtensionsCommon_Post,
1340 std::string /* request_name */,
1341 base::ListValue /* args */)
1342 IPC_MESSAGE_CONTROL2(PpapiHostMsg_ExtensionsCommon_Call,
1343 std::string /* request_name */,
1344 base::ListValue /* args */)
1345 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_ExtensionsCommon_CallReply,
1346 base::ListValue /* output */)
1347
1336 // File chooser. 1348 // File chooser.
1337 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) 1349 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create)
1338 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, 1350 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show,
1339 bool /* save_as */, 1351 bool /* save_as */,
1340 bool /* open_multiple */, 1352 bool /* open_multiple */,
1341 std::string /* suggested_file_name */, 1353 std::string /* suggested_file_name */,
1342 std::vector<std::string> /* accept_mime_types */) 1354 std::vector<std::string> /* accept_mime_types */)
1343 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, 1355 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1344 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) 1356 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */)
1345 1357
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
1747 std::vector<ppapi::HostResource> /* buffers */, 1759 std::vector<ppapi::HostResource> /* buffers */,
1748 uint32_t /* buffer_size */) 1760 uint32_t /* buffer_size */)
1749 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 1761 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
1750 uint32_t /* status */) 1762 uint32_t /* status */)
1751 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 1763 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
1752 uint32_t /* error */) 1764 uint32_t /* error */)
1753 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 1765 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
1754 uint32_t /* buffer */) 1766 uint32_t /* buffer */)
1755 1767
1756 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1768 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/ppb_instance_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698