| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 void setReadinessState(ReadinessState state) { m_readinessState = state; } | 92 void setReadinessState(ReadinessState state) { m_readinessState = state; } |
| 93 | 93 |
| 94 TextTrackCueList* cues(); | 94 TextTrackCueList* cues(); |
| 95 TextTrackCueList* activeCues() const; | 95 TextTrackCueList* activeCues() const; |
| 96 | 96 |
| 97 void clearClient() { m_client = 0; } | 97 void clearClient() { m_client = 0; } |
| 98 TextTrackClient* client() { return m_client; } | 98 TextTrackClient* client() { return m_client; } |
| 99 | 99 |
| 100 void addCue(PassRefPtr<TextTrackCue>); | 100 void addCue(PassRefPtr<TextTrackCue>); |
| 101 void removeCue(TextTrackCue*, ExceptionState&); | 101 void removeCue(TextTrackCue*, ExceptionState&); |
| 102 bool hasCue(TextTrackCue*); | |
| 103 | 102 |
| 104 VTTRegionList* regions(); | 103 VTTRegionList* regions(); |
| 105 void addRegion(PassRefPtr<VTTRegion>); | 104 void addRegion(PassRefPtr<VTTRegion>); |
| 106 void removeRegion(VTTRegion*, ExceptionState&); | 105 void removeRegion(VTTRegion*, ExceptionState&); |
| 107 | 106 |
| 108 void cueWillChange(TextTrackCue*); | 107 void cueWillChange(TextTrackCue*); |
| 109 void cueDidChange(TextTrackCue*); | 108 void cueDidChange(TextTrackCue*); |
| 110 | 109 |
| 111 DEFINE_ATTRIBUTE_EVENT_LISTENER(cuechange); | 110 DEFINE_ATTRIBUTE_EVENT_LISTENER(cuechange); |
| 112 | 111 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 TextTrackType m_trackType; | 155 TextTrackType m_trackType; |
| 157 ReadinessState m_readinessState; | 156 ReadinessState m_readinessState; |
| 158 int m_trackIndex; | 157 int m_trackIndex; |
| 159 int m_renderedTrackIndex; | 158 int m_renderedTrackIndex; |
| 160 bool m_hasBeenConfigured; | 159 bool m_hasBeenConfigured; |
| 161 }; | 160 }; |
| 162 | 161 |
| 163 } // namespace WebCore | 162 } // namespace WebCore |
| 164 | 163 |
| 165 #endif | 164 #endif |
| OLD | NEW |