Index: content/common/input_messages.h |
diff --git a/content/common/input_messages.h b/content/common/input_messages.h |
index 14967b4847c40c01a2ac46b406d4105979de3dbe..50401ed4697ea4acc266644abae113d994b4f4aa 100644 |
--- a/content/common/input_messages.h |
+++ b/content/common/input_messages.h |
@@ -23,6 +23,7 @@ |
#include "content/public/common/common_param_traits.h" |
#include "ipc/ipc_message_macros.h" |
#include "third_party/WebKit/public/web/WebInputEvent.h" |
+#include "third_party/WebKit/public/web/WebLocalFrame.h" |
#include "ui/events/ipc/latency_info_param_traits.h" |
#include "ui/gfx/geometry/point.h" |
#include "ui/gfx/geometry/rect.h" |
@@ -47,6 +48,8 @@ IPC_ENUM_TRAITS_MAX_VALUE( |
IPC_ENUM_TRAITS_MAX_VALUE( |
content::SyntheticGestureParams::GestureType, |
content::SyntheticGestureParams::SYNTHETIC_GESTURE_TYPE_MAX) |
+IPC_ENUM_TRAITS_MAX_VALUE(blink::WebLocalFrame::TextGranularity, |
+ blink::WebLocalFrame::TextGranularityLast) |
IPC_ENUM_TRAITS_VALIDATE(content::TouchAction, ( |
value >= 0 && |
value <= content::TOUCH_ACTION_MAX && |
@@ -207,8 +210,9 @@ IPC_MESSAGE_ROUTED2(InputMsg_SelectRange, |
// Requests the renderer to move the selection extent point to a new position. |
// Expects a MoveRangeSelectionExtent_ACK message when finished. |
-IPC_MESSAGE_ROUTED1(InputMsg_MoveRangeSelectionExtent, |
- gfx::Point /* extent */) |
+IPC_MESSAGE_ROUTED2(InputMsg_MoveRangeSelectionExtent, |
+ gfx::Point /* extent */, |
+ blink::WebLocalFrame::TextGranularity /* granularity */) |
// Requests the renderer to move the caret selection toward the point. |
// Expects a MoveCaret_ACK message when finished. |