| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef SourceBufferList_h | 31 #ifndef SourceBufferList_h |
| 32 #define SourceBufferList_h | 32 #define SourceBufferList_h |
| 33 | 33 |
| 34 #include "modules/EventTargetModules.h" | 34 #include "modules/EventTargetModules.h" |
| 35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
| 36 #include "wtf/Vector.h" | 36 #include "wtf/Vector.h" |
| 37 | 37 |
| 38 namespace WebCore { | 38 namespace blink { |
| 39 | 39 |
| 40 class SourceBuffer; | 40 class SourceBuffer; |
| 41 class GenericEventQueue; | 41 class GenericEventQueue; |
| 42 | 42 |
| 43 class SourceBufferList FINAL : public RefCountedGarbageCollectedWillBeGarbageCol
lectedFinalized<SourceBufferList>, public EventTargetWithInlineData { | 43 class SourceBufferList FINAL : public RefCountedGarbageCollectedWillBeGarbageCol
lectedFinalized<SourceBufferList>, public EventTargetWithInlineData { |
| 44 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<S
ourceBufferList>); | 44 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<S
ourceBufferList>); |
| 45 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SourceBufferList); | 45 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SourceBufferList); |
| 46 public: | 46 public: |
| 47 static SourceBufferList* create(ExecutionContext* context, GenericEventQueue
* asyncEventQueue) | 47 static SourceBufferList* create(ExecutionContext* context, GenericEventQueue
* asyncEventQueue) |
| 48 { | 48 { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 68 SourceBufferList(ExecutionContext*, GenericEventQueue*); | 68 SourceBufferList(ExecutionContext*, GenericEventQueue*); |
| 69 | 69 |
| 70 void scheduleEvent(const AtomicString&); | 70 void scheduleEvent(const AtomicString&); |
| 71 | 71 |
| 72 ExecutionContext* m_executionContext; | 72 ExecutionContext* m_executionContext; |
| 73 GenericEventQueue* m_asyncEventQueue; | 73 GenericEventQueue* m_asyncEventQueue; |
| 74 | 74 |
| 75 HeapVector<Member<SourceBuffer> > m_list; | 75 HeapVector<Member<SourceBuffer> > m_list; |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace WebCore | 78 } // namespace blink |
| 79 | 79 |
| 80 #endif | 80 #endif |
| OLD | NEW |