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

Unified Diff: content/renderer/render_frame_impl.h

Issue 1370453002: Introduce WebMediaSession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Expect no platform implementation on !ANDROID Created 5 years, 3 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: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 1cb519c221f8fb1c211ab8cec2cd5bfca64ec7af..2de4b69f30e29a0a5bca410fed7ae5bd4e98902c 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -377,6 +377,8 @@ class CONTENT_EXPORT RenderFrameImpl
blink::WebMediaPlayerClient* client,
blink::WebMediaPlayerEncryptedMediaClient* encrypted_client,
blink::WebContentDecryptionModule* initial_cdm);
+ blink::WebMediaSession* createMediaSession(
+ blink::WebLocalFrame* frame) override;
virtual blink::WebApplicationCacheHost* createApplicationCacheHost(
blink::WebLocalFrame* frame,
blink::WebApplicationCacheHostClient* client);
@@ -840,6 +842,8 @@ class CONTENT_EXPORT RenderFrameImpl
bool AreSecureCodecsSupported();
+ blink::WebMediaSession* CreateAndroidWebMediaSession();
+
media::MediaPermission* GetMediaPermission();
#if defined(ENABLE_MOJO_MEDIA)

Powered by Google App Engine
This is Rietveld 408576698