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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 404613005: Start using RenderFrameProxyHost objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 86e05d622e81c21864a26aee22a6ffa9d77ed854..9e52f81cae3610a8e36160ac82016088d2b55c5c 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -76,6 +76,8 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
// IPC::Listener
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
+ bool CreateRenderFrame(int parent_routing_id);
+ bool IsRenderFrameLive();
void Init();
int routing_id() const { return routing_id_; }
void OnCreateChildFrame(int new_routing_id,
@@ -87,6 +89,7 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
// TODO(nasko): The RenderWidgetHost will be owned by RenderFrameHost in
// the future, so update this accessor to return the right pointer.
RenderWidgetHostImpl* GetRenderWidgetHost();
+ bool has_received_swap_out_ack() { return has_received_swap_out_ack_; }
// This function is called when this is a swapped out RenderFrameHost that
// lives in the same process as the parent frame. The
@@ -302,6 +305,8 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
int routing_id_;
bool is_swapped_out_;
+ bool renderer_initialized_;
+ bool has_received_swap_out_ack_;
// When the last BeforeUnload message was sent.
base::TimeTicks send_before_unload_start_time_;

Powered by Google App Engine
This is Rietveld 408576698