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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.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/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 27e84a31e0c42fce6d35f55745227f2b5c6115d8..40182a1e09a563022f220e2973991205bd835bb7 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
@@ -867,6 +867,12 @@ public class ContentViewCore
mSelectionPopupController.onShowUnhandledTapUIIfNeeded(x, y);
}
+ @SuppressWarnings("unused")
+ @CalledByNative
+ private void onSelectWordAroundCaretAck(boolean didSelect, int startAdjust, int endAdjust) {
+ mSelectionPopupController.onSelectWordAroundCaretAck(didSelect, startAdjust, endAdjust);
+ }
+
/**
* Called just prior to a tap or press gesture being forwarded to the renderer.
*/
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/android/java/src/org/chromium/content/browser/SelectionClient.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698