Chromium Code Reviews| 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 58 #if defined(USE_EXTERNAL_POPUP_MENU) | 58 #if defined(USE_EXTERNAL_POPUP_MENU) |
| 59 struct FrameHostMsg_ShowPopup_Params; | 59 struct FrameHostMsg_ShowPopup_Params; |
| 60 #endif | 60 #endif |
| 61 | 61 |
| 62 namespace base { | 62 namespace base { |
| 63 class FilePath; | 63 class FilePath; |
| 64 class ListValue; | 64 class ListValue; |
| 65 } | 65 } |
| 66 | 66 |
| 67 namespace blink { | 67 namespace blink { |
| 68 struct WebFrameOwnerProperties; | |
| 69 } | |
| 70 | |
| 71 namespace blink { | |
| 72 namespace mojom { | 68 namespace mojom { |
| 73 class WebBluetoothService; | 69 class WebBluetoothService; |
| 74 } | 70 } |
| 75 } | 71 } |
| 76 | 72 |
| 77 namespace content { | 73 namespace content { |
| 78 | 74 |
| 79 class CrossProcessFrameConnector; | 75 class CrossProcessFrameConnector; |
| 80 class CrossSiteTransferringRequest; | 76 class CrossSiteTransferringRequest; |
| 81 class FrameMojoShell; | 77 class FrameMojoShell; |
| 82 class FrameTree; | 78 class FrameTree; |
| 83 class FrameTreeNode; | 79 class FrameTreeNode; |
| 84 class NavigationHandleImpl; | 80 class NavigationHandleImpl; |
| 85 class PermissionServiceContext; | 81 class PermissionServiceContext; |
| 86 class RenderFrameHostDelegate; | 82 class RenderFrameHostDelegate; |
| 87 class RenderFrameProxyHost; | 83 class RenderFrameProxyHost; |
| 88 class RenderProcessHost; | 84 class RenderProcessHost; |
| 89 class RenderViewHostImpl; | 85 class RenderViewHostImpl; |
| 90 class RenderWidgetHostDelegate; | 86 class RenderWidgetHostDelegate; |
| 91 class RenderWidgetHostImpl; | 87 class RenderWidgetHostImpl; |
| 92 class RenderWidgetHostView; | 88 class RenderWidgetHostView; |
| 93 class RenderWidgetHostViewBase; | 89 class RenderWidgetHostViewBase; |
| 94 class ResourceRequestBody; | 90 class ResourceRequestBody; |
| 95 class StreamHandle; | 91 class StreamHandle; |
| 96 class TimeoutMonitor; | 92 class TimeoutMonitor; |
| 97 class WebBluetoothServiceImpl; | 93 class WebBluetoothServiceImpl; |
| 98 struct ContentSecurityPolicyHeader; | 94 struct ContentSecurityPolicyHeader; |
| 99 struct ContextMenuParams; | 95 struct ContextMenuParams; |
| 100 struct FileChooserParams; | 96 struct FileChooserParams; |
| 97 struct FileChooserParams; | |
|
alexmos
2016/07/19 00:15:56
Why are there two of these? Did you mean FrameOwn
raymes
2016/07/19 05:53:09
There were already 2 in the list and when I sorted
| |
| 101 struct FrameOwnerProperties; | 98 struct FrameOwnerProperties; |
| 102 struct GlobalRequestID; | 99 struct GlobalRequestID; |
| 103 struct FileChooserParams; | |
| 104 struct Referrer; | 100 struct Referrer; |
| 105 struct ResourceResponse; | 101 struct ResourceResponse; |
| 106 | 102 |
| 107 class CONTENT_EXPORT RenderFrameHostImpl | 103 class CONTENT_EXPORT RenderFrameHostImpl |
| 108 : public RenderFrameHost, | 104 : public RenderFrameHost, |
| 109 NON_EXPORTED_BASE(public mojom::FrameHost), | 105 NON_EXPORTED_BASE(public mojom::FrameHost), |
| 110 public BrowserAccessibilityDelegate, | 106 public BrowserAccessibilityDelegate, |
| 111 public SiteInstanceImpl::Observer { | 107 public SiteInstanceImpl::Observer { |
| 112 public: | 108 public: |
| 113 using AXTreeSnapshotCallback = | 109 using AXTreeSnapshotCallback = |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 217 // Tracks whether the RenderFrame for this RenderFrameHost has been created in | 213 // Tracks whether the RenderFrame for this RenderFrameHost has been created in |
| 218 // the renderer process. This is currently only used for subframes. | 214 // the renderer process. This is currently only used for subframes. |
| 219 // TODO(creis): Use this for main frames as well when RVH goes away. | 215 // TODO(creis): Use this for main frames as well when RVH goes away. |
| 220 void SetRenderFrameCreated(bool created); | 216 void SetRenderFrameCreated(bool created); |
| 221 | 217 |
| 222 // Called for renderer-created windows to resume requests from this frame, | 218 // Called for renderer-created windows to resume requests from this frame, |
| 223 // after they are blocked in RenderWidgetHelper::CreateNewWindow. | 219 // after they are blocked in RenderWidgetHelper::CreateNewWindow. |
| 224 void Init(); | 220 void Init(); |
| 225 | 221 |
| 226 int routing_id() const { return routing_id_; } | 222 int routing_id() const { return routing_id_; } |
| 227 void OnCreateChildFrame( | 223 void OnCreateChildFrame(int new_routing_id, |
| 228 int new_routing_id, | 224 blink::WebTreeScopeType scope, |
| 229 blink::WebTreeScopeType scope, | 225 const std::string& frame_name, |
| 230 const std::string& frame_name, | 226 const std::string& frame_unique_name, |
| 231 const std::string& frame_unique_name, | 227 blink::WebSandboxFlags sandbox_flags, |
| 232 blink::WebSandboxFlags sandbox_flags, | 228 const FrameOwnerProperties& frame_owner_properties); |
| 233 const blink::WebFrameOwnerProperties& frame_owner_properties); | |
| 234 | 229 |
| 235 RenderViewHostImpl* render_view_host() { return render_view_host_; } | 230 RenderViewHostImpl* render_view_host() { return render_view_host_; } |
| 236 RenderFrameHostDelegate* delegate() { return delegate_; } | 231 RenderFrameHostDelegate* delegate() { return delegate_; } |
| 237 FrameTreeNode* frame_tree_node() { return frame_tree_node_; } | 232 FrameTreeNode* frame_tree_node() { return frame_tree_node_; } |
| 238 | 233 |
| 239 const GURL& last_committed_url() const { return last_committed_url_; } | 234 const GURL& last_committed_url() const { return last_committed_url_; } |
| 240 | 235 |
| 241 // Allows FrameTreeNode::SetCurrentURL to update this frame's last committed | 236 // Allows FrameTreeNode::SetCurrentURL to update this frame's last committed |
| 242 // URL. Do not call this directly, since we rely on SetCurrentURL to track | 237 // URL. Do not call this directly, since we rely on SetCurrentURL to track |
| 243 // whether a real load has committed or not. | 238 // whether a real load has committed or not. |
| (...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1044 | 1039 |
| 1045 // NOTE: This must be the last member. | 1040 // NOTE: This must be the last member. |
| 1046 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1041 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 1047 | 1042 |
| 1048 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1043 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 1049 }; | 1044 }; |
| 1050 | 1045 |
| 1051 } // namespace content | 1046 } // namespace content |
| 1052 | 1047 |
| 1053 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1048 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |