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

Unified Diff: Source/modules/webmidi/MIDIOutput.idl

Issue 14442004: Web MIDI: implement MIDIOutput (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: cleanup2 Created 7 years, 8 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/MIDIOutput.idl
diff --git a/Source/modules/quota/StorageQuotaCallback.idl b/Source/modules/webmidi/MIDIOutput.idl
similarity index 90%
copy from Source/modules/quota/StorageQuotaCallback.idl
copy to Source/modules/webmidi/MIDIOutput.idl
index 8cd2df72a2034d4ec6642554f59c5834d0516216..6fdb1e8043f524e6e9a6ae42459ecfdc367c318a 100644
--- a/Source/modules/quota/StorageQuotaCallback.idl
+++ b/Source/modules/webmidi/MIDIOutput.idl
@@ -28,6 +28,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-callback interface StorageQuotaCallback {
- boolean handleEvent(unsigned long long grantedQuotaInBytes);
+interface MIDIOutput : MIDIPort {
+ void send(Uint8Array data, optional double timestamp);
+ void send(sequence<unsigned long> data, optional double timestamp);
};
« Source/modules/webmidi/MIDIOutput.cpp ('K') | « Source/modules/webmidi/MIDIOutput.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698