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

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

Issue 14442004: Web MIDI: implement MIDIOutput (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NoInterfaceObject Created 7 years, 7 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 | « Source/modules/webmidi/MIDIOutput.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIOutput.idl
diff --git a/Source/core/html/ime/Composition.idl b/Source/modules/webmidi/MIDIOutput.idl
similarity index 89%
copy from Source/core/html/ime/Composition.idl
copy to Source/modules/webmidi/MIDIOutput.idl
index b873f1b2fe22566cc51dad8d478e77a8665912ab..a07ec6fccf0bcd3a4f1d69f4912ac9be3a8f2c10 100644
--- a/Source/core/html/ime/Composition.idl
+++ b/Source/modules/webmidi/MIDIOutput.idl
@@ -28,11 +28,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// http://www.w3.org/TR/ime-api/
[
- NoInterfaceObject,
- ImplementationLacksVTable
-] interface Composition {
- readonly attribute Node text;
- readonly attribute Range caret;
+ NoInterfaceObject
+] interface MIDIOutput : MIDIPort {
+ void send(Uint8Array data, optional double timestamp);
+ void send(sequence<unsigned long> data, optional double timestamp);
};
« no previous file with comments | « Source/modules/webmidi/MIDIOutput.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698