| 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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 515 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| 516 | 516 |
| 517 // These are from the browser to the plugin. | 517 // These are from the browser to the plugin. |
| 518 // Loads the given plugin. | 518 // Loads the given plugin. |
| 519 IPC_MESSAGE_CONTROL2(PpapiMsg_LoadPlugin, | 519 IPC_MESSAGE_CONTROL2(PpapiMsg_LoadPlugin, |
| 520 base::FilePath /* path */, | 520 base::FilePath /* path */, |
| 521 ppapi::PpapiPermissions /* permissions */) | 521 ppapi::PpapiPermissions /* permissions */) |
| 522 | 522 |
| 523 // Creates a channel to talk to a renderer. The plugin will respond with | 523 // Creates a channel to talk to a renderer. The plugin will respond with |
| 524 // PpapiHostMsg_ChannelCreated. | 524 // PpapiHostMsg_ChannelCreated. |
| 525 // If |renderer_pid| is base::kNullProcessId, this is a channel used by the |
| 526 // browser itself. |
| 525 IPC_MESSAGE_CONTROL3(PpapiMsg_CreateChannel, | 527 IPC_MESSAGE_CONTROL3(PpapiMsg_CreateChannel, |
| 526 base::ProcessId /* renderer_pid */, | 528 base::ProcessId /* renderer_pid */, |
| 527 int /* renderer_child_id */, | 529 int /* renderer_child_id */, |
| 528 bool /* incognito */) | 530 bool /* incognito */) |
| 529 | 531 |
| 530 // Initializes the IPC dispatchers in the NaCl plugin. | 532 // Initializes the IPC dispatchers in the NaCl plugin. |
| 531 IPC_MESSAGE_CONTROL1(PpapiMsg_InitializeNaClDispatcher, | 533 IPC_MESSAGE_CONTROL1(PpapiMsg_InitializeNaClDispatcher, |
| 532 ppapi::PpapiNaClPluginArgs /* args */) | 534 ppapi::PpapiNaClPluginArgs /* args */) |
| 533 | 535 |
| 534 // Instructs the plugin process to crash. | 536 // Instructs the plugin process to crash. |
| (...skipping 1957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2492 std::vector<ppapi::HostResource> /* buffers */, | 2494 std::vector<ppapi::HostResource> /* buffers */, |
| 2493 uint32_t /* buffer_size */) | 2495 uint32_t /* buffer_size */) |
| 2494 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 2496 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
| 2495 uint32_t /* status */) | 2497 uint32_t /* status */) |
| 2496 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 2498 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
| 2497 uint32_t /* error */) | 2499 uint32_t /* error */) |
| 2498 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 2500 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
| 2499 uint32_t /* buffer */) | 2501 uint32_t /* buffer */) |
| 2500 | 2502 |
| 2501 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2503 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| OLD | NEW |