Index: content/public/browser/android/content_view_core.h |
diff --git a/content/public/browser/android/content_view_core.h b/content/public/browser/android/content_view_core.h |
index 1501985b8a53bfa15439eb84ada178e1b8f34d63..cf620c0136e1ad40c3ff2ce8b2320be15e2fddd0 100644 |
--- a/content/public/browser/android/content_view_core.h |
+++ b/content/public/browser/android/content_view_core.h |
@@ -68,6 +68,13 @@ class CONTENT_EXPORT ContentViewCore { |
const gfx::Vector2dF& scroll_offset, |
float page_scale_factor)> UpdateFrameInfoCallback; |
+ // Text surrounding selection. |
+ virtual void RequestTextSurroundingSelection( |
+ int max_length, |
+ const base::Callback<void(const base::string16& content, |
+ int start_offset, |
+ int end_offset)>& callback) = 0; |
+ |
protected: |
virtual ~ContentViewCore() {}; |
}; |