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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 IPC_MESSAGE_CONTROL3(MidiHostMsg_SendData, | 48 IPC_MESSAGE_CONTROL3(MidiHostMsg_SendData, |
49 uint32 /* port */, | 49 uint32 /* port */, |
50 std::vector<uint8> /* data */, | 50 std::vector<uint8> /* data */, |
51 double /* timestamp */) | 51 double /* timestamp */) |
52 | 52 |
53 IPC_MESSAGE_CONTROL0(MidiHostMsg_EndSession) | 53 IPC_MESSAGE_CONTROL0(MidiHostMsg_EndSession) |
54 | 54 |
55 // Messages sent from the browser to the renderer. | 55 // Messages sent from the browser to the renderer. |
56 | 56 |
57 IPC_MESSAGE_CONTROL3(MidiMsg_SessionStarted, | 57 IPC_MESSAGE_CONTROL1(MidiMsg_AddInputPort, |
58 media::MidiResult /* result */, | 58 media::MidiPortInfo /* input port */) |
59 media::MidiPortInfoList /* input ports */, | 59 |
60 media::MidiPortInfoList /* output ports */) | 60 IPC_MESSAGE_CONTROL1(MidiMsg_AddOutputPort, |
| 61 media::MidiPortInfo /* output port */) |
| 62 |
| 63 IPC_MESSAGE_CONTROL1(MidiMsg_SessionStarted, |
| 64 media::MidiResult /* result */) |
61 | 65 |
62 IPC_MESSAGE_CONTROL3(MidiMsg_DataReceived, | 66 IPC_MESSAGE_CONTROL3(MidiMsg_DataReceived, |
63 uint32 /* port */, | 67 uint32 /* port */, |
64 std::vector<uint8> /* data */, | 68 std::vector<uint8> /* data */, |
65 double /* timestamp */) | 69 double /* timestamp */) |
66 | 70 |
67 IPC_MESSAGE_CONTROL1(MidiMsg_AcknowledgeSentData, | 71 IPC_MESSAGE_CONTROL1(MidiMsg_AcknowledgeSentData, |
68 uint32 /* bytes sent */) | 72 uint32 /* bytes sent */) |
OLD | NEW |