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

Unified Diff: Source/core/loader/FrameLoaderClient.h

Issue 1055503002: Eliminate MediaPlayer & MediaPlayerClient abstractions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch cleanup and review comments fix Created 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/loader/FrameLoaderClient.h
diff --git a/Source/core/loader/FrameLoaderClient.h b/Source/core/loader/FrameLoaderClient.h
index 2119254e3db1aa3a3c92c7009cfa5f14c2f05290..2bd11e922985dc558f26b6955b97bfa5be2c84d3 100644
--- a/Source/core/loader/FrameLoaderClient.h
+++ b/Source/core/loader/FrameLoaderClient.h
@@ -52,6 +52,7 @@ namespace blink {
class HTMLAppletElement;
class HTMLFormElement;
class HTMLFrameOwnerElement;
+ class HTMLMediaElement;
class HTMLPlugInElement;
class HistoryItem;
class KURL;
@@ -65,6 +66,7 @@ namespace blink {
class SubstituteData;
class WebApplicationCacheHost;
class WebApplicationCacheHostClient;
+ class WebMediaPlayer;
class WebCookieJar;
class WebRTCPeerConnectionHandler;
class WebServiceWorkerProvider;
@@ -157,6 +159,8 @@ namespace blink {
virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, const KURL& baseURL, const Vector<String>& paramNames, const Vector<String>& paramValues) = 0;
+ virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement*, const WebURL&) = 0;
+
virtual ObjectContentType objectContentType(const KURL&, const String& mimeType, bool shouldPreferPlugInsForImages) = 0;
virtual void didCreateNewDocument() = 0;

Powered by Google App Engine
This is Rietveld 408576698