Changeset 155478 in webkit
- Timestamp:
- Sep 10, 2013 2:48:34 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r155477 r155478 1 2013-09-10 Eric Carlson <eric.carlson@apple.com> 2 3 Make MediaStream objects ScriptWrappable 4 https://bugs.webkit.org/show_bug.cgi?id=120879 5 6 Reviewed by Jer Noble. 7 8 * Modules/mediastream/MediaStream.h: Inherit from ScriptWrappable. 9 * Modules/mediastream/MediaStreamTrack.h: Ditto. 10 * Modules/mediastream/RTCDTMFSender.h: Ditto. 11 * Modules/mediastream/RTCDataChannel.h: Ditto. 12 * Modules/mediastream/RTCIceCandidate.h: Ditto. 13 * Modules/mediastream/RTCPeerConnection.h: Ditto. 14 * Modules/mediastream/RTCSessionDescription.h: Ditto. 15 * Modules/mediastream/RTCStatsReport.h: Ditto. 16 * Modules/mediastream/RTCStatsResponse.h: Ditto. 17 1 18 2013-09-10 Eric Carlson <eric.carlson@apple.com> 2 19 -
trunk/Source/WebCore/Modules/mediastream/MediaStream.h
r155249 r155478 34 34 #include "MediaStreamDescriptor.h" 35 35 #include "MediaStreamTrack.h" 36 #include "ScriptWrappable.h" 36 37 #include "Timer.h" 37 38 #include <wtf/RefCounted.h> … … 40 41 namespace WebCore { 41 42 42 class MediaStream : public RefCounted<MediaStream>, public MediaStreamDescriptorClient, public EventTarget, public ContextDestructionObserver {43 class MediaStream : public RefCounted<MediaStream>, public ScriptWrappable, public MediaStreamDescriptorClient, public EventTarget, public ContextDestructionObserver { 43 44 public: 44 45 static PassRefPtr<MediaStream> create(ScriptExecutionContext*); -
trunk/Source/WebCore/Modules/mediastream/MediaStreamTrack.h
r155249 r155478 33 33 #include "MediaStreamDescriptor.h" 34 34 #include "MediaStreamSource.h" 35 #include "ScriptWrappable.h" 35 36 #include <wtf/RefCounted.h> 36 37 #include <wtf/RefPtr.h> … … 42 43 class MediaStreamComponent; 43 44 44 class MediaStreamTrack : public RefCounted<MediaStreamTrack>, public ActiveDOMObject, public EventTarget, public MediaStreamSource::Observer {45 class MediaStreamTrack : public RefCounted<MediaStreamTrack>, public ScriptWrappable, public ActiveDOMObject, public EventTarget, public MediaStreamSource::Observer { 45 46 public: 46 47 static PassRefPtr<MediaStreamTrack> create(ScriptExecutionContext*, MediaStreamComponent*); -
trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.h
r153926 r155478 32 32 #include "EventTarget.h" 33 33 #include "RTCDTMFSenderHandlerClient.h" 34 #include "ScriptWrappable.h" 34 35 #include "Timer.h" 35 36 #include <wtf/RefCounted.h> … … 41 42 class RTCDTMFSenderHandler; 42 43 43 class RTCDTMFSender : public RefCounted<RTCDTMFSender>, public EventTarget, public RTCDTMFSenderHandlerClient, public ActiveDOMObject {44 class RTCDTMFSender : public RefCounted<RTCDTMFSender>, public ScriptWrappable, public EventTarget, public RTCDTMFSenderHandlerClient, public ActiveDOMObject { 44 45 public: 45 46 static PassRefPtr<RTCDTMFSender> create(ScriptExecutionContext*, RTCPeerConnectionHandler*, PassRefPtr<MediaStreamTrack>, ExceptionCode&); -
trunk/Source/WebCore/Modules/mediastream/RTCDataChannel.h
r155057 r155478 30 30 #include "EventTarget.h" 31 31 #include "RTCDataChannelHandlerClient.h" 32 #include "ScriptWrappable.h" 32 33 #include "Timer.h" 33 34 #include <wtf/RefCounted.h> … … 44 45 class RTCPeerConnectionHandler; 45 46 46 class RTCDataChannel : public RefCounted<RTCDataChannel>, public EventTarget, public RTCDataChannelHandlerClient {47 class RTCDataChannel : public RefCounted<RTCDataChannel>, public ScriptWrappable, public EventTarget, public RTCDataChannelHandlerClient { 47 48 public: 48 49 static PassRefPtr<RTCDataChannel> create(ScriptExecutionContext*, RTCPeerConnectionHandler*, const String& label, bool reliable, ExceptionCode&); -
trunk/Source/WebCore/Modules/mediastream/RTCIceCandidate.h
r126779 r155478 35 35 36 36 #include "ExceptionBase.h" 37 #include "ScriptWrappable.h" 37 38 #include <wtf/PassRefPtr.h> 38 39 #include <wtf/RefCounted.h> … … 45 46 class RTCIceCandidateDescriptor; 46 47 47 class RTCIceCandidate : public RefCounted<RTCIceCandidate> {48 class RTCIceCandidate : public RefCounted<RTCIceCandidate>, public ScriptWrappable { 48 49 public: 49 50 static PassRefPtr<RTCIceCandidate> create(const Dictionary&, ExceptionCode&); -
trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.h
r153926 r155478 42 42 #include "RTCPeerConnectionHandler.h" 43 43 #include "RTCPeerConnectionHandlerClient.h" 44 #include "ScriptWrappable.h" 44 45 #include "Timer.h" 45 46 #include <wtf/RefCounted.h> … … 58 59 class VoidCallback; 59 60 60 class RTCPeerConnection : public RefCounted<RTCPeerConnection>, public RTCPeerConnectionHandlerClient, public EventTarget, public ActiveDOMObject {61 class RTCPeerConnection : public RefCounted<RTCPeerConnection>, public ScriptWrappable, public RTCPeerConnectionHandlerClient, public EventTarget, public ActiveDOMObject { 61 62 public: 62 63 static PassRefPtr<RTCPeerConnection> create(ScriptExecutionContext*, const Dictionary& rtcConfiguration, const Dictionary& mediaConstraints, ExceptionCode&); -
trunk/Source/WebCore/Modules/mediastream/RTCSessionDescription.h
r155057 r155478 35 35 36 36 #include "ExceptionBase.h" 37 #include "ScriptWrappable.h" 37 38 #include <wtf/PassRefPtr.h> 38 39 #include <wtf/RefCounted.h> … … 44 45 class RTCSessionDescriptionDescriptor; 45 46 46 class RTCSessionDescription : public RefCounted<RTCSessionDescription> {47 class RTCSessionDescription : public RefCounted<RTCSessionDescription>, public ScriptWrappable { 47 48 public: 48 49 static PassRefPtr<RTCSessionDescription> create(const Dictionary&, ExceptionCode&); -
trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.h
r146509 r155478 26 26 #define RTCStatsReport_h 27 27 28 #include "ScriptWrappable.h" 28 29 #include <wtf/HashMap.h> 29 30 #include <wtf/PassRefPtr.h> … … 34 35 namespace WebCore { 35 36 36 class RTCStatsReport : public RefCounted<RTCStatsReport> {37 class RTCStatsReport : public RefCounted<RTCStatsReport>, public ScriptWrappable { 37 38 public: 38 39 static PassRefPtr<RTCStatsReport> create(const String& id, const String& type, double timestamp); -
trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.h
r155248 r155478 36 36 #include "RTCStatsReport.h" 37 37 #include "RTCStatsResponseBase.h" 38 #include "ScriptWrappable.h" 38 39 #include <wtf/HashMap.h> 39 40 40 41 namespace WebCore { 41 42 42 class RTCStatsResponse : public RTCStatsResponseBase {43 class RTCStatsResponse : public RTCStatsResponseBase, public ScriptWrappable { 43 44 public: 44 45 static PassRefPtr<RTCStatsResponse> create();
Note: See TracChangeset
for help on using the changeset viewer.