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

Unified Diff: public/platform/WebMIDIAccessor.h

Issue 18260005: Web MIDI: remove old platform API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@midi_permission_request
Patch Set: (rebase) Created 7 years, 5 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: public/platform/WebMIDIAccessor.h
diff --git a/public/platform/WebMIDIAccessor.h b/public/platform/WebMIDIAccessor.h
index 59eeb30d8a9f91ac705576d73f338fa853ffc4d3..71aba260a77ed58e7eb6d168429628430aafd97c 100644
--- a/public/platform/WebMIDIAccessor.h
+++ b/public/platform/WebMIDIAccessor.h
@@ -40,10 +40,6 @@ public:
virtual ~WebMIDIAccessor() { }
virtual void startSession() { }
-
- // FIXME: Remove this obsoleted API. Now access permission is handled though the WebMIDIClient API.
- // |access| is set to true if MIDIOptions.sysex 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 | « Tools/DumpRenderTree/chromium/TestRunner/src/MockWebMIDIAccessor.cpp ('k') | public/platform/WebMIDIAccessorClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698