| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 100     // Used by SourceBuffer. | 100     // Used by SourceBuffer. | 
| 101     void openIfInEndedState(); | 101     void openIfInEndedState(); | 
| 102     bool isOpen() const; | 102     bool isOpen() const; | 
| 103     void setSourceBufferActive(SourceBuffer*); | 103     void setSourceBufferActive(SourceBuffer*); | 
| 104 | 104 | 
| 105     // Used by MediaSourceRegistry. | 105     // Used by MediaSourceRegistry. | 
| 106     void addedToRegistry(); | 106     void addedToRegistry(); | 
| 107     void removedFromRegistry(); | 107     void removedFromRegistry(); | 
| 108 | 108 | 
| 109     DECLARE_VIRTUAL_TRACE(); | 109     DECLARE_VIRTUAL_TRACE(); | 
| 110     void clearWeakMembers(Visitor*); |  | 
| 111 | 110 | 
| 112 private: | 111 private: | 
| 113     explicit MediaSource(ExecutionContext*); | 112     explicit MediaSource(ExecutionContext*); | 
| 114 | 113 | 
| 115     void setReadyState(const AtomicString&); | 114     void setReadyState(const AtomicString&); | 
| 116     void onReadyStateChange(const AtomicString&, const AtomicString&); | 115     void onReadyStateChange(const AtomicString&, const AtomicString&); | 
| 117 | 116 | 
| 118     bool isUpdating() const; | 117     bool isUpdating() const; | 
| 119 | 118 | 
| 120     PassOwnPtr<WebSourceBuffer> createWebSourceBuffer(const String& type, const 
     Vector<String>& codecs, ExceptionState&); | 119     PassOwnPtr<WebSourceBuffer> createWebSourceBuffer(const String& type, const 
     Vector<String>& codecs, ExceptionState&); | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
| 132 | 131 | 
| 133     Member<SourceBufferList> m_sourceBuffers; | 132     Member<SourceBufferList> m_sourceBuffers; | 
| 134     Member<SourceBufferList> m_activeSourceBuffers; | 133     Member<SourceBufferList> m_activeSourceBuffers; | 
| 135 | 134 | 
| 136     bool m_isAddedToRegistry; | 135     bool m_isAddedToRegistry; | 
| 137 }; | 136 }; | 
| 138 | 137 | 
| 139 } // namespace blink | 138 } // namespace blink | 
| 140 | 139 | 
| 141 #endif // MediaSource_h | 140 #endif // MediaSource_h | 
| OLD | NEW | 
|---|