Index: content/public/browser/render_view_host.h |
diff --git a/content/public/browser/render_view_host.h b/content/public/browser/render_view_host.h |
index 2620d6ff43e63bc246a245f6f6cd849f42f70010..e25ac1f5785ed6992e0e31840273e0a1659b957f 100644 |
--- a/content/public/browser/render_view_host.h |
+++ b/content/public/browser/render_view_host.h |
@@ -206,6 +206,9 @@ class CONTENT_EXPORT RenderViewHost : virtual public RenderWidgetHost { |
// Sets the mojo handle for WebUI pages. |
virtual void SetWebUIHandle(mojo::ScopedMessagePipeHandle handle) = 0; |
+ // Notify the render view host to select the word around the caret. |
+ virtual void SelectWordAroundCaret() = 0; |
+ |
#if defined(OS_ANDROID) |
// Selects and zooms to the find result nearest to the point (x,y) |
// defined in find-in-page coordinates. |