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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaSource.h

Issue 2263823002: Deliver change notifications to SourceBuffer track lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Call VideoTrackList::trackSelected also the SourceBuffer track list Created 4 years, 4 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/core/html/HTMLMediaSource.h
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaSource.h b/third_party/WebKit/Source/core/html/HTMLMediaSource.h
index bdee97397ee98e5de189b985164babd50c206a5b..b5d3ce190a261acfc8443d917bd95a85f9789af7 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaSource.h
+++ b/third_party/WebKit/Source/core/html/HTMLMediaSource.h
@@ -42,6 +42,7 @@ namespace blink {
class WebMediaSource;
class HTMLMediaElement;
class TimeRanges;
+class TrackBase;
class CORE_EXPORT HTMLMediaSource : public URLRegistrable, public GarbageCollectedMixin {
public:
@@ -62,6 +63,7 @@ public:
virtual double duration() const = 0;
virtual TimeRanges* buffered() const = 0;
virtual TimeRanges* seekable() const = 0;
+ virtual void onTrackChanged(TrackBase*) = 0;
// URLRegistrable
URLRegistry& registry() const override { return *s_registry; }
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ('k') | third_party/WebKit/Source/core/html/track/AudioTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698