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

Unified Diff: chrome/common/render_messages_internal.h

Issue 3808001: Implement IME for Mac plugins using the Cocoa event model on 10.6 (Closed)
Patch Set: Windows and unit test compile fixes Created 10 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
« no previous file with comments | « chrome/common/plugin_messages_internal.h ('k') | chrome/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index 1307799349e1b5420ae971764513ae3e8de6bd2c..1cfa70b3368fe62b5ef68110721730dbc8900b68 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -851,6 +851,11 @@ IPC_BEGIN_MESSAGES(View)
IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged,
gfx::Rect /* window frame */,
gfx::Rect /* content view frame */)
+
+ // Tell the renderer that text has been retured from plugin IME.
+ IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionConfirmed,
+ string16 /* text */,
+ int /* plugin_id */)
#endif
// Response message to ViewHostMsg_CreateShared/DedicatedWorker.
@@ -2148,8 +2153,13 @@ IPC_BEGIN_MESSAGES(ViewHost)
IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
TransportDIB::Id /* DIB id */)
+ // Instructs the browser to start or stop plugin IME.
+ IPC_MESSAGE_ROUTED2(ViewHostMsg_SetPluginImeEnabled,
+ bool, /* enabled */
+ int /* plugin_id */)
+
//---------------------------------------------------------------------------
- // Messages related to the GPU plugin on Mac OS X 10.6 and later
+ // Messages related to accelerated plugins
// This is sent from the renderer to the browser to allocate a fake
// PluginWindowHandle on the browser side which is used to identify
« no previous file with comments | « chrome/common/plugin_messages_internal.h ('k') | chrome/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698