| OLD | NEW | 
|---|
| (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 */) | 
| OLD | NEW | 
|---|