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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2389473002: Media Remoting: Add RemotingController. (Closed)
Patch Set: Add building flag. Created 4 years, 2 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 b5904b226ef97ff5fef68b2a10a4ea16a8f1bea8..af266dd1cee98d22f4576085f3711000c2ea640a 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -105,6 +105,7 @@ class CdmFactory;
class DecoderFactory;
class MediaPermission;
class MediaServiceProvider;
+class RemotingController;
class RendererWebMediaPlayerDelegate;
class SurfaceManager;
class UrlIndex;
@@ -1048,6 +1049,12 @@ class CONTENT_EXPORT RenderFrameImpl
void InitializeBlameContext(RenderFrameImpl* parent_frame);
+#if defined(ENABLE_MEDIA_REMOTING)
+ // Create the RemotingController to control whether to switch to/from media
xhwang 2016/10/05 05:27:53 nit: Create_s_
xjz 2016/10/05 17:24:23 Done.
+ // remoting from/to local playback.
+ std::unique_ptr<media::RemotingController> CreateRemotingController();
+#endif // defined(ENABLE_MEDIA_REMOTING)
+
// Stores the WebLocalFrame we are associated with. This is null from the
// constructor until BindToWebFrame is called, and it is null after
// frameDetached is called until destruction (which is asynchronous in the

Powered by Google App Engine
This is Rietveld 408576698