summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/modules/webmidi/MIDIAccess.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/Source/modules/webmidi/MIDIAccess.h')
-rw-r--r--third_party/WebKit/Source/modules/webmidi/MIDIAccess.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIAccess.h b/third_party/WebKit/Source/modules/webmidi/MIDIAccess.h
index d0a286c..615e9e4 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIAccess.h
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIAccess.h
@@ -61,8 +61,7 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(connect);
DEFINE_ATTRIBUTE_EVENT_LISTENER(disconnect);
- void setSysExEnabled(bool);
- bool sysExEnabled() const { return m_sysExEnabled; }
+ void enableSysEx(bool enable);
// EventTarget
virtual const AtomicString& interfaceName() const OVERRIDE { return eventNames().interfaceForMIDIAccess; }
@@ -78,9 +77,6 @@ public:
virtual void didStartSession() OVERRIDE;
virtual void didReceiveMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStamp) OVERRIDE;
- // |timeStampInMilliseconds| is in the same time coordinate system as performance.now().
- void sendMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStampInMilliseconds);
-
private:
explicit MIDIAccess(ScriptExecutionContext*, MIDIAccessPromise*);
@@ -100,7 +96,7 @@ private:
OwnPtr<MIDIAccessor> m_accessor;
bool m_hasAccess;
- bool m_sysExEnabled;
+ bool m_enableSysEx;
bool m_requesting;
};