| 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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 483 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| 484 | 484 |
| 485 // These are from the browser to the plugin. | 485 // These are from the browser to the plugin. |
| 486 // Loads the given plugin. | 486 // Loads the given plugin. |
| 487 IPC_MESSAGE_CONTROL2(PpapiMsg_LoadPlugin, | 487 IPC_MESSAGE_CONTROL2(PpapiMsg_LoadPlugin, |
| 488 base::FilePath /* path */, | 488 base::FilePath /* path */, |
| 489 ppapi::PpapiPermissions /* permissions */) | 489 ppapi::PpapiPermissions /* permissions */) |
| 490 | 490 |
| 491 // Creates a channel to talk to a renderer. The plugin will respond with | 491 // Creates a channel to talk to a renderer. The plugin will respond with |
| 492 // PpapiHostMsg_ChannelCreated. | 492 // PpapiHostMsg_ChannelCreated. |
| 493 // If |renderer_pid| is base::kNullProcessId, this is a channel used by the |
| 494 // browser itself. |
| 493 IPC_MESSAGE_CONTROL3(PpapiMsg_CreateChannel, | 495 IPC_MESSAGE_CONTROL3(PpapiMsg_CreateChannel, |
| 494 base::ProcessId /* renderer_pid */, | 496 base::ProcessId /* renderer_pid */, |
| 495 int /* renderer_child_id */, | 497 int /* renderer_child_id */, |
| 496 bool /* incognito */) | 498 bool /* incognito */) |
| 497 | 499 |
| 498 // Initializes the IPC dispatchers in the NaCl plugin. | 500 // Initializes the IPC dispatchers in the NaCl plugin. |
| 499 IPC_MESSAGE_CONTROL1(PpapiMsg_InitializeNaClDispatcher, | 501 IPC_MESSAGE_CONTROL1(PpapiMsg_InitializeNaClDispatcher, |
| 500 ppapi::PpapiNaClPluginArgs /* args */) | 502 ppapi::PpapiNaClPluginArgs /* args */) |
| 501 | 503 |
| 502 // Instructs the plugin process to crash. | 504 // Instructs the plugin process to crash. |
| (...skipping 1931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2434 std::vector<ppapi::HostResource> /* buffers */, | 2436 std::vector<ppapi::HostResource> /* buffers */, |
| 2435 uint32_t /* buffer_size */) | 2437 uint32_t /* buffer_size */) |
| 2436 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 2438 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
| 2437 uint32_t /* status */) | 2439 uint32_t /* status */) |
| 2438 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 2440 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
| 2439 uint32_t /* error */) | 2441 uint32_t /* error */) |
| 2440 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 2442 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
| 2441 uint32_t /* buffer */) | 2443 uint32_t /* buffer */) |
| 2442 | 2444 |
| 2443 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2445 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| OLD | NEW |