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

Unified Diff: public/web/WebFrameClient.h

Issue 1259643002: NOT FOR LANDING Introduce and use WebMediaSession (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: hack until something works Created 5 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: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index ce2106a8a91a53befc6f9927e1d9ba20a6508cde..f0859bbfdc75075b9c1649c61dbfae20b2421f9b 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -75,6 +75,7 @@ class WebGeolocationClient;
class WebMediaPlayer;
class WebMediaPlayerClient;
class WebMediaPlayerEncryptedMediaClient;
+class WebMediaSession;
class WebMIDIClient;
class WebNotificationPermissionCallback;
class WebPermissionClient;
@@ -117,6 +118,9 @@ public:
virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, WebMediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionModule*) { return 0; }
// May return null.
+ virtual WebMediaSession* createMediaSession(WebLocalFrame*) { return 0; }
+
+ // May return null.
virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; }
// May return null.
« Source/modules/mediasession/MediaSession.h ('K') | « public/platform/WebMediaSession.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698