| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 void appendBuffer(DOMArrayBuffer* data, ExceptionState&); | 82 void appendBuffer(DOMArrayBuffer* data, ExceptionState&); |
| 83 void appendBuffer(DOMArrayBufferView* data, ExceptionState&); | 83 void appendBuffer(DOMArrayBufferView* data, ExceptionState&); |
| 84 void appendStream(Stream*, ExceptionState&); | 84 void appendStream(Stream*, ExceptionState&); |
| 85 void appendStream(Stream*, unsigned long long maxSize, ExceptionState&); | 85 void appendStream(Stream*, unsigned long long maxSize, ExceptionState&); |
| 86 void abort(ExceptionState&); | 86 void abort(ExceptionState&); |
| 87 void remove(double start, double end, ExceptionState&); | 87 void remove(double start, double end, ExceptionState&); |
| 88 double appendWindowStart() const; | 88 double appendWindowStart() const; |
| 89 void setAppendWindowStart(double, ExceptionState&); | 89 void setAppendWindowStart(double, ExceptionState&); |
| 90 double appendWindowEnd() const; | 90 double appendWindowEnd() const; |
| 91 void setAppendWindowEnd(double, ExceptionState&); | 91 void setAppendWindowEnd(double, ExceptionState&); |
| 92 DEFINE_ATTRIBUTE_EVENT_LISTENER(updatestart); |
| 93 DEFINE_ATTRIBUTE_EVENT_LISTENER(update); |
| 94 DEFINE_ATTRIBUTE_EVENT_LISTENER(updateend); |
| 95 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); |
| 96 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort); |
| 92 TrackDefaultList* trackDefaults() const { return m_trackDefaults.get(); } | 97 TrackDefaultList* trackDefaults() const { return m_trackDefaults.get(); } |
| 93 void setTrackDefaults(TrackDefaultList*, ExceptionState&); | 98 void setTrackDefaults(TrackDefaultList*, ExceptionState&); |
| 94 | 99 |
| 95 AudioTrackList& audioTracks(); | 100 AudioTrackList& audioTracks(); |
| 96 VideoTrackList& videoTracks(); | 101 VideoTrackList& videoTracks(); |
| 97 | 102 |
| 98 void abortIfUpdating(); | 103 void abortIfUpdating(); |
| 99 void removedFromMediaSource(); | 104 void removedFromMediaSource(); |
| 100 | 105 |
| 101 // ActiveScriptWrappable | 106 // ActiveScriptWrappable |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 bool m_streamMaxSizeValid; | 184 bool m_streamMaxSizeValid; |
| 180 unsigned long long m_streamMaxSize; | 185 unsigned long long m_streamMaxSize; |
| 181 Member<AsyncMethodRunner<SourceBuffer>> m_appendStreamAsyncPartRunner; | 186 Member<AsyncMethodRunner<SourceBuffer>> m_appendStreamAsyncPartRunner; |
| 182 Member<Stream> m_stream; | 187 Member<Stream> m_stream; |
| 183 std::unique_ptr<FileReaderLoader> m_loader; | 188 std::unique_ptr<FileReaderLoader> m_loader; |
| 184 }; | 189 }; |
| 185 | 190 |
| 186 } // namespace blink | 191 } // namespace blink |
| 187 | 192 |
| 188 #endif // SourceBuffer_h | 193 #endif // SourceBuffer_h |
| OLD | NEW |