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

Unified Diff: third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.h

Issue 2347103003: Implement the MediaStreamTrackEvent constructor (Closed)
Patch Set: update webexposed Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.h
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.h b/third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.h
index 8d0e61e18a77f6cf2a3118430e1254fb2059de9e..97933f036ec5835799e0765904937774581ef76a 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.h
+++ b/third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.h
@@ -26,6 +26,7 @@
#define MediaStreamTrackEvent_h
#include "modules/EventModules.h"
+#include "modules/mediastream/MediaStreamTrackEventInit.h"
#include "wtf/text/AtomicString.h"
namespace blink {
@@ -37,7 +38,8 @@ class MediaStreamTrackEvent final : public Event {
public:
~MediaStreamTrackEvent() override;
- static MediaStreamTrackEvent* create(const AtomicString& type, bool canBubble, bool cancelable, MediaStreamTrack*);
+ static MediaStreamTrackEvent* create(const AtomicString& type, MediaStreamTrack*);
+ static MediaStreamTrackEvent* create(const AtomicString& type, const MediaStreamTrackEventInit&);
MediaStreamTrack* track() const;
@@ -47,7 +49,8 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- MediaStreamTrackEvent(const AtomicString& type, bool canBubble, bool cancelable, MediaStreamTrack*);
+ MediaStreamTrackEvent(const AtomicString& type, MediaStreamTrack*);
+ MediaStreamTrackEvent(const AtomicString& type, const MediaStreamTrackEventInit&);
Member<MediaStreamTrack> m_track;
};

Powered by Google App Engine
This is Rietveld 408576698