| Index: content/browser/frame_host/render_frame_host_impl.cc
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
|
| index a62b7f8cd18f1ac9a9a4f9aa57a18f1fad49ce28..2cd8f543d18e73d3a1db58b7396ded505fe40908 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -320,6 +320,8 @@ bool RenderFrameHostImpl::OnMessageReceived(const IPC::Message &msg) {
|
| OnShowDesktopNotification)
|
| IPC_MESSAGE_HANDLER(DesktopNotificationHostMsg_Cancel,
|
| OnCancelDesktopNotification)
|
| + IPC_MESSAGE_HANDLER(FrameHostMsg_TextSurroundingSelectionResponse,
|
| + OnTextSurroundingSelectionResponse)
|
| IPC_END_MESSAGE_MAP()
|
|
|
| return handled;
|
| @@ -693,6 +695,14 @@ void RenderFrameHostImpl::OnCancelDesktopNotification(int notification_id) {
|
| cancel_notification_callbacks_.erase(notification_id);
|
| }
|
|
|
| +void RenderFrameHostImpl::OnTextSurroundingSelectionResponse(
|
| + const base::string16& content,
|
| + unsigned start_offset,
|
| + unsigned end_offset) {
|
| + render_view_host_->OnTextSurroundingSelectionResponse(
|
| + content, start_offset, end_offset);
|
| +}
|
| +
|
| void RenderFrameHostImpl::OnDidAccessInitialDocument() {
|
| delegate_->DidAccessInitialDocument();
|
| }
|
|
|