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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #ifndef TextTrackLoader_h | 26 #ifndef TextTrackLoader_h |
27 #define TextTrackLoader_h | 27 #define TextTrackLoader_h |
28 | 28 |
29 #include "core/fetch/RawResource.h" | 29 #include "core/fetch/RawResource.h" |
30 #include "core/fetch/ResourceOwner.h" | 30 #include "core/fetch/ResourceOwner.h" |
31 #include "core/html/track/vtt/VTTParser.h" | 31 #include "core/html/track/vtt/VTTParser.h" |
32 #include "platform/CrossOriginAttributeValue.h" | 32 #include "platform/CrossOriginAttributeValue.h" |
33 #include "platform/Timer.h" | 33 #include "platform/Timer.h" |
34 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
| 35 #include "wtf/OwnPtr.h" |
35 | 36 |
36 namespace blink { | 37 namespace blink { |
37 | 38 |
38 class Document; | 39 class Document; |
39 class TextTrackLoader; | 40 class TextTrackLoader; |
40 | 41 |
41 class TextTrackLoaderClient : public GarbageCollectedMixin { | 42 class TextTrackLoaderClient : public GarbageCollectedMixin { |
42 public: | 43 public: |
43 virtual ~TextTrackLoaderClient() {} | 44 virtual ~TextTrackLoaderClient() {} |
44 | 45 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 // FIXME: Remove this pointer and get the Document from m_client. | 91 // FIXME: Remove this pointer and get the Document from m_client. |
91 Member<Document> m_document; | 92 Member<Document> m_document; |
92 Timer<TextTrackLoader> m_cueLoadTimer; | 93 Timer<TextTrackLoader> m_cueLoadTimer; |
93 State m_state; | 94 State m_state; |
94 bool m_newCuesAvailable; | 95 bool m_newCuesAvailable; |
95 }; | 96 }; |
96 | 97 |
97 } // namespace blink | 98 } // namespace blink |
98 | 99 |
99 #endif | 100 #endif |
OLD | NEW |