Index: content/public/browser/render_widget_host_view.h |
diff --git a/content/public/browser/render_widget_host_view.h b/content/public/browser/render_widget_host_view.h |
index 6d348f72e84fc364fc7fc7243084c4da233661a3..17cb62abc0880331683fca7b95a121acc25ef5b9 100644 |
--- a/content/public/browser/render_widget_host_view.h |
+++ b/content/public/browser/render_widget_host_view.h |
@@ -104,6 +104,9 @@ class CONTENT_EXPORT RenderWidgetHostView { |
// Tells the View whether the context menu is showing. |
virtual void SetShowingContextMenu(bool showing) = 0; |
+ // Returns the currently selected text. |
+ virtual string16 GetSelectedText() const = 0; |
+ |
#if defined(OS_MACOSX) |
// Set the view's active state (i.e., tint state of controls). |
virtual void SetActive(bool active) = 0; |