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 1533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1544 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, | 1544 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |
1545 bool /* save_as */, | 1545 bool /* save_as */, |
1546 bool /* open_multiple */, | 1546 bool /* open_multiple */, |
1547 std::string /* suggested_file_name */, | 1547 std::string /* suggested_file_name */, |
1548 std::vector<std::string> /* accept_mime_types */) | 1548 std::vector<std::string> /* accept_mime_types */) |
1549 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1549 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
1550 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) | 1550 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) |
1551 | 1551 |
1552 // Gamepad. | 1552 // Gamepad. |
1553 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create) | 1553 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create) |
| 1554 |
| 1555 // Requests that the gamepad host send the shared memory handle to the plugin |
| 1556 // process. |
1554 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory) | 1557 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory) |
1555 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Gamepad_SendMemory, | 1558 |
1556 base::SharedMemoryHandle /* handle */) | 1559 // Reply to a RequestMemory call. This supplies the shared memory handle. The |
| 1560 // actual handle is passed in the ReplyParams struct. |
| 1561 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Gamepad_SendMemory) |
| 1562 |
1557 // Printing. | 1563 // Printing. |
1558 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create) | 1564 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create) |
1559 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings) | 1565 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings) |
1560 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply, | 1566 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply, |
1561 PP_PrintSettings_Dev /* print_settings */) | 1567 PP_PrintSettings_Dev /* print_settings */) |
OLD | NEW |