Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index c397f62d808b2e883ced34f988f2aab13c13a9b9..f2ad34eb372abd68ecbccd97d90d18ddcc1fa5d7 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -24,6 +24,7 @@ |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebTextInputType.h" |
+#include "ui/base/range/range.h" |
#include "ui/gfx/rect.h" |
#include "webkit/glue/context_menu.h" |
#include "webkit/glue/password_form.h" |
@@ -1633,8 +1634,9 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, |
WebKit::WebTextDirection /* text direction hint */) |
// Notification that the text selection has changed. |
-IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionChanged, |
- std::string /* currently selected text */) |
+IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionChanged, |
+ std::string /* currently selected text */, |
+ ui::Range /* selection range */) |
// Asks the browser to display the file chooser. The result is returned in a |
// ViewHost_RunFileChooserResponse message. |