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

Unified Diff: public/platform/WebMIDIAccessor.h

Issue 17155009: Web MIDI: MIDIAccessor platform implementation and Blink API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address post-land abarth comments Created 7 years, 6 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 | « public/platform/Platform.h ('k') | public/platform/WebMIDIAccessorClient.h » ('j') | 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 9426f572ccf876c8081c6044e134542408824068..2c5a3c04019cabdd6140fec820015ecd0075ab92 100644
--- a/public/platform/WebMIDIAccessor.h
+++ b/public/platform/WebMIDIAccessor.h
@@ -35,14 +35,12 @@
namespace WebKit {
-// Abstract interface to the Chromium MIDI system.
-
class WebMIDIAccessor {
public:
virtual ~WebMIDIAccessor() { }
- // |access| is set to 1 if MIDIOptions.sysexEnabled is true. Otherwise 0.
- virtual void requestAccess(int access) { }
+ // |access| is set to true if MIDIOptions.sysexEnabled is true. Otherwise false.
+ virtual void requestAccess(bool access) { }
// |timeStamp| is measured in milliseconds as Web MIDI spec defines.
virtual void sendMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStamp) { }
};
« no previous file with comments | « public/platform/Platform.h ('k') | public/platform/WebMIDIAccessorClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698