Index: content/browser/renderer_host/render_view_host_impl.h |
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h |
index f185fad883b99ad10431dafa1c058a73a38ca44a..1fd6a2de90c32a6e329999b0c3596973729b3147 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.h |
+++ b/content/browser/renderer_host/render_view_host_impl.h |
@@ -418,6 +418,9 @@ class CONTENT_EXPORT RenderViewHostImpl |
int64 main_frame_id() const { |
return main_frame_id_; |
} |
+ int main_frame_routing_id() const { |
+ return main_frame_routing_id_; |
+ } |
// Set the opener to null in the renderer process. |
void DisownOpener(); |
@@ -591,6 +594,11 @@ class CONTENT_EXPORT RenderViewHostImpl |
FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, BasicRenderFrameHost); |
FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, RoutingIdSane); |
+ // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate |
+ // utility functions and state needed in both classes, while we move frame |
+ // specific code away from this class. |
+ friend class RenderFrameHostImpl; |
Charlie Reis
2014/02/05 23:30:37
nit: Please move above line 593.
nasko
2014/02/06 01:55:13
Done.
|
+ |
// Sets whether this RenderViewHost is swapped out in favor of another, |
// and clears any waiting state that is no longer relevant. |
void SetSwappedOut(bool is_swapped_out); |