OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // http://webaudio.github.io/web-midi-api/#idl-def-MIDIMessageEventInit | 5 // http://webaudio.github.io/web-midi-api/#idl-def-MIDIMessageEventInit |
6 | 6 |
7 dictionary MIDIMessageEventInit : EventInit { | 7 dictionary MIDIMessageEventInit : EventInit { |
8 double receivedTime; | 8 double receivedTime; |
9 Uint8Array data; | 9 // TODO(foolip): |data| should be required and not nullable. |
| 10 // https://crbug.com/647693 |
| 11 // https://github.com/WebAudio/web-midi-api/issues/168 |
| 12 Uint8Array? data; |
10 }; | 13 }; |
OLD | NEW |