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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2457563002: Media Remoting: Add remoting control logic for encrypted contents. (Closed)
Patch Set: Addressed xhwang's comments. Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 class Point; 97 class Point;
98 class Range; 98 class Range;
99 class Rect; 99 class Rect;
100 } 100 }
101 101
102 namespace media { 102 namespace media {
103 class CdmFactory; 103 class CdmFactory;
104 class DecoderFactory; 104 class DecoderFactory;
105 class MediaPermission; 105 class MediaPermission;
106 class MediaServiceProvider; 106 class MediaServiceProvider;
107 class RemotingController; 107 class RemotingRendererController;
108 class RendererWebMediaPlayerDelegate; 108 class RendererWebMediaPlayerDelegate;
109 class SurfaceManager; 109 class SurfaceManager;
110 class UrlIndex; 110 class UrlIndex;
111 class WebEncryptedMediaClientImpl; 111 class WebEncryptedMediaClientImpl;
112 } 112 }
113 113
114 namespace service_manager { 114 namespace service_manager {
115 class InterfaceRegistry; 115 class InterfaceRegistry;
116 class InterfaceProvider; 116 class InterfaceProvider;
117 } 117 }
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
1067 // synchronous find request. 1067 // synchronous find request.
1068 void SendFindReply(int request_id, 1068 void SendFindReply(int request_id,
1069 int match_count, 1069 int match_count,
1070 int ordinal, 1070 int ordinal,
1071 const blink::WebRect& selection_rect, 1071 const blink::WebRect& selection_rect,
1072 bool final_status_update); 1072 bool final_status_update);
1073 1073
1074 void InitializeBlameContext(RenderFrameImpl* parent_frame); 1074 void InitializeBlameContext(RenderFrameImpl* parent_frame);
1075 1075
1076 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) 1076 #if BUILDFLAG(ENABLE_MEDIA_REMOTING)
1077 // Creates the RemotingController to control whether to switch to/from media 1077 // Creates the RemotingRendererController to control whether to switch to/from
1078 // remoting from/to local playback. 1078 // media remoting from/to local playback.
1079 std::unique_ptr<media::RemotingController> CreateRemotingController(); 1079 std::unique_ptr<media::RemotingRendererController>
1080 CreateRemotingRendererController();
1080 #endif 1081 #endif
1081 1082
1082 // Stores the WebLocalFrame we are associated with. This is null from the 1083 // Stores the WebLocalFrame we are associated with. This is null from the
1083 // constructor until BindToWebFrame is called, and it is null after 1084 // constructor until BindToWebFrame is called, and it is null after
1084 // frameDetached is called until destruction (which is asynchronous in the 1085 // frameDetached is called until destruction (which is asynchronous in the
1085 // case of the main frame, but not subframes). 1086 // case of the main frame, but not subframes).
1086 blink::WebLocalFrame* frame_; 1087 blink::WebLocalFrame* frame_;
1087 1088
1088 // Boolean value indicating whether this RenderFrameImpl object is for the 1089 // Boolean value indicating whether this RenderFrameImpl object is for the
1089 // main frame or not. It remains accurate during destruction, even when 1090 // main frame or not. It remains accurate during destruction, even when
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
1341 bool browser_side_navigation_pending_ = false; 1342 bool browser_side_navigation_pending_ = false;
1342 1343
1343 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1344 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1344 1345
1345 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1346 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1346 }; 1347 };
1347 1348
1348 } // namespace content 1349 } // namespace content
1349 1350
1350 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1351 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | media/remoting/remoting_cdm_context.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698