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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 class ExceptionState; | 46 class ExceptionState; |
47 class GenericEventQueue; | 47 class GenericEventQueue; |
48 class WebSourceBuffer; | 48 class WebSourceBuffer; |
49 | 49 |
50 class MediaSource FINAL | 50 class MediaSource FINAL |
51 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<MediaSour
ce> | 51 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<MediaSour
ce> |
52 , public HTMLMediaSource | 52 , public HTMLMediaSource |
53 , public ActiveDOMObject | 53 , public ActiveDOMObject |
54 , public EventTargetWithInlineData { | 54 , public EventTargetWithInlineData { |
55 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<M
ediaSource>); | 55 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<M
ediaSource>); |
| 56 DEFINE_WRAPPERTYPEINFO(); |
56 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaSource); | 57 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaSource); |
57 public: | 58 public: |
58 static const AtomicString& openKeyword(); | 59 static const AtomicString& openKeyword(); |
59 static const AtomicString& closedKeyword(); | 60 static const AtomicString& closedKeyword(); |
60 static const AtomicString& endedKeyword(); | 61 static const AtomicString& endedKeyword(); |
61 | 62 |
62 static MediaSource* create(ExecutionContext*); | 63 static MediaSource* create(ExecutionContext*); |
63 virtual ~MediaSource(); | 64 virtual ~MediaSource(); |
64 | 65 |
65 // MediaSource.idl methods | 66 // MediaSource.idl methods |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 RawPtrWillBeWeakMember<HTMLMediaElement> m_attachedElement; | 130 RawPtrWillBeWeakMember<HTMLMediaElement> m_attachedElement; |
130 | 131 |
131 Member<SourceBufferList> m_sourceBuffers; | 132 Member<SourceBufferList> m_sourceBuffers; |
132 Member<SourceBufferList> m_activeSourceBuffers; | 133 Member<SourceBufferList> m_activeSourceBuffers; |
133 | 134 |
134 bool m_isAddedToRegistry; | 135 bool m_isAddedToRegistry; |
135 }; | 136 }; |
136 | 137 |
137 } // namespace blink | 138 } // namespace blink |
138 | 139 |
139 #endif | 140 #endif // MediaSource_h |
OLD | NEW |