diff options
author | crogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-22 01:49:39 +0000 |
---|---|---|
committer | crogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-22 01:49:39 +0000 |
commit | e1848157f1024d4c01f1dcbb009dcbc3913f230d (patch) | |
tree | 678f49e10d7bf6c1442b6729a052d20b384c8c1c /content/common/media/midi_messages.h | |
parent | a80773bb263a9706cc8ee4e3f336d2d3d28fadd8 (diff) | |
download | chromium_src-e1848157f1024d4c01f1dcbb009dcbc3913f230d.zip chromium_src-e1848157f1024d4c01f1dcbb009dcbc3913f230d.tar.gz chromium_src-e1848157f1024d4c01f1dcbb009dcbc3913f230d.tar.bz2 |
Revert 207983 "Implement Web MIDI API back-end"
> Implement Web MIDI API back-end
>
> This involves browser-side support and IPC for sending and receiving
> MIDI messages. Initially support for OSX is included.
>
> BUG=163795
> R=palmer@chromium.org, piman@chromium.org, scherkus@chromium.org
>
> Review URL: https://codereview.chromium.org/16025005
TBR=crogers@google.com
Review URL: https://codereview.chromium.org/17334006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207989 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/media/midi_messages.h')
-rw-r--r-- | content/common/media/midi_messages.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/content/common/media/midi_messages.h b/content/common/media/midi_messages.h deleted file mode 100644 index de3cca6..0000000 --- a/content/common/media/midi_messages.h +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) 2013 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// IPC messages for access to MIDI hardware. -// Multiply-included message file, hence no include guard. - -#include "base/basictypes.h" -#include "content/common/content_export.h" -#include "ipc/ipc_message_macros.h" -#include "media/midi/midi_port_info.h" - -#undef IPC_MESSAGE_EXPORT -#define IPC_MESSAGE_EXPORT CONTENT_EXPORT -#define IPC_MESSAGE_START MIDIMsgStart - -IPC_STRUCT_TRAITS_BEGIN(media::MIDIPortInfo) - IPC_STRUCT_TRAITS_MEMBER(id) - IPC_STRUCT_TRAITS_MEMBER(manufacturer) - IPC_STRUCT_TRAITS_MEMBER(name) - IPC_STRUCT_TRAITS_MEMBER(version) -IPC_STRUCT_TRAITS_END() - -// Renderer request to browser for access to MIDI services. -IPC_MESSAGE_CONTROL2(MIDIHostMsg_RequestAccess, - int /* client id */, - int /* access */) - -IPC_MESSAGE_CONTROL3(MIDIHostMsg_SendData, - int /* port */, - std::vector<uint8> /* data */, - double /* timestamp */) - -// Messages sent from the browser to the renderer. - -IPC_MESSAGE_CONTROL5(MIDIMsg_AccessApproved, - int /* client id */, - int /* access */, - bool /* success */, - media::MIDIPortInfoList /* input ports */, - media::MIDIPortInfoList /* output ports */) - -IPC_MESSAGE_CONTROL3(MIDIMsg_DataReceived, - int /* port */, - std::vector<uint8> /* data */, - double /* timestamp */) |