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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 class Point; | 96 class Point; |
97 class Range; | 97 class Range; |
98 class Rect; | 98 class Rect; |
99 } | 99 } |
100 | 100 |
101 namespace media { | 101 namespace media { |
102 class CdmFactory; | 102 class CdmFactory; |
103 class DecoderFactory; | 103 class DecoderFactory; |
104 class MediaPermission; | 104 class MediaPermission; |
105 class MediaServiceProvider; | 105 class MediaServiceProvider; |
106 class RemotingController; | 106 class RemotingRendererController; |
107 class RendererWebMediaPlayerDelegate; | 107 class RendererWebMediaPlayerDelegate; |
108 class SurfaceManager; | 108 class SurfaceManager; |
109 class UrlIndex; | 109 class UrlIndex; |
110 class WebEncryptedMediaClientImpl; | 110 class WebEncryptedMediaClientImpl; |
111 } | 111 } |
112 | 112 |
113 namespace service_manager { | 113 namespace service_manager { |
114 class InterfaceRegistry; | 114 class InterfaceRegistry; |
115 class InterfaceProvider; | 115 class InterfaceProvider; |
116 } | 116 } |
(...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 // synchronous find request. | 1060 // synchronous find request. |
1061 void SendFindReply(int request_id, | 1061 void SendFindReply(int request_id, |
1062 int match_count, | 1062 int match_count, |
1063 int ordinal, | 1063 int ordinal, |
1064 const blink::WebRect& selection_rect, | 1064 const blink::WebRect& selection_rect, |
1065 bool final_status_update); | 1065 bool final_status_update); |
1066 | 1066 |
1067 void InitializeBlameContext(RenderFrameImpl* parent_frame); | 1067 void InitializeBlameContext(RenderFrameImpl* parent_frame); |
1068 | 1068 |
1069 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) | 1069 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) |
1070 // Creates the RemotingController to control whether to switch to/from media | 1070 // Creates the RemotingRendererController to control whether to switch to/from |
1071 // remoting from/to local playback. | 1071 // media remoting from/to local playback. |
1072 std::unique_ptr<media::RemotingController> CreateRemotingController(); | 1072 std::unique_ptr<media::RemotingRendererController> |
| 1073 CreateRemotingRendererController(); |
1073 #endif | 1074 #endif |
1074 | 1075 |
1075 // Stores the WebLocalFrame we are associated with. This is null from the | 1076 // Stores the WebLocalFrame we are associated with. This is null from the |
1076 // constructor until BindToWebFrame is called, and it is null after | 1077 // constructor until BindToWebFrame is called, and it is null after |
1077 // frameDetached is called until destruction (which is asynchronous in the | 1078 // frameDetached is called until destruction (which is asynchronous in the |
1078 // case of the main frame, but not subframes). | 1079 // case of the main frame, but not subframes). |
1079 blink::WebLocalFrame* frame_; | 1080 blink::WebLocalFrame* frame_; |
1080 | 1081 |
1081 // Boolean value indicating whether this RenderFrameImpl object is for the | 1082 // Boolean value indicating whether this RenderFrameImpl object is for the |
1082 // main frame or not. It remains accurate during destruction, even when | 1083 // main frame or not. It remains accurate during destruction, even when |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1330 bool browser_side_navigation_pending_ = false; | 1331 bool browser_side_navigation_pending_ = false; |
1331 | 1332 |
1332 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1333 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1333 | 1334 |
1334 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1335 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1335 }; | 1336 }; |
1336 | 1337 |
1337 } // namespace content | 1338 } // namespace content |
1338 | 1339 |
1339 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1340 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |