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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 virtual void fileFailedToParse() OVERRIDE; | 79 virtual void fileFailedToParse() OVERRIDE; |
80 | 80 |
81 TextTrackLoader(TextTrackLoaderClient*, Document&); | 81 TextTrackLoader(TextTrackLoaderClient*, Document&); |
82 | 82 |
83 void processNewCueData(Resource*); | 83 void processNewCueData(Resource*); |
84 void cueLoadTimerFired(Timer<TextTrackLoader>*); | 84 void cueLoadTimerFired(Timer<TextTrackLoader>*); |
85 void corsPolicyPreventedLoad(); | 85 void corsPolicyPreventedLoad(); |
86 | 86 |
87 TextTrackLoaderClient* m_client; | 87 TextTrackLoaderClient* m_client; |
88 OwnPtr<WebVTTParser> m_cueParser; | 88 OwnPtr<WebVTTParser> m_cueParser; |
89 ResourcePtr<TextTrackResource> m_cachedCueData; | 89 ResourcePtr<TextTrackResource> m_resource; |
90 // FIXME: Remove this pointer and get the Document from m_client. | 90 // FIXME: Remove this pointer and get the Document from m_client. |
91 Document& m_document; | 91 Document& m_document; |
92 Timer<TextTrackLoader> m_cueLoadTimer; | 92 Timer<TextTrackLoader> m_cueLoadTimer; |
93 String m_crossOriginMode; | 93 String m_crossOriginMode; |
94 State m_state; | 94 State m_state; |
95 unsigned m_parseOffset; | 95 unsigned m_parseOffset; |
96 bool m_newCuesAvailable; | 96 bool m_newCuesAvailable; |
97 }; | 97 }; |
98 | 98 |
99 } // namespace WebCore | 99 } // namespace WebCore |
100 | 100 |
101 #endif | 101 #endif |
OLD | NEW |