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

Unified Diff: content/common/view_messages.h

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/browser/renderer_host/render_view_host_impl.cc ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 3e3e7d471714978ed8b8ca7e1f3f2abc5ef9fa96..232511b053fb7d4e39ec59b01f57cc4f2afbeb43 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1120,10 +1120,13 @@ IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus)
IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur)
// Message sent from renderer to the browser when focus changes inside the
-// webpage. The parameter says whether the newly focused element needs
-// keyboard input (true for textfields, text areas and content editable divs).
-IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged,
- bool /* is_editable_node */)
+// webpage. The parameters say whether the newly focused element needs
+// keyboard input (true for textfields, text areas and content editable divs),
+// and which input event type triggered the change (WebInputEvent::Undefined if
+// the change was not caused by an input event).
+IPC_MESSAGE_ROUTED2(ViewHostMsg_FocusedNodeChanged,
+ bool /* is_editable_node */,
+ blink::WebInputEvent::Type /* causal_event_type */)
IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor)
@@ -1526,12 +1529,6 @@ IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate,
// vibration, if there is one.
IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration)
-// Message sent from renderer to the browser when the element that is focused
-// has been touched. A bool is passed in this message which indicates if the
-// node is editable.
-IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched,
- bool /* editable */)
-
// Message sent from the renderer to the browser when an HTML form has failed
// validation constraints.
IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowValidationMessage,
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698