OLD | NEW |
---|---|
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
98 class Point; | 98 class Point; |
99 class Range; | 99 class Range; |
100 class Rect; | 100 class Rect; |
101 } | 101 } |
102 | 102 |
103 namespace media { | 103 namespace media { |
104 class CdmFactory; | 104 class CdmFactory; |
105 class DecoderFactory; | 105 class DecoderFactory; |
106 class MediaPermission; | 106 class MediaPermission; |
107 class MediaServiceProvider; | 107 class MediaServiceProvider; |
108 class RemotingController; | |
108 class RendererWebMediaPlayerDelegate; | 109 class RendererWebMediaPlayerDelegate; |
109 class SurfaceManager; | 110 class SurfaceManager; |
110 class UrlIndex; | 111 class UrlIndex; |
111 class WebEncryptedMediaClientImpl; | 112 class WebEncryptedMediaClientImpl; |
112 } | 113 } |
113 | 114 |
114 namespace shell { | 115 namespace shell { |
115 class InterfaceRegistry; | 116 class InterfaceRegistry; |
116 class InterfaceProvider; | 117 class InterfaceProvider; |
117 } | 118 } |
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1041 // Sends a reply to the current find operation handling if it was a | 1042 // Sends a reply to the current find operation handling if it was a |
1042 // synchronous find request. | 1043 // synchronous find request. |
1043 void SendFindReply(int request_id, | 1044 void SendFindReply(int request_id, |
1044 int match_count, | 1045 int match_count, |
1045 int ordinal, | 1046 int ordinal, |
1046 const blink::WebRect& selection_rect, | 1047 const blink::WebRect& selection_rect, |
1047 bool final_status_update); | 1048 bool final_status_update); |
1048 | 1049 |
1049 void InitializeBlameContext(RenderFrameImpl* parent_frame); | 1050 void InitializeBlameContext(RenderFrameImpl* parent_frame); |
1050 | 1051 |
1052 #if defined(ENABLE_MEDIA_REMOTING) | |
1053 // 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.
| |
1054 // remoting from/to local playback. | |
1055 std::unique_ptr<media::RemotingController> CreateRemotingController(); | |
1056 #endif // defined(ENABLE_MEDIA_REMOTING) | |
1057 | |
1051 // Stores the WebLocalFrame we are associated with. This is null from the | 1058 // Stores the WebLocalFrame we are associated with. This is null from the |
1052 // constructor until BindToWebFrame is called, and it is null after | 1059 // constructor until BindToWebFrame is called, and it is null after |
1053 // frameDetached is called until destruction (which is asynchronous in the | 1060 // frameDetached is called until destruction (which is asynchronous in the |
1054 // case of the main frame, but not subframes). | 1061 // case of the main frame, but not subframes). |
1055 blink::WebLocalFrame* frame_; | 1062 blink::WebLocalFrame* frame_; |
1056 | 1063 |
1057 // Boolean value indicating whether this RenderFrameImpl object is for the | 1064 // Boolean value indicating whether this RenderFrameImpl object is for the |
1058 // main frame or not. It remains accurate during destruction, even when | 1065 // main frame or not. It remains accurate during destruction, even when |
1059 // |frame_| has been invalidated. | 1066 // |frame_| has been invalidated. |
1060 bool is_main_frame_; | 1067 bool is_main_frame_; |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1294 remote_associated_interfaces_; | 1301 remote_associated_interfaces_; |
1295 | 1302 |
1296 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1303 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1297 | 1304 |
1298 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1305 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1299 }; | 1306 }; |
1300 | 1307 |
1301 } // namespace content | 1308 } // namespace content |
1302 | 1309 |
1303 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1310 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |