| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 // IPC messages for access to MIDI hardware. | 5 // IPC messages for access to MIDI hardware. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 int /* client id */, | 36 int /* client id */, |
| 37 bool /* success */) | 37 bool /* success */) |
| 38 | 38 |
| 39 // Messages for IPC between MIDIMessageFilter and MIDIHost. | 39 // Messages for IPC between MIDIMessageFilter and MIDIHost. |
| 40 | 40 |
| 41 // Renderer request to browser for access to MIDI services. | 41 // Renderer request to browser for access to MIDI services. |
| 42 IPC_MESSAGE_CONTROL1(MIDIHostMsg_StartSession, | 42 IPC_MESSAGE_CONTROL1(MIDIHostMsg_StartSession, |
| 43 int /* client id */) | 43 int /* client id */) |
| 44 | 44 |
| 45 IPC_MESSAGE_CONTROL3(MIDIHostMsg_SendData, | 45 IPC_MESSAGE_CONTROL3(MIDIHostMsg_SendData, |
| 46 int /* port */, | 46 uint32 /* port */, |
| 47 std::vector<uint8> /* data */, | 47 std::vector<uint8> /* data */, |
| 48 double /* timestamp */) | 48 double /* timestamp */) |
| 49 | 49 |
| 50 // Messages sent from the browser to the renderer. | 50 // Messages sent from the browser to the renderer. |
| 51 | 51 |
| 52 IPC_MESSAGE_CONTROL4(MIDIMsg_SessionStarted, | 52 IPC_MESSAGE_CONTROL4(MIDIMsg_SessionStarted, |
| 53 int /* client id */, | 53 int /* client id */, |
| 54 bool /* success */, | 54 bool /* success */, |
| 55 media::MIDIPortInfoList /* input ports */, | 55 media::MIDIPortInfoList /* input ports */, |
| 56 media::MIDIPortInfoList /* output ports */) | 56 media::MIDIPortInfoList /* output ports */) |
| 57 | 57 |
| 58 IPC_MESSAGE_CONTROL3(MIDIMsg_DataReceived, | 58 IPC_MESSAGE_CONTROL3(MIDIMsg_DataReceived, |
| 59 int /* port */, | 59 uint32 /* port */, |
| 60 std::vector<uint8> /* data */, | 60 std::vector<uint8> /* data */, |
| 61 double /* timestamp */) | 61 double /* timestamp */) |
| 62 | 62 |
| 63 IPC_MESSAGE_CONTROL1(MIDIMsg_AcknowledgeSentData, | 63 IPC_MESSAGE_CONTROL1(MIDIMsg_AcknowledgeSentData, |
| 64 size_t /* bytes sent */) | 64 uint32 /* bytes sent */) |
| OLD | NEW |