OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // Multiply-included message file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "content/child/plugin_param_traits.h" | 10 #include "content/child/plugin_param_traits.h" |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 IPC_MESSAGE_ROUTED1(PluginMsg_SetContentAreaFocus, | 105 IPC_MESSAGE_ROUTED1(PluginMsg_SetContentAreaFocus, |
106 bool /* has_focus */) | 106 bool /* has_focus */) |
107 | 107 |
108 IPC_MESSAGE_CONTROL1(PluginMsg_SignalModalDialogEvent, | 108 IPC_MESSAGE_CONTROL1(PluginMsg_SignalModalDialogEvent, |
109 int /* render_view_id */) | 109 int /* render_view_id */) |
110 | 110 |
111 IPC_MESSAGE_CONTROL1(PluginMsg_ResetModalDialogEvent, | 111 IPC_MESSAGE_CONTROL1(PluginMsg_ResetModalDialogEvent, |
112 int /* render_view_id */) | 112 int /* render_view_id */) |
113 | 113 |
114 #if defined(OS_WIN) | |
115 IPC_MESSAGE_ROUTED4(PluginMsg_ImeCompositionUpdated, | |
116 base::string16 /* text */, | |
117 std::vector<int> /* clauses */, | |
118 std::vector<int>, /* target */ | |
119 int /* cursor_position */) | |
120 | |
121 IPC_MESSAGE_ROUTED1(PluginMsg_ImeCompositionCompleted, | |
122 base::string16 /* text */) | |
123 #endif | |
124 | |
125 #if defined(OS_MACOSX) | 114 #if defined(OS_MACOSX) |
126 IPC_MESSAGE_ROUTED1(PluginMsg_SetWindowFocus, | 115 IPC_MESSAGE_ROUTED1(PluginMsg_SetWindowFocus, |
127 bool /* has_focus */) | 116 bool /* has_focus */) |
128 | 117 |
129 IPC_MESSAGE_ROUTED0(PluginMsg_ContainerHidden) | 118 IPC_MESSAGE_ROUTED0(PluginMsg_ContainerHidden) |
130 | 119 |
131 IPC_MESSAGE_ROUTED3(PluginMsg_ContainerShown, | 120 IPC_MESSAGE_ROUTED3(PluginMsg_ContainerShown, |
132 gfx::Rect /* window_frame */, | 121 gfx::Rect /* window_frame */, |
133 gfx::Rect /* view_frame */, | 122 gfx::Rect /* view_frame */, |
134 bool /* has_focus */) | 123 bool /* has_focus */) |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 IPC_MESSAGE_ROUTED0(PluginHostMsg_CancelDocumentLoad) | 164 IPC_MESSAGE_ROUTED0(PluginHostMsg_CancelDocumentLoad) |
176 | 165 |
177 IPC_MESSAGE_ROUTED0(PluginHostMsg_DidStartLoading) | 166 IPC_MESSAGE_ROUTED0(PluginHostMsg_DidStartLoading) |
178 IPC_MESSAGE_ROUTED0(PluginHostMsg_DidStopLoading) | 167 IPC_MESSAGE_ROUTED0(PluginHostMsg_DidStopLoading) |
179 | 168 |
180 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException, | 169 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException, |
181 std::string /* message */) | 170 std::string /* message */) |
182 | 171 |
183 IPC_MESSAGE_CONTROL0(PluginHostMsg_PluginShuttingDown) | 172 IPC_MESSAGE_CONTROL0(PluginHostMsg_PluginShuttingDown) |
184 | 173 |
185 #if defined(OS_WIN) | |
186 // The modal_loop_pump_messages_event parameter is an event handle which is | |
187 // passed in for windowless plugins and is used to indicate if messages | |
188 // are to be pumped in sync calls to the plugin process. Currently used | |
189 // in HandleEvent calls. | |
190 IPC_SYNC_MESSAGE_ROUTED2_0(PluginHostMsg_SetWindowlessData, | |
191 HANDLE /* modal_loop_pump_messages_event */, | |
192 gfx::NativeViewId /* dummy_activation_window*/) | |
193 | |
194 // Send the IME status retrieved from a windowless plugin. A windowless plugin | |
195 // uses the IME attached to a browser process as a renderer does. A plugin | |
196 // sends this message to control the IME status of a browser process. I would | |
197 // note that a plugin sends this message to a renderer process that hosts this | |
198 // plugin (not directly to a browser process) so the renderer process can | |
199 // update its IME status. | |
200 IPC_MESSAGE_ROUTED2(PluginHostMsg_NotifyIMEStatus, | |
201 int /* input_type */, | |
202 gfx::Rect /* caret_rect */) | |
203 #endif | |
204 | |
205 #if defined(OS_MACOSX) | 174 #if defined(OS_MACOSX) |
206 IPC_MESSAGE_ROUTED1(PluginHostMsg_FocusChanged, | 175 IPC_MESSAGE_ROUTED1(PluginHostMsg_FocusChanged, |
207 bool /* focused */) | 176 bool /* focused */) |
208 | 177 |
209 IPC_MESSAGE_ROUTED0(PluginHostMsg_StartIme) | 178 IPC_MESSAGE_ROUTED0(PluginHostMsg_StartIme) |
210 | 179 |
211 //---------------------------------------------------------------------- | 180 //---------------------------------------------------------------------- |
212 // Core Animation plugin implementation rendering via compositor. | 181 // Core Animation plugin implementation rendering via compositor. |
213 | 182 |
214 // Notifies the renderer process that this plugin will be using the | 183 // Notifies the renderer process that this plugin will be using the |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 246 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
278 std::vector<content::NPVariant_Param> /* args */, | 247 std::vector<content::NPVariant_Param> /* args */, |
279 content::NPVariant_Param /* result_param */, | 248 content::NPVariant_Param /* result_param */, |
280 bool /* result */) | 249 bool /* result */) |
281 | 250 |
282 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 251 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
283 std::string /* script */, | 252 std::string /* script */, |
284 bool /* popups_allowed */, | 253 bool /* popups_allowed */, |
285 content::NPVariant_Param /* result_param */, | 254 content::NPVariant_Param /* result_param */, |
286 bool /* result */) | 255 bool /* result */) |
OLD | NEW |