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

Unified Diff: content/common/view_messages.h

Issue 18750003: Require ACK for editor-related changes not originating from browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 7 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 c8e27da1b205a6c581e3ab46a39be96961344349..f8d738f302a0684bf2b8e64c062873b386a4835f 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -529,6 +529,9 @@ IPC_STRUCT_BEGIN(ViewHostMsg_TextInputState_Params)
// true, the IME will only be shown if the type is appropriate (e.g. not
// TEXT_INPUT_TYPE_NONE).
IPC_STRUCT_MEMBER(bool, show_ime_if_needed)
+
+ // Whether an acknowledgement is required for this update.
+ IPC_STRUCT_MEMBER(bool, require_ack)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(ViewHostMsg_UpdateRect_Params)
@@ -1304,6 +1307,10 @@ 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)
+
#elif defined(OS_MACOSX)
// Let the RenderView know its window has changed visibility.
IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility,
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698