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

Unified Diff: content/common/media/midi_messages.h

Issue 1086073004: Web MIDI: namespace change from media to media::midi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@null
Patch Set: (rebase) Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/media/midi_host_unittest.cc ('k') | content/renderer/media/midi_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/media/midi_messages.h
diff --git a/content/common/media/midi_messages.h b/content/common/media/midi_messages.h
index 6147c8ae49f2ded19839e73ce310f5445a9c0886..67500f60b68437fcfd7ee24700350e8937dca36f 100644
--- a/content/common/media/midi_messages.h
+++ b/content/common/media/midi_messages.h
@@ -17,10 +17,10 @@
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START MidiMsgStart
-IPC_ENUM_TRAITS_MAX_VALUE(media::MidiPortState,
- media::MIDI_PORT_STATE_LAST)
+IPC_ENUM_TRAITS_MAX_VALUE(media::midi::MidiPortState,
+ media::midi::MIDI_PORT_STATE_LAST)
-IPC_STRUCT_TRAITS_BEGIN(media::MidiPortInfo)
+IPC_STRUCT_TRAITS_BEGIN(media::midi::MidiPortInfo)
IPC_STRUCT_TRAITS_MEMBER(id)
IPC_STRUCT_TRAITS_MEMBER(manufacturer)
IPC_STRUCT_TRAITS_MEMBER(name)
@@ -28,7 +28,8 @@ IPC_STRUCT_TRAITS_BEGIN(media::MidiPortInfo)
IPC_STRUCT_TRAITS_MEMBER(state)
IPC_STRUCT_TRAITS_END()
-IPC_ENUM_TRAITS_MAX_VALUE(media::MidiResult, media::MIDI_RESULT_LAST)
+IPC_ENUM_TRAITS_MAX_VALUE(media::midi::MidiResult,
+ media::midi::MIDI_RESULT_LAST)
// Messages for IPC between MidiMessageFilter and MidiHost.
@@ -45,21 +46,21 @@ IPC_MESSAGE_CONTROL0(MidiHostMsg_EndSession)
// Messages sent from the browser to the renderer.
IPC_MESSAGE_CONTROL1(MidiMsg_AddInputPort,
- media::MidiPortInfo /* input port */)
+ media::midi::MidiPortInfo /* input port */)
IPC_MESSAGE_CONTROL1(MidiMsg_AddOutputPort,
- media::MidiPortInfo /* output port */)
+ media::midi::MidiPortInfo /* output port */)
IPC_MESSAGE_CONTROL2(MidiMsg_SetInputPortState,
uint32 /* port */,
- media::MidiPortState /* state */)
+ media::midi::MidiPortState /* state */)
IPC_MESSAGE_CONTROL2(MidiMsg_SetOutputPortState,
uint32 /* port */,
- media::MidiPortState /* state */)
+ media::midi::MidiPortState /* state */)
IPC_MESSAGE_CONTROL1(MidiMsg_SessionStarted,
- media::MidiResult /* result */)
+ media::midi::MidiResult /* result */)
IPC_MESSAGE_CONTROL3(MidiMsg_DataReceived,
uint32 /* port */,
« no previous file with comments | « content/browser/media/midi_host_unittest.cc ('k') | content/renderer/media/midi_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698