| 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 | 50 |
| 51 namespace WebCore { | 51 namespace WebCore { |
| 52 | 52 |
| 53 class ExceptionState; | 53 class ExceptionState; |
| 54 class FileReaderLoader; | 54 class FileReaderLoader; |
| 55 class GenericEventQueue; | 55 class GenericEventQueue; |
| 56 class MediaSource; | 56 class MediaSource; |
| 57 class Stream; | 57 class Stream; |
| 58 class TimeRanges; | 58 class TimeRanges; |
| 59 | 59 |
| 60 class SourceBuffer : public RefCounted<SourceBuffer>, public ActiveDOMObject, pu
blic EventTargetWithInlineData, public ScriptWrappable, public FileReaderLoaderC
lient { | 60 class SourceBuffer FINAL : public RefCounted<SourceBuffer>, public ActiveDOMObje
ct, public EventTargetWithInlineData, public ScriptWrappable, public FileReaderL
oaderClient { |
| 61 REFCOUNTED_EVENT_TARGET(SourceBuffer); | 61 REFCOUNTED_EVENT_TARGET(SourceBuffer); |
| 62 public: | 62 public: |
| 63 static PassRefPtr<SourceBuffer> create(PassOwnPtr<blink::WebSourceBuffer>, M
ediaSource*, GenericEventQueue*); | 63 static PassRefPtr<SourceBuffer> create(PassOwnPtr<blink::WebSourceBuffer>, M
ediaSource*, GenericEventQueue*); |
| 64 static const AtomicString& segmentsKeyword(); | 64 static const AtomicString& segmentsKeyword(); |
| 65 static const AtomicString& sequenceKeyword(); | 65 static const AtomicString& sequenceKeyword(); |
| 66 | 66 |
| 67 virtual ~SourceBuffer(); | 67 virtual ~SourceBuffer(); |
| 68 | 68 |
| 69 // SourceBuffer.idl methods | 69 // SourceBuffer.idl methods |
| 70 const AtomicString& mode() const { return m_mode; } | 70 const AtomicString& mode() const { return m_mode; } |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 bool m_streamMaxSizeValid; | 139 bool m_streamMaxSizeValid; |
| 140 unsigned long long m_streamMaxSize; | 140 unsigned long long m_streamMaxSize; |
| 141 AsyncMethodRunner<SourceBuffer> m_appendStreamAsyncPartRunner; | 141 AsyncMethodRunner<SourceBuffer> m_appendStreamAsyncPartRunner; |
| 142 RefPtr<Stream> m_stream; | 142 RefPtr<Stream> m_stream; |
| 143 OwnPtr<FileReaderLoader> m_loader; | 143 OwnPtr<FileReaderLoader> m_loader; |
| 144 }; | 144 }; |
| 145 | 145 |
| 146 } // namespace WebCore | 146 } // namespace WebCore |
| 147 | 147 |
| 148 #endif | 148 #endif |
| OLD | NEW |