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 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 2232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2243 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, | 2243 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, |
2244 std::string /* device_id */, | 2244 std::string /* device_id */, |
2245 PP_AudioSampleRate /* sample_rate */, | 2245 PP_AudioSampleRate /* sample_rate */, |
2246 uint32_t /* sample_frame_count */) | 2246 uint32_t /* sample_frame_count */) |
2247 // Reply to an Open call. This supplies a socket handle and a shared memory | 2247 // Reply to an Open call. This supplies a socket handle and a shared memory |
2248 // handle. Both handles are passed in the ReplyParams struct. | 2248 // handle. Both handles are passed in the ReplyParams struct. |
2249 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) | 2249 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) |
2250 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) | 2250 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) |
2251 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) | 2251 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) |
2252 | 2252 |
| 2253 // Audio output. |
| 2254 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioOutput_Create) |
| 2255 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioOutput_Open, |
| 2256 std::string /* device_id */, |
| 2257 PP_AudioSampleRate /* sample_rate */, |
| 2258 uint32_t /* sample_frame_count */) |
| 2259 // Reply to an Open call. This supplies a socket handle and a shared memory |
| 2260 // handle. Both handles are passed in the ReplyParams struct. |
| 2261 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioOutput_OpenReply) |
| 2262 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioOutput_StartOrStop, bool /* playback */) |
| 2263 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioOutput_Close) |
| 2264 |
2253 // BrowserFont ----------------------------------------------------------------- | 2265 // BrowserFont ----------------------------------------------------------------- |
2254 | 2266 |
2255 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_Create) | 2267 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_Create) |
2256 | 2268 |
2257 // Requests that the browser reply with the list of font families via | 2269 // Requests that the browser reply with the list of font families via |
2258 // PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply. | 2270 // PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply. |
2259 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_GetFontFamilies) | 2271 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_GetFontFamilies) |
2260 | 2272 |
2261 // Reply to PpapiHostMsg_BrowserFontSingleton_GetFontFamilies with the font | 2273 // Reply to PpapiHostMsg_BrowserFontSingleton_GetFontFamilies with the font |
2262 // family list. The |families| result is encoded by separating each family name | 2274 // family list. The |families| result is encoded by separating each family name |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2530 uint32_t /* status */) | 2542 uint32_t /* status */) |
2531 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 2543 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
2532 uint32_t /* error */) | 2544 uint32_t /* error */) |
2533 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 2545 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
2534 uint32_t /* buffer */) | 2546 uint32_t /* buffer */) |
2535 | 2547 |
2536 // Sent by the PPAPI process to indicate that a field trial has been activated. | 2548 // Sent by the PPAPI process to indicate that a field trial has been activated. |
2537 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FieldTrialActivated, std::string /* name */) | 2549 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FieldTrialActivated, std::string /* name */) |
2538 | 2550 |
2539 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2551 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |