| 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 e12d07a8e3ea6193f5b8e534737161b679327875..a66fc2c2bf32f06eb97a0aeb9444b03c1e4464d8 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.h
|
| +++ b/content/browser/frame_host/render_frame_host_impl.h
|
| @@ -51,6 +51,15 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
|
| RenderViewHostImpl* render_view_host() { return render_view_host_; }
|
| RenderFrameHostDelegate* delegate() { return delegate_; }
|
|
|
| + // Hack to get this subframe to swap out, without yet moving over all the
|
| + // state and machinery from RenderViewHost.
|
| + void SwapOut();
|
| + void OnSwappedOut(bool timed_out);
|
| + bool is_swapped_out() { return is_swapped_out_; }
|
| + void set_swapped_out(bool is_swapped_out) {
|
| + is_swapped_out_ = is_swapped_out;
|
| + }
|
| +
|
| protected:
|
| friend class RenderFrameHostFactory;
|
|
|
| @@ -73,8 +82,7 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
|
| int64 parent_frame_id,
|
| bool main_frame,
|
| const GURL& url);
|
| -
|
| - bool is_swapped_out() { return is_swapped_out_; }
|
| + void OnSwapOutACK();
|
|
|
| // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a
|
| // refcount that calls Shutdown when it reaches zero. This allows each
|
|
|