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

Side by Side Diff: content/browser/frame_host/render_frame_host_manager.h

Issue 1875463002: Remove unused fields from //content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scythe-root
Patch Set: Fixed Ozone build. Created 4 years, 8 months 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 181
182 // All three delegate pointers must be non-NULL and are not owned by this 182 // All three delegate pointers must be non-NULL and are not owned by this
183 // class. They must outlive this class. The RenderViewHostDelegate and 183 // class. They must outlive this class. The RenderViewHostDelegate and
184 // RenderWidgetHostDelegate are what will be installed into all 184 // RenderWidgetHostDelegate are what will be installed into all
185 // RenderViewHosts that are created. 185 // RenderViewHosts that are created.
186 // 186 //
187 // You must call Init() before using this class. 187 // You must call Init() before using this class.
188 RenderFrameHostManager( 188 RenderFrameHostManager(
189 FrameTreeNode* frame_tree_node, 189 FrameTreeNode* frame_tree_node,
190 RenderFrameHostDelegate* render_frame_delegate, 190 RenderFrameHostDelegate* render_frame_delegate,
191 RenderViewHostDelegate* render_view_delegate,
192 RenderWidgetHostDelegate* render_widget_delegate, 191 RenderWidgetHostDelegate* render_widget_delegate,
193 Delegate* delegate); 192 Delegate* delegate);
194 ~RenderFrameHostManager(); 193 ~RenderFrameHostManager();
195 194
196 // For arguments, see WebContentsImpl constructor. 195 // For arguments, see WebContentsImpl constructor.
197 void Init(SiteInstance* site_instance, 196 void Init(SiteInstance* site_instance,
198 int32_t view_routing_id, 197 int32_t view_routing_id,
199 int32_t frame_routing_id, 198 int32_t frame_routing_id,
200 int32_t widget_routing_id); 199 int32_t widget_routing_id);
201 200
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 738
740 // For use in creating RenderFrameHosts. 739 // For use in creating RenderFrameHosts.
741 FrameTreeNode* frame_tree_node_; 740 FrameTreeNode* frame_tree_node_;
742 741
743 // Our delegate, not owned by us. Guaranteed non-NULL. 742 // Our delegate, not owned by us. Guaranteed non-NULL.
744 Delegate* delegate_; 743 Delegate* delegate_;
745 744
746 // Implemented by the owner of this class. These delegates are installed into 745 // Implemented by the owner of this class. These delegates are installed into
747 // all the RenderFrameHosts that we create. 746 // all the RenderFrameHosts that we create.
748 RenderFrameHostDelegate* render_frame_delegate_; 747 RenderFrameHostDelegate* render_frame_delegate_;
749 RenderViewHostDelegate* render_view_delegate_;
750 RenderWidgetHostDelegate* render_widget_delegate_; 748 RenderWidgetHostDelegate* render_widget_delegate_;
751 749
752 // Our RenderFrameHost which is responsible for all communication with a child 750 // Our RenderFrameHost which is responsible for all communication with a child
753 // RenderFrame instance. 751 // RenderFrame instance.
754 // For now, RenderFrameHost keeps a RenderViewHost in its SiteInstance alive. 752 // For now, RenderFrameHost keeps a RenderViewHost in its SiteInstance alive.
755 // Eventually, RenderViewHost will be replaced with a page context. 753 // Eventually, RenderViewHost will be replaced with a page context.
756 std::unique_ptr<RenderFrameHostImpl> render_frame_host_; 754 std::unique_ptr<RenderFrameHostImpl> render_frame_host_;
757 755
758 // A RenderFrameHost used to load a cross-site page. This remains hidden 756 // A RenderFrameHost used to load a cross-site page. This remains hidden
759 // while a cross-site request is pending until it calls DidNavigate. 757 // while a cross-site request is pending until it calls DidNavigate.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; 796 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_;
799 797
800 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; 798 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_;
801 799
802 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); 800 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager);
803 }; 801 };
804 802
805 } // namespace content 803 } // namespace content
806 804
807 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 805 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698