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

Unified Diff: Source/modules/webmidi/MIDIOutput.h

Issue 962523005: Web MIDI: add open() and close() to MIDIPort (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review #14 Created 5 years, 10 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 | « Source/modules/webmidi/MIDIInput.cpp ('k') | Source/modules/webmidi/MIDIOutput.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIOutput.h
diff --git a/Source/modules/webmidi/MIDIOutput.h b/Source/modules/webmidi/MIDIOutput.h
index a8a60c1935842caf0aefb16c6ee73368efe7406a..26e73ed3dce4677aff5e0c5758404b83bf3aee54 100644
--- a/Source/modules/webmidi/MIDIOutput.h
+++ b/Source/modules/webmidi/MIDIOutput.h
@@ -42,8 +42,8 @@ class MIDIAccess;
class MIDIOutput final : public MIDIPort {
DEFINE_WRAPPERTYPEINFO();
public:
- static MIDIOutput* create(MIDIAccess*, unsigned portIndex, const String& id, const String& manufacturer, const String& name, const String& version, bool isActive);
- virtual ~MIDIOutput();
+ static MIDIOutput* create(MIDIAccess*, unsigned portIndex, const String& id, const String& manufacturer, const String& name, const String& version, MIDIAccessor::MIDIPortState);
+ ~MIDIOutput() override;
void send(DOMUint8Array*, double timestamp, ExceptionState&);
void send(Vector<unsigned>, double timestamp, ExceptionState&);
@@ -55,7 +55,7 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- MIDIOutput(MIDIAccess*, unsigned portIndex, const String& id, const String& manufacturer, const String& name, const String& version, bool isActive);
+ MIDIOutput(MIDIAccess*, unsigned portIndex, const String& id, const String& manufacturer, const String& name, const String& version, MIDIAccessor::MIDIPortState);
unsigned m_portIndex;
};
« no previous file with comments | « Source/modules/webmidi/MIDIInput.cpp ('k') | Source/modules/webmidi/MIDIOutput.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698