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

Unified Diff: content/common/text_input_client_messages.h

Issue 166903005: mac: Add support for asynchronous dictionary lookup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for dcheng and rebase. Created 6 years, 9 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/text_input_client_messages.h
diff --git a/content/common/text_input_client_messages.h b/content/common/text_input_client_messages.h
index 871778f77bf3901f6e41ff52e877a1e65f6c055c..4c8fb49384eb7ef934bf1007a39db4231992c14c 100644
--- a/content/common/text_input_client_messages.h
+++ b/content/common/text_input_client_messages.h
@@ -33,6 +33,10 @@ IPC_MESSAGE_ROUTED1(TextInputClientMsg_FirstRectForCharacterRange,
IPC_MESSAGE_ROUTED1(TextInputClientMsg_StringForRange,
gfx::Range)
+// Tells the renderer to send back the word under the given point and its
+// baseline point.
+IPC_MESSAGE_ROUTED1(TextInputClientMsg_StringAtPoint, gfx::Point)
+
////////////////////////////////////////////////////////////////////////////////
// Renderer -> Browser Replies /////////////////////////////////////////////////
@@ -51,5 +55,10 @@ IPC_MESSAGE_ROUTED1(TextInputClientReplyMsg_GotFirstRectForRange,
// Reply message for TextInputClientMsg_StringForRange.
IPC_MESSAGE_ROUTED1(TextInputClientReplyMsg_GotStringForRange,
mac::AttributedStringCoder::EncodedString)
+
+// Reply message for TextInputClientMsg_StringAtPoint
+IPC_MESSAGE_ROUTED2(TextInputClientReplyMsg_GotStringAtPoint,
+ mac::AttributedStringCoder::EncodedString,
+ gfx::Point)
#endif // defined(OS_MACOSX)
« no previous file with comments | « content/browser/renderer_host/text_input_client_message_filter.mm ('k') | content/renderer/text_input_client_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698