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

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)
1339
1340 // Starts an extension API request which doesn't expect a response.
1341 // |request_name| is an API function name. |args| is a list of input arguments.
1342 IPC_MESSAGE_CONTROL2(PpapiHostMsg_ExtensionsCommon_Post,
1343 std::string /* request_name */,
1344 base::ListValue /* args */)
1345
1346 // Starts an extension API request which expects a response sent back using a
1347 // PpapiPluginMsg_ExtensionsCommon_CallReply message.
1348 // |request_name| is an API function name. |args| is a list of input arguments.
1349 // |output| is a list of output results.
1350 IPC_MESSAGE_CONTROL2(PpapiHostMsg_ExtensionsCommon_Call,
1351 std::string /* request_name */,
1352 base::ListValue /* args */)
1353 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_ExtensionsCommon_CallReply,
1354 base::ListValue /* output */)
1355
1336 // File chooser. 1356 // File chooser.
1337 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) 1357 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create)
1338 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, 1358 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show,
1339 bool /* save_as */, 1359 bool /* save_as */,
1340 bool /* open_multiple */, 1360 bool /* open_multiple */,
1341 std::string /* suggested_file_name */, 1361 std::string /* suggested_file_name */,
1342 std::vector<std::string> /* accept_mime_types */) 1362 std::vector<std::string> /* accept_mime_types */)
1343 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, 1363 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1344 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) 1364 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */)
1345 1365
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
1747 std::vector<ppapi::HostResource> /* buffers */, 1767 std::vector<ppapi::HostResource> /* buffers */,
1748 uint32_t /* buffer_size */) 1768 uint32_t /* buffer_size */)
1749 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 1769 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
1750 uint32_t /* status */) 1770 uint32_t /* status */)
1751 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 1771 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
1752 uint32_t /* error */) 1772 uint32_t /* error */)
1753 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 1773 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
1754 uint32_t /* buffer */) 1774 uint32_t /* buffer */)
1755 1775
1756 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1776 #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