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

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

Issue 642623005: [WebMIDI] Remove not needed CancelPermission IPC message. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for access to MIDI hardware. 5 // IPC messages for access to MIDI hardware.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 16 matching lines...) Expand all
27 IPC_ENUM_TRAITS_MAX_VALUE(media::MidiResult, media::MIDI_RESULT_LAST) 27 IPC_ENUM_TRAITS_MAX_VALUE(media::MidiResult, media::MIDI_RESULT_LAST)
28 28
29 // Messages for IPC between MidiDispatcher and MidiDispatcherHost. 29 // Messages for IPC between MidiDispatcher and MidiDispatcherHost.
30 30
31 // Renderer request to browser for using system exclusive messages. 31 // Renderer request to browser for using system exclusive messages.
32 IPC_MESSAGE_ROUTED3(MidiHostMsg_RequestSysExPermission, 32 IPC_MESSAGE_ROUTED3(MidiHostMsg_RequestSysExPermission,
33 int /* client id */, 33 int /* client id */,
34 GURL /* origin */, 34 GURL /* origin */,
35 bool /* user_gesture */) 35 bool /* user_gesture */)
36 36
37 // Renderer request to browser for canceling a previous permission request.
38 IPC_MESSAGE_ROUTED2(MidiHostMsg_CancelSysExPermissionRequest,
39 int /* bridge_id */,
40 GURL /* GURL of the frame */)
41
42 // Messages sent from the browser to the renderer. 37 // Messages sent from the browser to the renderer.
43 38
44 IPC_MESSAGE_ROUTED2(MidiMsg_SysExPermissionApproved, 39 IPC_MESSAGE_ROUTED2(MidiMsg_SysExPermissionApproved,
45 int /* client id */, 40 int /* client id */,
46 bool /* is_allowed */) 41 bool /* is_allowed */)
47 42
48 // Messages for IPC between MidiMessageFilter and MidiHost. 43 // Messages for IPC between MidiMessageFilter and MidiHost.
49 44
50 // Renderer request to browser for access to MIDI services. 45 // Renderer request to browser for access to MIDI services.
51 IPC_MESSAGE_CONTROL1(MidiHostMsg_StartSession, 46 IPC_MESSAGE_CONTROL1(MidiHostMsg_StartSession,
(...skipping 12 matching lines...) Expand all
64 media::MidiPortInfoList /* input ports */, 59 media::MidiPortInfoList /* input ports */,
65 media::MidiPortInfoList /* output ports */) 60 media::MidiPortInfoList /* output ports */)
66 61
67 IPC_MESSAGE_CONTROL3(MidiMsg_DataReceived, 62 IPC_MESSAGE_CONTROL3(MidiMsg_DataReceived,
68 uint32 /* port */, 63 uint32 /* port */,
69 std::vector<uint8> /* data */, 64 std::vector<uint8> /* data */,
70 double /* timestamp */) 65 double /* timestamp */)
71 66
72 IPC_MESSAGE_CONTROL1(MidiMsg_AcknowledgeSentData, 67 IPC_MESSAGE_CONTROL1(MidiMsg_AcknowledgeSentData,
73 uint32 /* bytes sent */) 68 uint32 /* bytes sent */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698