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

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

Issue 1409443002: Make Chrome and WebView replace the selected text with the processed text. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address Bo's comments Created 5 years, 2 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/ContentViewClient.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
index 8a81f8fbafc9c54b97cbb6a01ab36936598c2101..53d2061848e48da88af97424cc8df25f0155de4e 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
@@ -105,6 +105,15 @@ public class ContentViewClient {
return false;
}
+ public boolean doesPerformProcessText() {
jdduke (slow) 2015/10/22 00:43:56 Javadoc, preferably with a bit more context behind
hush (inactive) 2015/10/22 19:27:37 Done.
+ return false;
+ }
+
+ /**
+ * Send the intent to process the current selected text.
+ */
+ public void startProcessTextIntent(Intent intent) {}
+
/**
* Called when a new content intent is requested to be started.
*/

Powered by Google App Engine
This is Rietveld 408576698