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

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: address comments Created 5 years, 5 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
« no previous file with comments | « Source/core/loader/EmptyClients.cpp ('k') | Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/FrameLoaderClient.h
diff --git a/Source/core/loader/FrameLoaderClient.h b/Source/core/loader/FrameLoaderClient.h
index f49aad8d198defed7e5f77302b469dd94b001ebf..0a20c14a9d9c07710deecc961179cf3ee8d3f140 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;
@@ -156,6 +158,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;
« no previous file with comments | « Source/core/loader/EmptyClients.cpp ('k') | Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698