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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 setter raises (DOMException); | 50 setter raises (DOMException); |
51 attribute long position | 51 attribute long position |
52 setter raises (DOMException); | 52 setter raises (DOMException); |
53 attribute long size | 53 attribute long size |
54 setter raises (DOMException); | 54 setter raises (DOMException); |
55 attribute DOMString align | 55 attribute DOMString align |
56 setter raises (DOMException); | 56 setter raises (DOMException); |
57 | 57 |
58 attribute DOMString text; | 58 attribute DOMString text; |
59 DocumentFragment getCueAsHTML(); | 59 DocumentFragment getCueAsHTML(); |
60 | 60 |
61 attribute EventListener onenter; | 61 attribute EventListener onenter; |
62 attribute EventListener onexit; | 62 attribute EventListener onexit; |
63 | 63 |
64 // EventTarget interface | 64 // EventTarget interface |
65 void addEventListener(in DOMString type, | 65 void addEventListener(in DOMString type, |
66 in EventListener listener, | 66 in EventListener listener, |
67 in [Optional] boolean useCapture); | 67 in [Optional] boolean useCapture); |
68 void removeEventListener(in DOMString type, | 68 void removeEventListener(in DOMString type, |
69 in EventListener listener, | 69 in EventListener listener, |
70 in [Optional] boolean useCapture); | 70 in [Optional] boolean useCapture); |
71 boolean dispatchEvent(in Event evt) | 71 boolean dispatchEvent(in Event evt) |
72 raises(EventException); | 72 raises(EventException); |
| 73 |
| 74 #if defined(ENABLE_WEBVTT_REGIONS) && ENABLE_WEBVTT_REGIONS |
| 75 attribute DOMString regionId; |
| 76 #endif |
73 }; | 77 }; |
74 | 78 |
OLD | NEW |