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

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

Issue 2407303005: Let embedder provide select action mode (Closed)
Patch Set: fixing tests Created 4 years, 1 month 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/webcontents/WebContentsImpl.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
index aa601e8d34d2b66986eff46b55bf11bacda1e46d..2803d37f91dad0afd556110c621b488b1f9babc3 100644
--- a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
+++ b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
@@ -451,6 +451,11 @@ import java.util.UUID;
callback.onFinishDownloadImage(id, httpStatusCode, imageUrl, bitmaps, sizes);
}
+ @Override
+ public void dismissTextHandles() {
+ nativeDismissTextHandles(mNativeWebContentsAndroid);
+ }
+
@CalledByNative
private final void setMediaSession(MediaSessionImpl mediaSession) {
mMediaSession = mediaSession;
@@ -535,4 +540,5 @@ import java.util.UUID;
private native int nativeDownloadImage(long nativeWebContentsAndroid,
String url, boolean isFavicon, int maxBitmapSize,
boolean bypassCache, ImageDownloadCallback callback);
+ private native void nativeDismissTextHandles(long nativeWebContentsAndroid);
}

Powered by Google App Engine
This is Rietveld 408576698