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

Unified Diff: content/common/input_messages.h

Issue 1528153004: Look Up on Force Touch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/input_messages.h
diff --git a/content/common/input_messages.h b/content/common/input_messages.h
index 4baf8a8642d45d30384af4661514a41eeca886d0..a6dbc5909e11c135a6e47f0cdff7a89807bcd093 100644
--- a/content/common/input_messages.h
+++ b/content/common/input_messages.h
@@ -117,6 +117,11 @@ IPC_MESSAGE_ROUTED2(InputMsg_HandleInputEvent,
IPC::WebInputEventPointer /* event */,
ui::LatencyInfo /* latency_info */)
+// Sends coordinates in the web content to the render widget.
+IPC_MESSAGE_ROUTED2(InputMsg_SelectWordIfAnyAtCoordinates,
+ float /* x */,
Robert Sesek 2015/12/21 22:30:21 I defer to the more experienced input reviewers, b
spqchan 2016/01/06 22:52:31 Changed to WebPoint
+ float /* y */)
+
// Sends the cursor visibility state to the render widget.
IPC_MESSAGE_ROUTED1(InputMsg_CursorVisibilityChange,
bool /* is_visible */)
@@ -270,6 +275,10 @@ IPC_MESSAGE_ROUTED0(InputHostMsg_DidStopFlinging)
// Acknowledges receipt of a InputMsg_MoveCaret message.
IPC_MESSAGE_ROUTED0(InputHostMsg_MoveCaret_ACK)
+// Sent as a response InputMsg_SelectWordIfAnyAtCoordinates message.
+// This message is only sent if a word has been selected.
+IPC_MESSAGE_ROUTED0(InputHostMsg_DidSelectWordAtCoordinates)
+
// Acknowledges receipt of a InputMsg_MoveRangeSelectionExtent message.
IPC_MESSAGE_ROUTED0(InputHostMsg_MoveRangeSelectionExtent_ACK)

Powered by Google App Engine
This is Rietveld 408576698