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

Unified Diff: third_party/WebKit/Source/modules/mediasource/SourceBuffer.h

Issue 1945523003: MSE: Add EventHandler attributes to MSE objects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/mediasource/SourceBuffer.h
diff --git a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h
index c07de5489701cca2eef69a891f1077ccabe9c2f5..bfb665e04795faaa8465054ca50ecf69c63bc58e 100644
--- a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h
+++ b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h
@@ -89,6 +89,11 @@ public:
void setAppendWindowStart(double, ExceptionState&);
double appendWindowEnd() const;
void setAppendWindowEnd(double, ExceptionState&);
+ DEFINE_ATTRIBUTE_EVENT_LISTENER(updatestart);
+ DEFINE_ATTRIBUTE_EVENT_LISTENER(update);
+ DEFINE_ATTRIBUTE_EVENT_LISTENER(updateend);
+ DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
+ DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
TrackDefaultList* trackDefaults() const { return m_trackDefaults.get(); }
void setTrackDefaults(TrackDefaultList*, ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698