| 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 #ifndef CONTENT_COMMON_MEDIA_MIDI_MESSAGES_H_ |
| 6 #define CONTENT_COMMON_MEDIA_MIDI_MESSAGES_H_ |
| 7 |
| 5 // IPC messages for access to MIDI hardware. | 8 // IPC messages for access to MIDI hardware. |
| 6 // Multiply-included message file, hence no include guard. | 9 // Multiply-included message file, hence no include guard. |
| 7 | 10 |
| 8 // TODO(toyoshim): Mojofication is working in progress. Until the work is | 11 // TODO(toyoshim): Mojofication is working in progress. Until the work is |
| 9 // finished, this file temporarily depends on midi_service.mojom.h. | 12 // finished, this file temporarily depends on midi_service.mojom.h. |
| 10 // Once the migration is finished, this file will be removed. | 13 // Once the migration is finished, this file will be removed. |
| 11 // http://crbug.com/582327 | 14 // http://crbug.com/582327 |
| 12 | 15 |
| 13 #include <stdint.h> | 16 #include <stdint.h> |
| 14 | 17 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 midi::mojom::PortState /* state */) | 67 midi::mojom::PortState /* state */) |
| 65 | 68 |
| 66 IPC_MESSAGE_CONTROL1(MidiMsg_SessionStarted, midi::mojom::Result /* result */) | 69 IPC_MESSAGE_CONTROL1(MidiMsg_SessionStarted, midi::mojom::Result /* result */) |
| 67 | 70 |
| 68 IPC_MESSAGE_CONTROL3(MidiMsg_DataReceived, | 71 IPC_MESSAGE_CONTROL3(MidiMsg_DataReceived, |
| 69 uint32_t /* port */, | 72 uint32_t /* port */, |
| 70 std::vector<uint8_t> /* data */, | 73 std::vector<uint8_t> /* data */, |
| 71 double /* timestamp */) | 74 double /* timestamp */) |
| 72 | 75 |
| 73 IPC_MESSAGE_CONTROL1(MidiMsg_AcknowledgeSentData, uint32_t /* bytes sent */) | 76 IPC_MESSAGE_CONTROL1(MidiMsg_AcknowledgeSentData, uint32_t /* bytes sent */) |
| 77 |
| 78 #endif // CONTENT_COMMON_MEDIA_MIDI_MESSAGES_H_ |
| OLD | NEW |