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

Unified Diff: content/common/view_messages.h

Issue 2703643004: [TTS] Add an ACK message to SelectWordAroundCaret. (Closed)
Patch Set: Changed to send the message on all platforms, not just Android. Created 3 years, 10 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 93459214ab4475afb0eac075e1528f09a813472d..0a1dd5e3387f4c10795e87b4918bfc1b82888c8e 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -871,6 +871,13 @@ IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstPaintAfterLoad)
// Sent in reply to ViewMsg_WaitForNextFrameForTests.
IPC_MESSAGE_ROUTED0(ViewHostMsg_WaitForNextFrameForTests_ACK)
+// Acknowledges that a SelectWordAroundCaret completed with the specified
+// result and adjustments to the selection offsets.
+IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectWordAroundCaretAck,
+ bool /* did_select */,
+ int /* start_adjust */,
+ int /* end_adjust */)
+
#if defined(OS_ANDROID)
// Start an android intent with the given URI.
IPC_MESSAGE_ROUTED2(ViewHostMsg_StartContentIntent,

Powered by Google App Engine
This is Rietveld 408576698