| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google 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 18 matching lines...) Expand all Loading... |
| 29 Conditional=VIDEO_TRACK, | 29 Conditional=VIDEO_TRACK, |
| 30 V8EnabledAtRuntime=webkitVideoTrack, | 30 V8EnabledAtRuntime=webkitVideoTrack, |
| 31 EventTarget, | 31 EventTarget, |
| 32 JSCustomMarkFunction, | 32 JSCustomMarkFunction, |
| 33 JSCustomIsReachable | 33 JSCustomIsReachable |
| 34 ] TextTrack { | 34 ] TextTrack { |
| 35 readonly attribute DOMString kind; | 35 readonly attribute DOMString kind; |
| 36 readonly attribute DOMString label; | 36 readonly attribute DOMString label; |
| 37 readonly attribute DOMString language; | 37 readonly attribute DOMString language; |
| 38 | 38 |
| 39 const unsigned short DISABLED = 0; | 39 attribute DOMString mode; |
| 40 const unsigned short HIDDEN = 1; | |
| 41 const unsigned short SHOWING = 2; | |
| 42 attribute unsigned short mode | |
| 43 setter raises (DOMException); | |
| 44 | 40 |
| 45 readonly attribute TextTrackCueList cues; | 41 readonly attribute TextTrackCueList cues; |
| 46 readonly attribute TextTrackCueList activeCues; | 42 readonly attribute TextTrackCueList activeCues; |
| 47 attribute EventListener oncuechange; | 43 attribute EventListener oncuechange; |
| 48 | 44 |
| 49 void addCue(in TextTrackCue cue) | 45 void addCue(in TextTrackCue cue) |
| 50 raises (DOMException); | 46 raises (DOMException); |
| 51 void removeCue(in TextTrackCue cue) | 47 void removeCue(in TextTrackCue cue) |
| 52 raises (DOMException); | 48 raises (DOMException); |
| 53 | 49 |
| 54 // EventTarget interface | 50 // EventTarget interface |
| 55 void addEventListener(in DOMString type, | 51 void addEventListener(in DOMString type, |
| 56 in EventListener listener, | 52 in EventListener listener, |
| 57 in [Optional] boolean useCapture); | 53 in [Optional] boolean useCapture); |
| 58 void removeEventListener(in DOMString type, | 54 void removeEventListener(in DOMString type, |
| 59 in EventListener listener, | 55 in EventListener listener, |
| 60 in [Optional] boolean useCapture); | 56 in [Optional] boolean useCapture); |
| 61 boolean dispatchEvent(in Event evt) | 57 boolean dispatchEvent(in Event evt) |
| 62 raises(EventException); | 58 raises(EventException); |
| 63 }; | 59 }; |
| 64 } | 60 } |
| OLD | NEW |