| Index: public/web/WebMIDIClient.h
|
| diff --git a/public/web/WebMIDIClient.h b/public/web/WebMIDIClient.h
|
| index 9435b938b2d04a428854e592da1fd7c353085b34..47b4e00e4350ff0baf52abc06d63b2a346b165d5 100644
|
| --- a/public/web/WebMIDIClient.h
|
| +++ b/public/web/WebMIDIClient.h
|
| @@ -39,9 +39,14 @@ public:
|
| virtual ~WebMIDIClient() { }
|
|
|
| // Request a permission to use system exclusive messages. Called when MIDIOptions.sysex is true.
|
| - virtual void requestSysExPermission(const WebMIDIPermissionRequest&) = 0;
|
| + // FIXME: Make following new functions pure virtual once Chromium implements them.
|
| + virtual void requestSysexPermission(const WebMIDIPermissionRequest&) { };
|
| // Cancel the request since the requesting frame may be moving to a new page.
|
| - virtual void cancelSysExPermissionRequest(const WebMIDIPermissionRequest&) = 0;
|
| + virtual void cancelSysexPermissionRequest(const WebMIDIPermissionRequest&) { };
|
| +
|
| + // FIXME: Remove following old functions once Chromium usess new functions.
|
| + virtual void requestSysExPermission(const WebMIDIPermissionRequest&) { };
|
| + virtual void cancelSysExPermissionRequest(const WebMIDIPermissionRequest&) { };
|
| };
|
|
|
| } // namespace blink
|
|
|