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

Unified Diff: public/platform/WebMIDIAccessor.h

Issue 1327993003: Web MIDI: update blink API for open(), clear(), and close() backends (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebMIDIAccessor.h
diff --git a/public/platform/WebMIDIAccessor.h b/public/platform/WebMIDIAccessor.h
index ace32ed8826490ef534b8e439e22e974ac4a7f49..a31cfda7c842b869a9ed1767cbf6ceff4a3660c2 100644
--- a/public/platform/WebMIDIAccessor.h
+++ b/public/platform/WebMIDIAccessor.h
@@ -40,8 +40,11 @@ public:
virtual ~WebMIDIAccessor() { }
virtual void startSession() { }
+ virtual void open(unsigned portIndex) { }
// |timeStamp| is measured in milliseconds as Web MIDI spec defines.
virtual void sendMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStamp) { }
+ virtual void clear(unsigned portIndex) { }
+ virtual void close(unsigned portIndex) { }
};
} // namespace blink
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698