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

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

Issue 976313003: [DevTools] Expose DevToolsAgentHost for OOPIF, display it in chrome://inspect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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_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 <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 RenderViewHostImpl* render_view_host() { return render_view_host_; } 202 RenderViewHostImpl* render_view_host() { return render_view_host_; }
203 RenderFrameHostDelegate* delegate() { return delegate_; } 203 RenderFrameHostDelegate* delegate() { return delegate_; }
204 FrameTreeNode* frame_tree_node() { return frame_tree_node_; } 204 FrameTreeNode* frame_tree_node() { return frame_tree_node_; }
205 205
206 // This returns the RenderFrameHost's owned RenderWidgetHost if it has one, 206 // This returns the RenderFrameHost's owned RenderWidgetHost if it has one,
207 // or else it returns nullptr. 207 // or else it returns nullptr.
208 // If the RenderFrameHost is the page's main frame, this returns instead a 208 // If the RenderFrameHost is the page's main frame, this returns instead a
209 // pointer to the RenderViewHost (which inherits RenderWidgetHost). 209 // pointer to the RenderViewHost (which inherits RenderWidgetHost).
210 RenderWidgetHostImpl* GetRenderWidgetHost(); 210 RenderWidgetHostImpl* GetRenderWidgetHost();
211 211
212 // Returns whether this frame is the root of the frame group. Frame group
Charlie Reis 2015/03/05 20:31:14 This is redundant with IsCrossProcessSubframe, so
dgozman 2015/03/06 16:14:14 Done.
213 // is the continuous group of frames living in the same process.
214 bool IsFrameGroupRoot() { return GetRenderWidgetHost(); }
nasko 2015/03/05 15:20:48 non-trivial method's implementations need to be in
215
212 // This returns the RenderWidgetHostView that can be used to control 216 // This returns the RenderWidgetHostView that can be used to control
213 // focus and visibility for this frame. 217 // focus and visibility for this frame.
214 RenderWidgetHostView* GetView(); 218 RenderWidgetHostView* GetView();
215 219
216 // This function is called when this is a swapped out RenderFrameHost that 220 // This function is called when this is a swapped out RenderFrameHost that
217 // lives in the same process as the parent frame. The 221 // lives in the same process as the parent frame. The
218 // |cross_process_frame_connector| allows the non-swapped-out 222 // |cross_process_frame_connector| allows the non-swapped-out
219 // RenderFrameHost for a frame to communicate with the parent process 223 // RenderFrameHost for a frame to communicate with the parent process
220 // so that it may composite drawing data. 224 // so that it may composite drawing data.
221 // 225 //
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 708
705 // NOTE: This must be the last member. 709 // NOTE: This must be the last member.
706 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 710 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
707 711
708 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 712 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
709 }; 713 };
710 714
711 } // namespace content 715 } // namespace content
712 716
713 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 717 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698