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

Unified Diff: content/browser/renderer_host/input/input_router_impl.cc

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/browser/renderer_host/input/input_router_impl.cc
diff --git a/content/browser/renderer_host/input/input_router_impl.cc b/content/browser/renderer_host/input/input_router_impl.cc
index 32261f363b7c00cb054eab0cf090c8f28b713e01..e5c8b4fa60fc68e18524833fb53b0f154775d515 100644
--- a/content/browser/renderer_host/input/input_router_impl.cc
+++ b/content/browser/renderer_host/input/input_router_impl.cc
@@ -278,6 +278,8 @@ bool InputRouterImpl::OnMessageReceived(const IPC::Message& message) {
IPC_MESSAGE_HANDLER(InputHostMsg_SetTouchAction,
OnSetTouchAction)
IPC_MESSAGE_HANDLER(InputHostMsg_DidStopFlinging, OnDidStopFlinging)
+ IPC_MESSAGE_HANDLER(InputHostMsg_DidSelectWordAtCoordinates,
+ OnDidSelectWordAtCoordinates)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
@@ -512,6 +514,10 @@ void InputRouterImpl::OnDidStopFlinging() {
client_->DidStopFlinging();
}
+void InputRouterImpl::OnDidSelectWordAtCoordinates() {
+ client_->DidSelectWordAtCoordinates();
+}
+
void InputRouterImpl::ProcessInputEventAck(WebInputEvent::Type event_type,
InputEventAckState ack_result,
const ui::LatencyInfo& latency_info,

Powered by Google App Engine
This is Rietveld 408576698