| 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 fe6afddd09d44dde202d18b06ab1d68ebf5ac1f2..b97f8c911b790b3c767ea8591186a04d0f99edbb 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.h
|
| +++ b/content/browser/frame_host/render_frame_host_impl.h
|
| @@ -204,6 +204,11 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| // SiteInstanceImpl::Observer
|
| void RenderProcessGone(SiteInstanceImpl* site_instance) override;
|
|
|
| + void SendTextSurroundingSelectionRequest(
|
| + const TextSurroundingSelectionCallback& callback,
|
| + int max_length) override;
|
| + bool HasTextSurroundingSelectionCallback() override;
|
| +
|
| // Creates a RenderFrame in the renderer process.
|
| bool CreateRenderFrame(int proxy_routing_id,
|
| int opener_routing_id,
|
| @@ -1039,6 +1044,10 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| mojo::Binding<mojom::FrameHost> frame_host_binding_;
|
| mojom::FramePtr frame_;
|
|
|
| + // Callback for responding when
|
| + // |FrameHostMsg_TextSurroundingSelectionResponse| message comes.
|
| + TextSurroundingSelectionCallback text_surrounding_selection_callback_;
|
| +
|
| // NOTE: This must be the last member.
|
| base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
|
|
|
|
|