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

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

Issue 2703643004: [TTS] Add an ACK message to SelectWordAroundCaret. (Closed)
Patch Set: Update the other test in ContextualSearchTapEventTest.java to know about the ACK. Created 3 years, 7 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/SmartSelectionClient.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/SmartSelectionClient.java b/content/public/android/java/src/org/chromium/content/browser/SmartSelectionClient.java
index ea790c29ed90098bf46251af9b20f96316e25a3f..95b2803ae2629547cb049b40b14fdb2386852bb8 100644
--- a/content/public/android/java/src/org/chromium/content/browser/SmartSelectionClient.java
+++ b/content/public/android/java/src/org/chromium/content/browser/SmartSelectionClient.java
@@ -97,6 +97,9 @@ public class SmartSelectionClient implements SelectionClient {
mProvider.cancelAllRequests();
}
+ @Override
+ public void selectWordAroundCaretAck(boolean didSelect, int startAdjust, int endAdjust) {}
+
private void requestSurroundingText(@RequestType int callbackData) {
if (mNativeSmartSelectionClient == 0) {
onSurroundingTextReceived(callbackData, "", 0, 0);

Powered by Google App Engine
This is Rietveld 408576698