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" | |
36 | 35 |
37 namespace blink { | 36 namespace blink { |
38 | 37 |
39 class Document; | 38 class Document; |
40 class TextTrackLoader; | 39 class TextTrackLoader; |
41 | 40 |
42 class TextTrackLoaderClient : public GarbageCollectedMixin { | 41 class TextTrackLoaderClient : public GarbageCollectedMixin { |
43 public: | 42 public: |
44 virtual ~TextTrackLoaderClient() {} | 43 virtual ~TextTrackLoaderClient() {} |
45 | 44 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // FIXME: Remove this pointer and get the Document from m_client. | 90 // FIXME: Remove this pointer and get the Document from m_client. |
92 Member<Document> m_document; | 91 Member<Document> m_document; |
93 Timer<TextTrackLoader> m_cueLoadTimer; | 92 Timer<TextTrackLoader> m_cueLoadTimer; |
94 State m_state; | 93 State m_state; |
95 bool m_newCuesAvailable; | 94 bool m_newCuesAvailable; |
96 }; | 95 }; |
97 | 96 |
98 } // namespace blink | 97 } // namespace blink |
99 | 98 |
100 #endif | 99 #endif |
OLD | NEW |