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

Side by Side Diff: media/midi/midi_manager_win.h

Issue 29793006: Enable WebMIDI for Windows behind the flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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
(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 #ifndef MEDIA_MIDI_MIDI_MANAGER_WIN_H_
6 #define MEDIA_MIDI_MIDI_MANAGER_WIN_H_
7
8 #include <vector>
9
10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "media/midi/midi_manager.h"
13
14 namespace media {
15
16 class MIDIManagerWin : public MIDIManager {
17 public:
18 MIDIManagerWin();
19 virtual ~MIDIManagerWin();
20
21 // MIDIManager implementation.
22 virtual bool Initialize() OVERRIDE;
23 virtual void SendMIDIData(MIDIManagerClient* client,
24 uint32 port_index,
25 const std::vector<uint8>& data,
26 double timestamp) OVERRIDE;
27
28 private:
29 class InPortInfo;
30 class OutPortInfo;
31 std::vector<scoped_ptr<InPortInfo> > in_ports_;
32 std::vector<scoped_ptr<OutPortInfo> > out_ports_;
33 DISALLOW_COPY_AND_ASSIGN(MIDIManagerWin);
34 };
35
36 } // namespace media
37
38 #endif // MEDIA_MIDI_MIDI_MANAGER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698