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

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: merge 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
12 #undef IPC_MESSAGE_EXPORT
13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
14 #define IPC_MESSAGE_START MIDIMsgStart
15
16 // Renderer request to browser for access to MIDI services.
17 IPC_MESSAGE_CONTROL0(MIDIHostMsg_RequestAccess);
18
19 // Messages sent from the browser to the renderer.
20
21 IPC_MESSAGE_CONTROL2(MIDIMsg_AccessApproved,
22 int /* access */,
23 bool /* success */)
24
25 IPC_MESSAGE_CONTROL3(MIDIMsg_DataReceived,
26 int /* port */,
27 std::vector<uint8> /* data */,
28 double /* timestamp */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698