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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 void removedFromMediaSource(); | 105 void removedFromMediaSource(); |
106 double highestPresentationTimestamp(); | 106 double highestPresentationTimestamp(); |
107 | 107 |
108 // ScriptWrappable | 108 // ScriptWrappable |
109 bool hasPendingActivity() const final; | 109 bool hasPendingActivity() const final; |
110 | 110 |
111 // ActiveDOMObject | 111 // ActiveDOMObject |
112 void suspend() override; | 112 void suspend() override; |
113 void resume() override; | 113 void resume() override; |
114 void stop() override; | 114 void contextDestroyed() override; |
115 | 115 |
116 // EventTarget interface | 116 // EventTarget interface |
117 ExecutionContext* getExecutionContext() const override; | 117 ExecutionContext* getExecutionContext() const override; |
118 const AtomicString& interfaceName() const override; | 118 const AtomicString& interfaceName() const override; |
119 | 119 |
120 // WebSourceBufferClient interface | 120 // WebSourceBufferClient interface |
121 bool initializationSegmentReceived(const WebVector<MediaTrackInfo>&) override; | 121 bool initializationSegmentReceived(const WebVector<MediaTrackInfo>&) override; |
122 | 122 |
123 DECLARE_VIRTUAL_TRACE(); | 123 DECLARE_VIRTUAL_TRACE(); |
124 | 124 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 bool m_streamMaxSizeValid; | 197 bool m_streamMaxSizeValid; |
198 unsigned long long m_streamMaxSize; | 198 unsigned long long m_streamMaxSize; |
199 Member<AsyncMethodRunner<SourceBuffer>> m_appendStreamAsyncPartRunner; | 199 Member<AsyncMethodRunner<SourceBuffer>> m_appendStreamAsyncPartRunner; |
200 Member<Stream> m_stream; | 200 Member<Stream> m_stream; |
201 std::unique_ptr<FileReaderLoader> m_loader; | 201 std::unique_ptr<FileReaderLoader> m_loader; |
202 }; | 202 }; |
203 | 203 |
204 } // namespace blink | 204 } // namespace blink |
205 | 205 |
206 #endif // SourceBuffer_h | 206 #endif // SourceBuffer_h |
OLD | NEW |