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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 DEFINE_ATTRIBUTE_EVENT_LISTENER(ended); | 74 DEFINE_ATTRIBUTE_EVENT_LISTENER(ended); |
75 | 75 |
76 MediaStreamComponent* component() { return m_component; } | 76 MediaStreamComponent* component() { return m_component; } |
77 bool ended() const; | 77 bool ended() const; |
78 | 78 |
79 void registerMediaStream(MediaStream*); | 79 void registerMediaStream(MediaStream*); |
80 void unregisterMediaStream(MediaStream*); | 80 void unregisterMediaStream(MediaStream*); |
81 | 81 |
82 // EventTarget | 82 // EventTarget |
83 const AtomicString& interfaceName() const override; | 83 const AtomicString& interfaceName() const override; |
84 ExecutionContext* executionContext() const override; | 84 ExecutionContext* getExecutionContext() const override; |
85 | 85 |
86 // ActiveDOMObject | 86 // ActiveDOMObject |
87 bool hasPendingActivity() const override; | 87 bool hasPendingActivity() const override; |
88 void stop() override; | 88 void stop() override; |
89 | 89 |
90 PassOwnPtr<AudioSourceProvider> createWebAudioSource(); | 90 PassOwnPtr<AudioSourceProvider> createWebAudioSource(); |
91 | 91 |
92 DECLARE_VIRTUAL_TRACE(); | 92 DECLARE_VIRTUAL_TRACE(); |
93 | 93 |
94 private: | 94 private: |
(...skipping 11 matching lines...) Expand all Loading... |
106 bool m_isIteratingRegisteredMediaStreams; | 106 bool m_isIteratingRegisteredMediaStreams; |
107 bool m_stopped; | 107 bool m_stopped; |
108 Member<MediaStreamComponent> m_component; | 108 Member<MediaStreamComponent> m_component; |
109 }; | 109 }; |
110 | 110 |
111 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector; | 111 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector; |
112 | 112 |
113 } // namespace blink | 113 } // namespace blink |
114 | 114 |
115 #endif // MediaStreamTrack_h | 115 #endif // MediaStreamTrack_h |
OLD | NEW |