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

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

Issue 208243014: Add sysexEnabled readonly attribute to MIDIAccess (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
Index: Source/modules/webmidi/MIDIAccess.h
diff --git a/Source/modules/webmidi/MIDIAccess.h b/Source/modules/webmidi/MIDIAccess.h
index 9e09a9d23a84410d4e5c1a56f7593f81223d0d76..624ea83c74ad67344fa5bf09e2d933487b67f95e 100644
--- a/Source/modules/webmidi/MIDIAccess.h
+++ b/Source/modules/webmidi/MIDIAccess.h
@@ -64,8 +64,8 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(connect);
DEFINE_ATTRIBUTE_EVENT_LISTENER(disconnect);
- void setSysExEnabled(bool);
- bool sysExEnabled() const { return m_sysExEnabled; }
+ void setSysexEnabled(bool);
+ bool sysexEnabled() const { return m_sysexEnabled; }
Takashi Toyoshima 2014/03/24 11:38:10 s/sysEx/sysex/ in MIDIAccess. I'm not sure we shou
tkent 2014/03/24 11:52:38 It's up to you. I prefer renaming everything for c
// EventTarget
virtual const AtomicString& interfaceName() const OVERRIDE { return EventTargetNames::MIDIAccess; }
@@ -115,7 +115,7 @@ private:
OwnPtr<MIDIAccessor> m_accessor;
OwnPtr<MIDIAccessResolver> m_resolver;
MIDIOptions m_options;
- bool m_sysExEnabled;
+ bool m_sysexEnabled;
AsyncMethodRunner<MIDIAccess> m_asyncResolveRunner;
AsyncMethodRunner<MIDIAccess> m_asyncRejectRunner;
RefPtrWillBeMember<DOMError> m_error;

Powered by Google App Engine
This is Rietveld 408576698