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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 844
845 #if defined(OS_MACOSX) 845 #if defined(OS_MACOSX)
846 // Let the RenderView know its window has changed visibility. 846 // Let the RenderView know its window has changed visibility.
847 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, 847 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility,
848 bool /* visibile */) 848 bool /* visibile */)
849 849
850 // Let the RenderView know its window's frame has changed. 850 // Let the RenderView know its window's frame has changed.
851 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, 851 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged,
852 gfx::Rect /* window frame */, 852 gfx::Rect /* window frame */,
853 gfx::Rect /* content view frame */) 853 gfx::Rect /* content view frame */)
854
855 // Tell the renderer that text has been retured from plugin IME.
856 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionConfirmed,
857 string16 /* text */,
858 int /* plugin_id */)
854 #endif 859 #endif
855 860
856 // Response message to ViewHostMsg_CreateShared/DedicatedWorker. 861 // Response message to ViewHostMsg_CreateShared/DedicatedWorker.
857 // Sent when the worker has started. 862 // Sent when the worker has started.
858 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated) 863 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated)
859 864
860 // Tell the renderer which browser window it's being attached to. 865 // Tell the renderer which browser window it's being attached to.
861 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateBrowserWindowId, 866 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateBrowserWindowId,
862 int /* id of browser window */) 867 int /* id of browser window */)
863 868
(...skipping 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after
2141 size_t, /* bytes requested */ 2146 size_t, /* bytes requested */
2142 bool, /* cache in the browser */ 2147 bool, /* cache in the browser */
2143 TransportDIB::Handle /* DIB */) 2148 TransportDIB::Handle /* DIB */)
2144 2149
2145 // Since the browser keeps handles to the allocated transport DIBs, this 2150 // Since the browser keeps handles to the allocated transport DIBs, this
2146 // message is sent to tell the browser that it may release them when the 2151 // message is sent to tell the browser that it may release them when the
2147 // renderer is finished with them. 2152 // renderer is finished with them.
2148 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 2153 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
2149 TransportDIB::Id /* DIB id */) 2154 TransportDIB::Id /* DIB id */)
2150 2155
2156 // Instructs the browser to start or stop plugin IME.
2157 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetPluginImeEnabled,
2158 bool, /* enabled */
2159 int /* plugin_id */)
2160
2151 //--------------------------------------------------------------------------- 2161 //---------------------------------------------------------------------------
2152 // Messages related to the GPU plugin on Mac OS X 10.6 and later 2162 // Messages related to accelerated plugins
2153 2163
2154 // This is sent from the renderer to the browser to allocate a fake 2164 // This is sent from the renderer to the browser to allocate a fake
2155 // PluginWindowHandle on the browser side which is used to identify 2165 // PluginWindowHandle on the browser side which is used to identify
2156 // the plugin to the browser later when backing store is allocated 2166 // the plugin to the browser later when backing store is allocated
2157 // or reallocated. |opaque| indicates whether the plugin's output is 2167 // or reallocated. |opaque| indicates whether the plugin's output is
2158 // considered to be opaque, as opposed to translucent. This message 2168 // considered to be opaque, as opposed to translucent. This message
2159 // is reused for rendering the accelerated compositor's output. 2169 // is reused for rendering the accelerated compositor's output.
2160 // |root| indicates whether the output is supposed to cover the 2170 // |root| indicates whether the output is supposed to cover the
2161 // entire window. 2171 // entire window.
2162 IPC_SYNC_MESSAGE_ROUTED2_1(ViewHostMsg_AllocateFakePluginWindowHandle, 2172 IPC_SYNC_MESSAGE_ROUTED2_1(ViewHostMsg_AllocateFakePluginWindowHandle,
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after
2970 // to the boolean result true, false otherwise. 2980 // to the boolean result true, false otherwise.
2971 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, 2981 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse,
2972 int /* id */, 2982 int /* id */,
2973 bool /* result */) 2983 bool /* result */)
2974 2984
2975 // Updates the content restrictions, i.e. to disable print/copy. 2985 // Updates the content restrictions, i.e. to disable print/copy.
2976 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, 2986 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions,
2977 int /* restrictions */) 2987 int /* restrictions */)
2978 2988
2979 IPC_END_MESSAGES(ViewHost) 2989 IPC_END_MESSAGES(ViewHost)
OLDNEW
« 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