OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 [ | 26 [ |
27 GenerateVisitDOMWrapper=owner, | 27 GenerateVisitDOMWrapper=owner, |
28 RuntimeEnabled=VideoTrack, | 28 RuntimeEnabled=VideoTrack, |
29 ] interface TextTrackList : EventTarget { | 29 ] interface TextTrackList : EventTarget { |
30 readonly attribute unsigned long length; | 30 readonly attribute unsigned long length; |
31 getter TextTrack item(unsigned long index); | 31 getter TextTrack item(unsigned long index); |
32 TextTrack getTrackById(DOMString id); | 32 TextTrack getTrackById(DOMString id); |
33 | 33 |
34 attribute EventHandler onaddtrack; | 34 attribute EventHandler onaddtrack; |
| 35 attribute EventHandler onchange; |
| 36 attribute EventHandler onremovetrack; |
35 }; | 37 }; |
36 | 38 |
OLD | NEW |