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 15 matching lines...) Expand all Loading... |
26 #ifndef MediaStreamTrack_h | 26 #ifndef MediaStreamTrack_h |
27 #define MediaStreamTrack_h | 27 #define MediaStreamTrack_h |
28 | 28 |
29 #include "core/dom/ActiveDOMObject.h" | 29 #include "core/dom/ActiveDOMObject.h" |
30 #include "modules/EventTargetModules.h" | 30 #include "modules/EventTargetModules.h" |
31 #include "modules/mediastream/SourceInfo.h" | 31 #include "modules/mediastream/SourceInfo.h" |
32 #include "platform/mediastream/MediaStreamDescriptor.h" | 32 #include "platform/mediastream/MediaStreamDescriptor.h" |
33 #include "platform/mediastream/MediaStreamSource.h" | 33 #include "platform/mediastream/MediaStreamSource.h" |
34 #include "wtf/Forward.h" | 34 #include "wtf/Forward.h" |
35 | 35 |
36 namespace WebCore { | 36 namespace blink { |
37 | 37 |
38 class AudioSourceProvider; | 38 class AudioSourceProvider; |
39 class ExceptionState; | 39 class ExceptionState; |
40 class MediaStreamComponent; | 40 class MediaStreamComponent; |
41 class MediaStreamTrackSourcesCallback; | 41 class MediaStreamTrackSourcesCallback; |
42 | 42 |
43 class MediaStreamTrack FINAL | 43 class MediaStreamTrack FINAL |
44 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<MediaStre
amTrack> | 44 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<MediaStre
amTrack> |
45 , public ActiveDOMObject | 45 , public ActiveDOMObject |
46 , public EventTargetWithInlineData | 46 , public EventTargetWithInlineData |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 97 |
98 MediaStreamSource::ReadyState m_readyState; | 98 MediaStreamSource::ReadyState m_readyState; |
99 HeapHashSet<Member<MediaStream> > m_registeredMediaStreams; | 99 HeapHashSet<Member<MediaStream> > m_registeredMediaStreams; |
100 bool m_isIteratingRegisteredMediaStreams; | 100 bool m_isIteratingRegisteredMediaStreams; |
101 bool m_stopped; | 101 bool m_stopped; |
102 RefPtr<MediaStreamComponent> m_component; | 102 RefPtr<MediaStreamComponent> m_component; |
103 }; | 103 }; |
104 | 104 |
105 typedef HeapVector<Member<MediaStreamTrack> > MediaStreamTrackVector; | 105 typedef HeapVector<Member<MediaStreamTrack> > MediaStreamTrackVector; |
106 | 106 |
107 } // namespace WebCore | 107 } // namespace blink |
108 | 108 |
109 #endif // MediaStreamTrack_h | 109 #endif // MediaStreamTrack_h |
OLD | NEW |