Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2544)

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java

Issue 322203002: Add an interface to gather text surrounding the selection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@surroundings-patch-5
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
index 4a298a890e61afdc8d9502fc7d5600cebb7237a3..64b1d582eca608e3d74a9dcea2fbc615e6fcaa91 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
@@ -2489,11 +2489,6 @@ public class ContentViewCore
attachImeAdapter();
}
- @CalledByNative
- private void onTextSurroundingSelectionResponse(
- String content, int startOffset, int endOffset) {
- }
-
/**
* Attaches the native ImeAdapter object to the java ImeAdapter to allow communication via JNI.
*/
@@ -3250,7 +3245,4 @@ public class ContentViewCore
private native void nativeExtractSmartClipData(long nativeContentViewCoreImpl,
int x, int y, int w, int h);
private native void nativeSetBackgroundOpaque(long nativeContentViewCoreImpl, boolean opaque);
-
- private native void nativeTextSurroundingSelectionRequest(
- long nativeContentViewCoreImpl, int maxLength);
}

Powered by Google App Engine
This is Rietveld 408576698