Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Side by Side Diff: content/common/media/midi_messages.h

Issue 16025005: Web MIDI API back-end (work-in-progress) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use int64 in ParamTraits Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // IPC messages for access to MIDI hardware.
6 // Multiply-included message file, hence no include guard.
7
8 #include "base/basictypes.h"
9 #include "content/common/content_export.h"
10 #include "ipc/ipc_message_macros.h"
11 #include "media/midi/midi_port_info.h"
12
13 #undef IPC_MESSAGE_EXPORT
14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
15 #define IPC_MESSAGE_START MIDIMsgStart
16
17 // Renderer request to browser for access to MIDI services.
18 IPC_MESSAGE_CONTROL2(MIDIHostMsg_RequestAccess,
19 int /* client id */,
20 int /* access */)
21
22 IPC_MESSAGE_CONTROL3(MIDIHostMsg_SendData,
23 int /* port */,
24 std::vector<uint8> /* data */,
25 double /* timestamp */)
26
27 // Messages sent from the browser to the renderer.
28
29 IPC_MESSAGE_CONTROL5(MIDIMsg_AccessApproved,
30 int /* client id */,
31 int /* access */,
32 bool /* success */,
33 media::MIDIPortInfoList /* input ports */,
34 media::MIDIPortInfoList /* output ports */)
35
36 IPC_MESSAGE_CONTROL3(MIDIMsg_DataReceived,
37 int /* port */,
38 std::vector<uint8> /* data */,
39 double /* timestamp */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698