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, |