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

Unified Diff: content/common/view_messages.h

Issue 1249013005: Merge ViewHostMsg_TextInputTypeChanged and ViewHostMsg_TextInputStateChanged into one. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments. Created 5 years, 5 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 d68a1b56971309647a68597c5c209c1525b0e103..ebf58a2b10cad1b12e32208826bfbd6fbfa16063 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -395,6 +395,9 @@ IPC_STRUCT_BEGIN(ViewHostMsg_TextInputState_Params)
// The type of input field
IPC_STRUCT_MEMBER(ui::TextInputType, type)
+ // The mode of input field
+ IPC_STRUCT_MEMBER(ui::TextInputMode, mode)
+
// The flags of the input field (autocorrect, autocomplete, etc.)
IPC_STRUCT_MEMBER(int, flags)
@@ -1358,12 +1361,6 @@ IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus,
IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenDateTimeDialog,
ViewHostMsg_DateTimeDialogValue_Params /* value */)
-IPC_MESSAGE_ROUTED4(ViewHostMsg_TextInputTypeChanged,
- ui::TextInputType /* TextInputType of the focused node */,
- ui::TextInputMode /* TextInputMode of the focused node */,
- bool /* can_compose_inline in the focused node */,
- int /* flags in the focused node */)
-
// Required for updating text input state.
IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged,
ViewHostMsg_TextInputState_Params /* input state params */)
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698