Chromium Code Reviews| 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 e3972d6f2c01da04b1fce6300f320978b3e61a12..3ce887042ec28ac342947efe9cf2a8c92c8c49f6 100644 |
| --- a/content/browser/frame_host/render_frame_host_impl.h |
| +++ b/content/browser/frame_host/render_frame_host_impl.h |
| @@ -593,7 +593,8 @@ class CONTENT_EXPORT RenderFrameHostImpl |
| FrameTreeNode* frame_tree_node, |
| int32_t routing_id, |
| int32_t widget_routing_id, |
| - bool hidden); |
| + bool hidden, |
| + bool renderer_initiated_creation); |
| private: |
| friend class TestRenderFrameHost; |
| @@ -1040,6 +1041,15 @@ class CONTENT_EXPORT RenderFrameHostImpl |
| mojo::Binding<mojom::FrameHost> frame_host_binding_; |
| mojom::FramePtr frame_; |
| + // If this is true then this object was created in response to a renderer |
| + // initiated request. Init() will be called, and until then requests should |
|
nasko
2016/11/04 21:47:29
nit: "navigation requests"
jam
2016/11/04 22:14:01
Done.
|
| + // be queued. |
| + bool waiting_for_init_; |
| + |
| + typedef std::pair<CommonNavigationParams, BeginNavigationParams> |
| + PendingNavigate; |
|
nasko
2016/11/04 21:47:29
nit: PendingNavigation
jam
2016/11/04 22:14:25
Done.
|
| + std::unique_ptr<PendingNavigate> pendinging_navigate_; |
| + |
| // Callback for responding when |
| // |FrameHostMsg_TextSurroundingSelectionResponse| message comes. |
| TextSurroundingSelectionCallback text_surrounding_selection_callback_; |