| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 class ExceptionState; | 50 class ExceptionState; |
| 51 class FileReaderLoader; | 51 class FileReaderLoader; |
| 52 class GenericEventQueue; | 52 class GenericEventQueue; |
| 53 class MediaSource; | 53 class MediaSource; |
| 54 class Stream; | 54 class Stream; |
| 55 class TimeRanges; | 55 class TimeRanges; |
| 56 class VideoTrackList; | 56 class VideoTrackList; |
| 57 class WebSourceBuffer; | 57 class WebSourceBuffer; |
| 58 | 58 |
| 59 class SourceBuffer final | 59 class SourceBuffer final |
| 60 : public RefCountedGarbageCollectedEventTargetWithInlineData<SourceBuffer> | 60 : public EventTargetWithInlineData |
| 61 , public ActiveScriptWrappable | 61 , public ActiveScriptWrappable |
| 62 , public ActiveDOMObject | 62 , public ActiveDOMObject |
| 63 , public FileReaderLoaderClient | 63 , public FileReaderLoaderClient |
| 64 , public WebSourceBufferClient { | 64 , public WebSourceBufferClient { |
| 65 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(SourceBuffer); | 65 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(SourceBuffer); |
| 66 USING_GARBAGE_COLLECTED_MIXIN(SourceBuffer); | 66 USING_GARBAGE_COLLECTED_MIXIN(SourceBuffer); |
| 67 DEFINE_WRAPPERTYPEINFO(); | 67 DEFINE_WRAPPERTYPEINFO(); |
| 68 USING_PRE_FINALIZER(SourceBuffer, dispose); | 68 USING_PRE_FINALIZER(SourceBuffer, dispose); |
| 69 public: | 69 public: |
| 70 static SourceBuffer* create(PassOwnPtr<WebSourceBuffer>, MediaSource*, Gener
icEventQueue*); | 70 static SourceBuffer* create(PassOwnPtr<WebSourceBuffer>, MediaSource*, Gener
icEventQueue*); |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 bool m_streamMaxSizeValid; | 167 bool m_streamMaxSizeValid; |
| 168 unsigned long long m_streamMaxSize; | 168 unsigned long long m_streamMaxSize; |
| 169 Member<AsyncMethodRunner<SourceBuffer>> m_appendStreamAsyncPartRunner; | 169 Member<AsyncMethodRunner<SourceBuffer>> m_appendStreamAsyncPartRunner; |
| 170 Member<Stream> m_stream; | 170 Member<Stream> m_stream; |
| 171 OwnPtr<FileReaderLoader> m_loader; | 171 OwnPtr<FileReaderLoader> m_loader; |
| 172 }; | 172 }; |
| 173 | 173 |
| 174 } // namespace blink | 174 } // namespace blink |
| 175 | 175 |
| 176 #endif // SourceBuffer_h | 176 #endif // SourceBuffer_h |
| OLD | NEW |