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

Unified Diff: content/renderer/render_view_impl.cc

Issue 626983002: Eliminate redundant IPC used for showing the Windows virtual keyboard (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 9f42f03fc4174428ef5dd3b71a9ededc9ace26d1..586334cab528c207d4ad2551e8b6d062e0c88e24 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1969,7 +1969,8 @@ void RenderViewImpl::focusPrevious() {
void RenderViewImpl::focusedNodeChanged(const WebNode& node) {
has_scrolled_focused_editable_node_into_rect_ = false;
- Send(new ViewHostMsg_FocusedNodeChanged(routing_id_, IsEditableNode(node)));
+ Send(new ViewHostMsg_FocusedNodeChanged(
+ routing_id_, IsEditableNode(node), handling_event_type_));
FOR_EACH_OBSERVER(RenderViewObserver, observers_, FocusedNodeChanged(node));
@@ -2106,17 +2107,6 @@ void RenderViewImpl::didHandleGestureEvent(
FOR_EACH_OBSERVER(
RenderViewObserver, observers_, DidHandleGestureEvent(event));
}
-
- if (event.type != blink::WebGestureEvent::GestureTap)
- return;
-
- // TODO(estade): hit test the event against focused node to make sure
- // the tap actually hit the focused node.
- blink::WebTextInputType text_input_type =
- GetWebView()->textInputInfo().type;
-
- Send(new ViewHostMsg_FocusedNodeTouched(
- routing_id(), text_input_type != blink::WebTextInputTypeNone));
}
void RenderViewImpl::initializeLayerTreeView() {
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698