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

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: Move createMediaPlayer() to FrameLoaderClient to avoid deps rule violation Created 5 years, 8 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 c79917045e0e1de605635cba34351e79e2afea98..c78c591e63eb28278fa0a7c79b71d3fd100bdd9e 100644
--- a/Source/core/loader/FrameLoaderClient.h
+++ b/Source/core/loader/FrameLoaderClient.h
@@ -50,6 +50,7 @@ class WebServiceWorkerProvider;
class WebSocketHandle;
class WebApplicationCacheHost;
class WebApplicationCacheHostClient;
+class WebMediaPlayer;
}
namespace blink {
@@ -60,6 +61,7 @@ namespace blink {
class HTMLAppletElement;
class HTMLFormElement;
class HTMLFrameOwnerElement;
+ class HTMLMediaElement;
class HTMLPlugInElement;
class HistoryItem;
class KURL;
@@ -159,6 +161,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