Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // callback ForEachCallback = void(DOMString id, MIDIOutput port); | |
|
haraken
2014/08/31 07:18:57
Add a FIXME about this.
yhirano
2014/09/01 02:22:11
Done.
| |
| 6 | |
| 7 [ | |
| 8 Iterable, | |
| 9 NoInterfaceObject, | |
| 10 GarbageCollected, | |
| 11 ] interface MIDIOutputMap { | |
| 12 readonly attribute unsigned long size; | |
| 13 Iterator keys(); | |
| 14 Iterator entries(); | |
| 15 Iterator values(); | |
| 16 // This function returns undefined if |!this->has(id)|. | |
| 17 [ImplementedAs=getForBinding, CallWith=ScriptState] any get(DOMString id); | |
| 18 boolean has(DOMString key); | |
| 19 // void forEach (ForEachCallback callback); | |
| 20 }; | |
| OLD | NEW |