Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 355489bc51f1de9aa4df1a9b5875133e8794eb70..72cc295f7aad4df151e41de96203fd7f187198e8 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -514,6 +514,12 @@ IPC_STRUCT_BEGIN(ViewHostMsg_TextInputState_Params) |
// The type of input field |
IPC_STRUCT_MEMBER(ui::TextInputType, type) |
+ // An enumerated type that specifies what kind of input mechanism would be |
+ // most helpful for users entering content into the form control (e.g. |
+ // numeric, latin or kana input). |
+ // http://www.whatwg.org/specs/web-apps/current-work/#attr-fe-inputmode |
+ IPC_STRUCT_MEMBER(ui::TextInputMode, mode) |
+ |
// The value of the input field |
IPC_STRUCT_MEMBER(std::string, value) |
@@ -1312,10 +1318,6 @@ IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) |
IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
cc::BeginFrameArgs /* args */) |
-// Sent by the browser when an IME update that requires acknowledgement has been |
-// processed on the browser side. |
-IPC_MESSAGE_ROUTED0(ViewMsg_ImeEventAck) |
- |
// Sent by the browser when we should pause video playback. |
IPC_MESSAGE_ROUTED0(ViewMsg_PauseVideo); |
@@ -1344,6 +1346,12 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, |
int /* selected index, -1 means no selection */) |
#endif |
+#if defined(ANDROID) || defined(USE_AURA) |
+// Sent by the browser when an IME update that requires acknowledgement has been |
+// processed on the browser side. |
+IPC_MESSAGE_ROUTED0(ViewMsg_ImeEventAck) |
+#endif |
+ |
// Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. |
IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, |
uint32 /* output_surface_id */, |