| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 static bool isTypeSupported(const String& type); | 86 static bool isTypeSupported(const String& type); |
| 87 | 87 |
| 88 // HTMLMediaSource | 88 // HTMLMediaSource |
| 89 bool attachToElement(HTMLMediaElement*) override; | 89 bool attachToElement(HTMLMediaElement*) override; |
| 90 void setWebMediaSourceAndOpen(std::unique_ptr<WebMediaSource>) override; | 90 void setWebMediaSourceAndOpen(std::unique_ptr<WebMediaSource>) override; |
| 91 void close() override; | 91 void close() override; |
| 92 bool isClosed() const override; | 92 bool isClosed() const override; |
| 93 double duration() const override; | 93 double duration() const override; |
| 94 TimeRanges* buffered() const override; | 94 TimeRanges* buffered() const override; |
| 95 TimeRanges* seekable() const override; | 95 TimeRanges* seekable() const override; |
| 96 void onTrackChanged(TrackBase*) override; |
| 96 | 97 |
| 97 // EventTarget interface | 98 // EventTarget interface |
| 98 const AtomicString& interfaceName() const override; | 99 const AtomicString& interfaceName() const override; |
| 99 ExecutionContext* getExecutionContext() const override; | 100 ExecutionContext* getExecutionContext() const override; |
| 100 | 101 |
| 101 // ActiveScriptWrappable | 102 // ActiveScriptWrappable |
| 102 bool hasPendingActivity() const final; | 103 bool hasPendingActivity() const final; |
| 103 | 104 |
| 104 // ActiveDOMObject interface | 105 // ActiveDOMObject interface |
| 105 void stop() override; | 106 void stop() override; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 Member<SourceBufferList> m_activeSourceBuffers; | 145 Member<SourceBufferList> m_activeSourceBuffers; |
| 145 | 146 |
| 146 Member<TimeRanges> m_liveSeekableRange; | 147 Member<TimeRanges> m_liveSeekableRange; |
| 147 | 148 |
| 148 int m_addedToRegistryCounter; | 149 int m_addedToRegistryCounter; |
| 149 }; | 150 }; |
| 150 | 151 |
| 151 } // namespace blink | 152 } // namespace blink |
| 152 | 153 |
| 153 #endif // MediaSource_h | 154 #endif // MediaSource_h |
| OLD | NEW |