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

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

Issue 943173002: Web MIDI: dispatch MIDIConnectionEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review #3 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/MIDIMessageEvent.cpp ('k') | Source/modules/webmidi/MIDIPort.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIPort.h
diff --git a/Source/modules/webmidi/MIDIPort.h b/Source/modules/webmidi/MIDIPort.h
index be3e25959f30a5ccb01c07f03a8b201ac8484854..0be01cf357683ab2947551c3b7a0bdb93e48114a 100644
--- a/Source/modules/webmidi/MIDIPort.h
+++ b/Source/modules/webmidi/MIDIPort.h
@@ -57,11 +57,11 @@ public:
MIDIAccess* midiAccess() const { return m_access; }
bool isActive() const { return m_isActive; }
- void setActiveState(bool isActive) { m_isActive = isActive; }
+ void setActiveState(bool isActive);
DECLARE_VIRTUAL_TRACE();
- DEFINE_ATTRIBUTE_EVENT_LISTENER(disconnect);
+ DEFINE_ATTRIBUTE_EVENT_LISTENER(statechange);
// EventTarget
virtual const AtomicString& interfaceName() const override { return EventTargetNames::MIDIPort; }
« no previous file with comments | « Source/modules/webmidi/MIDIMessageEvent.cpp ('k') | Source/modules/webmidi/MIDIPort.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698