| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Ericsson AB. All rights reserved. | 3 * Copyright (C) 2011 Ericsson AB. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #include "wtf/Forward.h" | 36 #include "wtf/Forward.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class AudioSourceProvider; | 40 class AudioSourceProvider; |
| 41 class ExceptionState; | 41 class ExceptionState; |
| 42 class MediaStreamComponent; | 42 class MediaStreamComponent; |
| 43 class MediaStreamTrackSourcesCallback; | 43 class MediaStreamTrackSourcesCallback; |
| 44 | 44 |
| 45 class MODULES_EXPORT MediaStreamTrack | 45 class MODULES_EXPORT MediaStreamTrack |
| 46 : public RefCountedGarbageCollectedEventTargetWithInlineData<MediaStreamTrac
k> | 46 : public EventTargetWithInlineData |
| 47 , public ActiveScriptWrappable | 47 , public ActiveScriptWrappable |
| 48 , public ActiveDOMObject | 48 , public ActiveDOMObject |
| 49 , public MediaStreamSource::Observer { | 49 , public MediaStreamSource::Observer { |
| 50 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(MediaStreamTrack); | 50 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(MediaStreamTrack); |
| 51 USING_GARBAGE_COLLECTED_MIXIN(MediaStreamTrack); | 51 USING_GARBAGE_COLLECTED_MIXIN(MediaStreamTrack); |
| 52 DEFINE_WRAPPERTYPEINFO(); | 52 DEFINE_WRAPPERTYPEINFO(); |
| 53 public: | 53 public: |
| 54 static MediaStreamTrack* create(ExecutionContext*, MediaStreamComponent*); | 54 static MediaStreamTrack* create(ExecutionContext*, MediaStreamComponent*); |
| 55 ~MediaStreamTrack() override; | 55 ~MediaStreamTrack() override; |
| 56 | 56 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 bool m_isIteratingRegisteredMediaStreams; | 110 bool m_isIteratingRegisteredMediaStreams; |
| 111 bool m_stopped; | 111 bool m_stopped; |
| 112 Member<MediaStreamComponent> m_component; | 112 Member<MediaStreamComponent> m_component; |
| 113 }; | 113 }; |
| 114 | 114 |
| 115 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector; | 115 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector; |
| 116 | 116 |
| 117 } // namespace blink | 117 } // namespace blink |
| 118 | 118 |
| 119 #endif // MediaStreamTrack_h | 119 #endif // MediaStreamTrack_h |
| OLD | NEW |