| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 void setLabel(const AtomicString& label) { m_label = label; } | 78 void setLabel(const AtomicString& label) { m_label = label; } |
| 79 | 79 |
| 80 AtomicString language() const { return m_language; } | 80 AtomicString language() const { return m_language; } |
| 81 void setLanguage(const AtomicString& language) { m_language = language; } | 81 void setLanguage(const AtomicString& language) { m_language = language; } |
| 82 | 82 |
| 83 static const AtomicString& disabledKeyword(); | 83 static const AtomicString& disabledKeyword(); |
| 84 static const AtomicString& hiddenKeyword(); | 84 static const AtomicString& hiddenKeyword(); |
| 85 static const AtomicString& showingKeyword(); | 85 static const AtomicString& showingKeyword(); |
| 86 | 86 |
| 87 AtomicString mode() const { return m_mode; } | 87 AtomicString mode() const { return m_mode; } |
| 88 virtual void setMode(const AtomicString&); | 88 void setMode(const AtomicString&); |
| 89 | 89 |
| 90 enum ReadinessState { NotLoaded = 0, Loading = 1, Loaded = 2, FailedToLoad =
3 }; | 90 enum ReadinessState { NotLoaded = 0, Loading = 1, Loaded = 2, FailedToLoad =
3 }; |
| 91 ReadinessState readinessState() const { return m_readinessState; } | 91 ReadinessState readinessState() const { return m_readinessState; } |
| 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; } |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 TextTrackType m_trackType; | 156 TextTrackType m_trackType; |
| 157 ReadinessState m_readinessState; | 157 ReadinessState m_readinessState; |
| 158 int m_trackIndex; | 158 int m_trackIndex; |
| 159 int m_renderedTrackIndex; | 159 int m_renderedTrackIndex; |
| 160 bool m_hasBeenConfigured; | 160 bool m_hasBeenConfigured; |
| 161 }; | 161 }; |
| 162 | 162 |
| 163 } // namespace WebCore | 163 } // namespace WebCore |
| 164 | 164 |
| 165 #endif | 165 #endif |
| OLD | NEW |