| Index: content/public/browser/render_frame_host.h | 
| diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h | 
| index 2fcb9cf15140032fcea2101bb9787b5248542fac..c6888b1145f8c3143c9242aac13076e985d0ddf9 100644 | 
| --- a/content/public/browser/render_frame_host.h | 
| +++ b/content/public/browser/render_frame_host.h | 
| @@ -210,6 +210,15 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, | 
| const std::vector<content::FileChooserFileInfo>& files, | 
| FileChooserParams::Mode permissions) = 0; | 
|  | 
| +  // Text surrounding selection. | 
| +  typedef base::Callback< | 
| +      void(const base::string16& content, int start_offset, int end_offset)> | 
| +      TextSurroundingSelectionCallback; | 
| +  virtual void SendTextSurroundingSelectionRequest( | 
| +      const TextSurroundingSelectionCallback& callback, | 
| +      int max_length) = 0; | 
| +  virtual bool HasTextSurroundingSelectionCallback() = 0; | 
| + | 
| private: | 
| // This interface should only be implemented inside content. | 
| friend class RenderFrameHostImpl; | 
|  |