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

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

Issue 14520002: Web MIDI: implement MIDIInput (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/MIDIInput.idl
diff --git a/Source/modules/quota/StorageQuotaCallback.idl b/Source/modules/webmidi/MIDIInput.idl
similarity index 93%
copy from Source/modules/quota/StorageQuotaCallback.idl
copy to Source/modules/webmidi/MIDIInput.idl
index 8cd2df72a2034d4ec6642554f59c5834d0516216..125588d91e75ecc2306fa8ef3f5f4c4d1681d02c 100644
--- a/Source/modules/quota/StorageQuotaCallback.idl
+++ b/Source/modules/webmidi/MIDIInput.idl
@@ -28,6 +28,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-callback interface StorageQuotaCallback {
- boolean handleEvent(unsigned long long grantedQuotaInBytes);
+[
+ ActiveDOMObject,
+ EventTarget
+] interface MIDIInput : MIDIPort {
+ attribute EventListener onmessage;
Chris Rogers 2013/04/26 19:55:39 Chris Wilson has told me that the name should be "
Takashi Toyoshima 2013/05/02 08:55:25 Done.
};
« Source/modules/webmidi/MIDIInput.cpp ('K') | « Source/modules/webmidi/MIDIInput.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698