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

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

Issue 17288018: Re-land 16025005 with fix for statics perf issue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 IPC_STRUCT_TRAITS_BEGIN(media::MIDIPortInfo)
18 IPC_STRUCT_TRAITS_MEMBER(id)
19 IPC_STRUCT_TRAITS_MEMBER(manufacturer)
20 IPC_STRUCT_TRAITS_MEMBER(name)
21 IPC_STRUCT_TRAITS_MEMBER(version)
22 IPC_STRUCT_TRAITS_END()
23
24 // Renderer request to browser for access to MIDI services.
25 IPC_MESSAGE_CONTROL2(MIDIHostMsg_RequestAccess,
26 int /* client id */,
27 int /* access */)
28
29 IPC_MESSAGE_CONTROL3(MIDIHostMsg_SendData,
30 int /* port */,
31 std::vector<uint8> /* data */,
32 double /* timestamp */)
33
34 // Messages sent from the browser to the renderer.
35
36 IPC_MESSAGE_CONTROL5(MIDIMsg_AccessApproved,
37 int /* client id */,
38 int /* access */,
39 bool /* success */,
40 media::MIDIPortInfoList /* input ports */,
41 media::MIDIPortInfoList /* output ports */)
42
43 IPC_MESSAGE_CONTROL3(MIDIMsg_DataReceived,
44 int /* port */,
45 std::vector<uint8> /* data */,
46 double /* timestamp */)
OLDNEW
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698