Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: third_party/WebKit/Source/modules/mediastream/MediaStream.h

Issue 1954693002: Deprecate subscriptions to MediaStream ended event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 // EventTarget 81 // EventTarget
82 const AtomicString& interfaceName() const override; 82 const AtomicString& interfaceName() const override;
83 ExecutionContext* getExecutionContext() const override; 83 ExecutionContext* getExecutionContext() const override;
84 84
85 // URLRegistrable 85 // URLRegistrable
86 URLRegistry& registry() const override; 86 URLRegistry& registry() const override;
87 87
88 DECLARE_VIRTUAL_TRACE(); 88 DECLARE_VIRTUAL_TRACE();
89 89
90 protected:
91 bool addEventListenerInternal(const AtomicString& eventType, EventListener*, const AddEventListenerOptions&) override;
92
90 private: 93 private:
91 MediaStream(ExecutionContext*, MediaStreamDescriptor*); 94 MediaStream(ExecutionContext*, MediaStreamDescriptor*);
92 MediaStream(ExecutionContext*, const MediaStreamTrackVector& audioTracks, co nst MediaStreamTrackVector& videoTracks); 95 MediaStream(ExecutionContext*, const MediaStreamTrackVector& audioTracks, co nst MediaStreamTrackVector& videoTracks);
93 96
94 // ContextLifecycleObserver 97 // ContextLifecycleObserver
95 void contextDestroyed() override; 98 void contextDestroyed() override;
96 99
97 // MediaStreamDescriptorClient 100 // MediaStreamDescriptorClient
98 void addRemoteTrack(MediaStreamComponent*) override; 101 void addRemoteTrack(MediaStreamComponent*) override;
99 void removeRemoteTrack(MediaStreamComponent*) override; 102 void removeRemoteTrack(MediaStreamComponent*) override;
(...skipping 13 matching lines...) Expand all
113 HeapVector<Member<Event>> m_scheduledEvents; 116 HeapVector<Member<Event>> m_scheduledEvents;
114 }; 117 };
115 118
116 typedef HeapVector<Member<MediaStream>> MediaStreamVector; 119 typedef HeapVector<Member<MediaStream>> MediaStreamVector;
117 120
118 MediaStream* toMediaStream(MediaStreamDescriptor*); 121 MediaStream* toMediaStream(MediaStreamDescriptor*);
119 122
120 } // namespace blink 123 } // namespace blink
121 124
122 #endif // MediaStream_h 125 #endif // MediaStream_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/Deprecation.cpp ('k') | third_party/WebKit/Source/modules/mediastream/MediaStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698