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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 class DOMArrayBuffer; | 47 class DOMArrayBuffer; |
48 class DOMArrayBufferView; | 48 class DOMArrayBufferView; |
49 class ExceptionState; | 49 class ExceptionState; |
50 class GenericEventQueue; | 50 class GenericEventQueue; |
51 class MediaSource; | 51 class MediaSource; |
52 class TimeRanges; | 52 class TimeRanges; |
53 class VideoTrackList; | 53 class VideoTrackList; |
54 class WebSourceBuffer; | 54 class WebSourceBuffer; |
55 | 55 |
56 class SourceBuffer final : public EventTargetWithInlineData, | 56 class SourceBuffer final : public EventTargetWithInlineData, |
57 public ActiveScriptWrappable, | 57 public ActiveScriptWrappable<SourceBuffer>, |
58 public SuspendableObject, | 58 public SuspendableObject, |
59 public WebSourceBufferClient { | 59 public WebSourceBufferClient { |
60 USING_GARBAGE_COLLECTED_MIXIN(SourceBuffer); | 60 USING_GARBAGE_COLLECTED_MIXIN(SourceBuffer); |
61 DEFINE_WRAPPERTYPEINFO(); | 61 DEFINE_WRAPPERTYPEINFO(); |
62 USING_PRE_FINALIZER(SourceBuffer, dispose); | 62 USING_PRE_FINALIZER(SourceBuffer, dispose); |
63 | 63 |
64 public: | 64 public: |
65 static SourceBuffer* create(std::unique_ptr<WebSourceBuffer>, | 65 static SourceBuffer* create(std::unique_ptr<WebSourceBuffer>, |
66 MediaSource*, | 66 MediaSource*, |
67 GenericEventQueue*); | 67 GenericEventQueue*); |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 Member<AsyncMethodRunner<SourceBuffer>> m_appendBufferAsyncPartRunner; | 168 Member<AsyncMethodRunner<SourceBuffer>> m_appendBufferAsyncPartRunner; |
169 | 169 |
170 double m_pendingRemoveStart; | 170 double m_pendingRemoveStart; |
171 double m_pendingRemoveEnd; | 171 double m_pendingRemoveEnd; |
172 Member<AsyncMethodRunner<SourceBuffer>> m_removeAsyncPartRunner; | 172 Member<AsyncMethodRunner<SourceBuffer>> m_removeAsyncPartRunner; |
173 }; | 173 }; |
174 | 174 |
175 } // namespace blink | 175 } // namespace blink |
176 | 176 |
177 #endif // SourceBuffer_h | 177 #endif // SourceBuffer_h |
OLD | NEW |