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..75746d6e97b106d66b5caa57861e8a85b81e7e9d 100644 |
--- a/content/public/browser/android/content_view_core.h |
+++ b/content/public/browser/android/content_view_core.h |
@@ -8,8 +8,10 @@ |
#include <jni.h> |
#include "base/android/scoped_java_ref.h" |
+#include "base/basictypes.h" |
jdduke (slow)
2014/06/17 22:43:26
I don't think you need to add this include.
donnd
2014/06/18 00:09:58
Done.
|
#include "base/callback.h" |
#include "content/common/content_export.h" |
+#include "content/public/browser/android/text_surroundings_delegate.h" |
#include "content/public/browser/navigation_controller.h" |
#include "ui/gfx/rect.h" |
@@ -68,6 +70,11 @@ class CONTENT_EXPORT ContentViewCore { |
const gfx::Vector2dF& scroll_offset, |
float page_scale_factor)> UpdateFrameInfoCallback; |
+ // Text surrounding selection. |
+ virtual void SetTextSurroundingsDelegate(TextSurroundingsDelegate* delegate) |
+ = 0; |
jdduke (slow)
2014/06/17 22:43:26
"= 0;" should be "OVERRIDE;".
donnd
2014/06/18 00:09:59
Really? The compiler complains about that. Moot
|
+ virtual void RequestTextSurroundingSelection(int max_length) const = 0; |
+ |
protected: |
virtual ~ContentViewCore() {}; |
}; |