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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.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/SelectionPopupController.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java b/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java
index 7d09872a33e72cc9650b8af1987dfeaa4dc23c53..3db2c5000bf2e9165d23c921ea1466670276b2ba 100644
--- a/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java
+++ b/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java
@@ -1064,6 +1064,12 @@ public class SelectionPopupController extends ActionModeCallbackHelper {
}
}
+ void onSelectWordAroundCaretAck(boolean didSelect, int startAdjust, int endAdjust) {
+ if (mSelectionClient != null) {
+ mSelectionClient.selectWordAroundCaretAck(didSelect, startAdjust, endAdjust);
+ }
+ }
+
void destroyActionModeAndUnselect() {
mUnselectAllOnDismiss = true;
finishActionMode();

Powered by Google App Engine
This is Rietveld 408576698