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

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

Issue 61603006: Remove MediaSourcePrivate/SourceBufferPrivate (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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: Source/core/html/HTMLMediaSource.h
diff --git a/Source/core/html/HTMLMediaSource.h b/Source/core/html/HTMLMediaSource.h
index ddf0aefb81ba9a93816d15039e5e98f2be98c95d..facdcd9abeedfc3209b2e97126741130f15b094f 100644
--- a/Source/core/html/HTMLMediaSource.h
+++ b/Source/core/html/HTMLMediaSource.h
@@ -35,9 +35,12 @@
#include "core/html/URLRegistry.h"
#include "wtf/Forward.h"
+namespace blink {
+class WebMediaSource;
+}
+
namespace WebCore {
-class MediaSourcePrivate;
class TimeRanges;
class HTMLMediaSource : public URLRegistrable {
@@ -56,7 +59,7 @@ public:
// Once attached, the source uses the element to synchronously service some
// API operations like duration change that may need to initiate seek.
virtual bool attachToElement(HTMLMediaElement*) = 0;
- virtual void setPrivateAndOpen(PassOwnPtr<MediaSourcePrivate>) = 0;
+ virtual void setWebAndOpen(PassOwnPtr<blink::WebMediaSource>) = 0;
acolwell GONE FROM CHROMIUM 2013/11/11 18:06:55 nit: s/setWeb/setWebMediaSource/
philipj_slow 2013/11/12 09:43:51 I was hoping you would say that! Done!
virtual void close() = 0;
virtual bool isClosed() const = 0;
virtual double duration() const = 0;
« no previous file with comments | « no previous file | Source/core/platform/graphics/MediaSourcePrivate.h » ('j') | Source/modules/mediasource/SourceBuffer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698