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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 6259013: Update Mac plugin IME handling to match updated spec (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to trunk Created 9 years, 11 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 | Annotate | Revision Log
« 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include <map> 5 #include <map>
6 #include <set> 6 #include <set>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 #if defined(OS_MACOSX) 883 #if defined(OS_MACOSX)
884 // Let the RenderView know its window has changed visibility. 884 // Let the RenderView know its window has changed visibility.
885 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, 885 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility,
886 bool /* visibile */) 886 bool /* visibile */)
887 887
888 // Let the RenderView know its window's frame has changed. 888 // Let the RenderView know its window's frame has changed.
889 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, 889 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged,
890 gfx::Rect /* window frame */, 890 gfx::Rect /* window frame */,
891 gfx::Rect /* content view frame */) 891 gfx::Rect /* content view frame */)
892 892
893 // Tell the renderer that text has been retured from plugin IME. 893 // Tell the renderer that plugin IME has completed.
894 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionConfirmed, 894 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted,
895 string16 /* text */, 895 string16 /* text */,
896 int /* plugin_id */) 896 int /* plugin_id */)
897 #endif 897 #endif
898 898
899 // Response message to ViewHostMsg_CreateShared/DedicatedWorker. 899 // Response message to ViewHostMsg_CreateShared/DedicatedWorker.
900 // Sent when the worker has started. 900 // Sent when the worker has started.
901 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated) 901 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated)
902 902
903 // Tell the renderer which browser window it's being attached to. 903 // Tell the renderer which browser window it's being attached to.
904 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateBrowserWindowId, 904 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateBrowserWindowId,
(...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after
2138 size_t, /* bytes requested */ 2138 size_t, /* bytes requested */
2139 bool, /* cache in the browser */ 2139 bool, /* cache in the browser */
2140 TransportDIB::Handle /* DIB */) 2140 TransportDIB::Handle /* DIB */)
2141 2141
2142 // Since the browser keeps handles to the allocated transport DIBs, this 2142 // Since the browser keeps handles to the allocated transport DIBs, this
2143 // message is sent to tell the browser that it may release them when the 2143 // message is sent to tell the browser that it may release them when the
2144 // renderer is finished with them. 2144 // renderer is finished with them.
2145 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 2145 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
2146 TransportDIB::Id /* DIB id */) 2146 TransportDIB::Id /* DIB id */)
2147 2147
2148 // Instructs the browser to start or stop plugin IME. 2148 // Informs the browser that a plugin has gained or lost focus.
2149 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetPluginImeEnabled, 2149 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged,
2150 bool, /* enabled */ 2150 bool, /* focused */
2151 int /* plugin_id */) 2151 int /* plugin_id */)
2152 2152
2153 // Instructs the browser to start plugin IME.
2154 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme)
2155
2153 //--------------------------------------------------------------------------- 2156 //---------------------------------------------------------------------------
2154 // Messages related to accelerated plugins 2157 // Messages related to accelerated plugins
2155 2158
2156 // This is sent from the renderer to the browser to allocate a fake 2159 // This is sent from the renderer to the browser to allocate a fake
2157 // PluginWindowHandle on the browser side which is used to identify 2160 // PluginWindowHandle on the browser side which is used to identify
2158 // the plugin to the browser later when backing store is allocated 2161 // the plugin to the browser later when backing store is allocated
2159 // or reallocated. |opaque| indicates whether the plugin's output is 2162 // or reallocated. |opaque| indicates whether the plugin's output is
2160 // considered to be opaque, as opposed to translucent. This message 2163 // considered to be opaque, as opposed to translucent. This message
2161 // is reused for rendering the accelerated compositor's output. 2164 // is reused for rendering the accelerated compositor's output.
2162 // |root| indicates whether the output is supposed to cover the 2165 // |root| indicates whether the output is supposed to cover the
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
2597 int /* request_id */, 2600 int /* request_id */,
2598 PP_Flash_NetAddress /* addr */) 2601 PP_Flash_NetAddress /* addr */)
2599 2602
2600 // JavaScript related messages ----------------------------------------------- 2603 // JavaScript related messages -----------------------------------------------
2601 2604
2602 // Notify the JavaScript engine in the render to change its parameters 2605 // Notify the JavaScript engine in the render to change its parameters
2603 // while performing stress testing. 2606 // while performing stress testing.
2604 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 2607 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
2605 int /* cmd */, 2608 int /* cmd */,
2606 int /* param */) 2609 int /* param */)
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