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 |