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 <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/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1436 | 1436 |
1437 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall, | 1437 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall, |
1438 ppapi::proxy::ResourceMessageCallParams /* call_params */, | 1438 ppapi::proxy::ResourceMessageCallParams /* call_params */, |
1439 IPC::Message /* nested_msg */, | 1439 IPC::Message /* nested_msg */, |
1440 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, | 1440 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, |
1441 IPC::Message /* reply_msg */) | 1441 IPC::Message /* reply_msg */) |
1442 | 1442 |
1443 //----------------------------------------------------------------------------- | 1443 //----------------------------------------------------------------------------- |
1444 // Messages for resources using call/reply above. | 1444 // Messages for resources using call/reply above. |
1445 | 1445 |
| 1446 // Broker ---------------------------------------------------------------------- |
| 1447 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_Create) |
| 1448 |
| 1449 // Queries whether the plugin has permission to connect to the Pepper broker. |
| 1450 // The response is contained in the error value of the |
| 1451 // ResourceMessageReplyParams in the reply message. |
| 1452 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_IsAllowed) |
| 1453 |
1446 // File chooser. | 1454 // File chooser. |
1447 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) | 1455 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
1448 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, | 1456 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |
1449 bool /* save_as */, | 1457 bool /* save_as */, |
1450 bool /* open_multiple */, | 1458 bool /* open_multiple */, |
1451 std::string /* suggested_file_name */, | 1459 std::string /* suggested_file_name */, |
1452 std::vector<std::string> /* accept_mime_types */) | 1460 std::vector<std::string> /* accept_mime_types */) |
1453 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1461 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
1454 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) | 1462 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) |
1455 | 1463 |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1723 std::vector<ppapi::HostResource> /* buffers */, | 1731 std::vector<ppapi::HostResource> /* buffers */, |
1724 uint32_t /* buffer_size */) | 1732 uint32_t /* buffer_size */) |
1725 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1733 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
1726 uint32_t /* status */) | 1734 uint32_t /* status */) |
1727 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1735 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
1728 uint32_t /* error */) | 1736 uint32_t /* error */) |
1729 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1737 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
1730 uint32_t /* buffer */) | 1738 uint32_t /* buffer */) |
1731 | 1739 |
1732 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1740 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |