| Index: content/renderer/render_frame_impl.h
|
| diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
|
| index 181aae71d2c91cdfd9a41b0f875f5ef1d35398ee..5a19754c5de335d397e4f46cdd906d0b956dbdee 100644
|
| --- a/content/renderer/render_frame_impl.h
|
| +++ b/content/renderer/render_frame_impl.h
|
| @@ -799,6 +799,7 @@ class CONTENT_EXPORT RenderFrameImpl
|
| const blink::WebFindOptions& options);
|
| void OnStopFinding(StopFindAction action);
|
| void OnEnableViewSourceMode();
|
| + void OnSuppressDialogsUntilSwapOut();
|
| #if defined(OS_ANDROID)
|
| void OnActivateNearestFindResult(int request_id, float x, float y);
|
| void OnFindMatchRects(int current_version);
|
| @@ -1204,6 +1205,11 @@ class CONTENT_EXPORT RenderFrameImpl
|
| // Whether or not this RenderFrame is currently pasting.
|
| bool is_pasting_;
|
|
|
| + // Whether we must stop creating nested message loops for modal dialogs until
|
| + // OnSwapOut is called. This is necessary because modal dialogs have a
|
| + // PageGroupLoadDeferrer on the stack that interferes with swapping out.
|
| + bool suppress_dialogs_until_swap_out_;
|
| +
|
| #if defined(ENABLE_WEBVR)
|
| // The VR dispatcher attached to the frame, lazily initialized.
|
| scoped_ptr<VRDispatcher> vr_dispatcher_;
|
|
|