Index: chrome/common/render_messages_internal.h |
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h |
index aa9172e0856b1dc72bdd65ed39656cdaecba9240..3adbf49827f487b50df64f93a92bf9d8fffcc28d 100644 |
--- a/chrome/common/render_messages_internal.h |
+++ b/chrome/common/render_messages_internal.h |
@@ -892,6 +892,20 @@ IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, |
IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionConfirmed, |
string16 /* text */, |
int /* plugin_id */) |
+ |
+// Tells the renderer to send back the character index for a point. |
+IPC_MESSAGE_ROUTED1(ViewMsg_CharacterIndexForPoint, |
+ gfx::Point) |
+ |
+// Tells the renderer to send back the rectangle for a given character range. |
+IPC_MESSAGE_ROUTED2(ViewMsg_FirstRectForCharacterRange, |
+ uint /* location */, |
+ uint /* length */) |
+ |
+// Tells the renderer to send back the text fragment in a given range. |
+IPC_MESSAGE_ROUTED2(ViewMsg_StringForRange, |
+ uint /* location */, |
+ uint /* length */) |
#endif |
// Response message to ViewHostMsg_CreateShared/DedicatedWorker. |
@@ -1649,6 +1663,12 @@ IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_LoadFont, |
FontDescriptor /* font to load */, |
uint32 /* buffer size */, |
base::SharedMemoryHandle /* font data */) |
+ |
+IPC_MESSAGE_ROUTED1(ViewHostMsg_GotCharacterIndexForPoint, |
+ uint) |
+IPC_MESSAGE_ROUTED1(ViewHostMsg_GotFirstRectForRange, gfx::Rect) |
+IPC_MESSAGE_ROUTED1(ViewHostMsg_GotStringForRange, |
+ string16) |
#endif |
#if defined(OS_WIN) |