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

Unified Diff: content/common/view_messages.h

Issue 29943002: Limit display of the virtual keyboard to state changes triggered from a user gesture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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 */,

Powered by Google App Engine
This is Rietveld 408576698