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

Side by Side Diff: content/child/plugin_messages.h

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
OLDNEW
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 "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/child/plugin_param_traits.h" 8 #include "content/child/plugin_param_traits.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/common/content_param_traits.h" 10 #include "content/common/content_param_traits.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 // Sent by the renderer after it paints from its backing store so that the 105 // Sent by the renderer after it paints from its backing store so that the
106 // plugin knows it can send more invalidates. 106 // plugin knows it can send more invalidates.
107 IPC_MESSAGE_ROUTED0(PluginMsg_DidPaint) 107 IPC_MESSAGE_ROUTED0(PluginMsg_DidPaint)
108 108
109 IPC_SYNC_MESSAGE_ROUTED0_1(PluginMsg_GetPluginScriptableObject, 109 IPC_SYNC_MESSAGE_ROUTED0_1(PluginMsg_GetPluginScriptableObject,
110 int /* route_id */) 110 int /* route_id */)
111 111
112 // Gets the form value of the plugin instance synchronously. 112 // Gets the form value of the plugin instance synchronously.
113 IPC_SYNC_MESSAGE_ROUTED0_2(PluginMsg_GetFormValue, 113 IPC_SYNC_MESSAGE_ROUTED0_2(PluginMsg_GetFormValue,
114 string16 /* value */, 114 base::string16 /* value */,
115 bool /* success */) 115 bool /* success */)
116 116
117 IPC_MESSAGE_ROUTED3(PluginMsg_DidFinishLoadWithReason, 117 IPC_MESSAGE_ROUTED3(PluginMsg_DidFinishLoadWithReason,
118 GURL /* url */, 118 GURL /* url */,
119 int /* reason */, 119 int /* reason */,
120 int /* notify_id */) 120 int /* notify_id */)
121 121
122 // Updates the plugin location. 122 // Updates the plugin location.
123 IPC_MESSAGE_ROUTED1(PluginMsg_UpdateGeometry, 123 IPC_MESSAGE_ROUTED1(PluginMsg_UpdateGeometry,
124 PluginMsg_UpdateGeometry_Param) 124 PluginMsg_UpdateGeometry_Param)
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 int /* render_view_id */) 190 int /* render_view_id */)
191 191
192 IPC_MESSAGE_ROUTED1(PluginMsg_FetchURL, 192 IPC_MESSAGE_ROUTED1(PluginMsg_FetchURL,
193 PluginMsg_FetchURL_Params) 193 PluginMsg_FetchURL_Params)
194 194
195 IPC_MESSAGE_CONTROL1(PluginHostMsg_DidAbortLoading, 195 IPC_MESSAGE_CONTROL1(PluginHostMsg_DidAbortLoading,
196 int /* render_view_id */) 196 int /* render_view_id */)
197 197
198 #if defined(OS_WIN) 198 #if defined(OS_WIN)
199 IPC_MESSAGE_ROUTED4(PluginMsg_ImeCompositionUpdated, 199 IPC_MESSAGE_ROUTED4(PluginMsg_ImeCompositionUpdated,
200 string16 /* text */, 200 base::string16 /* text */,
201 std::vector<int> /* clauses */, 201 std::vector<int> /* clauses */,
202 std::vector<int>, /* target */ 202 std::vector<int>, /* target */
203 int /* cursor_position */) 203 int /* cursor_position */)
204 204
205 IPC_MESSAGE_ROUTED1(PluginMsg_ImeCompositionCompleted, 205 IPC_MESSAGE_ROUTED1(PluginMsg_ImeCompositionCompleted,
206 string16 /* text */) 206 base::string16 /* text */)
207 #endif 207 #endif
208 208
209 #if defined(OS_MACOSX) 209 #if defined(OS_MACOSX)
210 IPC_MESSAGE_ROUTED1(PluginMsg_SetWindowFocus, 210 IPC_MESSAGE_ROUTED1(PluginMsg_SetWindowFocus,
211 bool /* has_focus */) 211 bool /* has_focus */)
212 212
213 IPC_MESSAGE_ROUTED0(PluginMsg_ContainerHidden) 213 IPC_MESSAGE_ROUTED0(PluginMsg_ContainerHidden)
214 214
215 IPC_MESSAGE_ROUTED3(PluginMsg_ContainerShown, 215 IPC_MESSAGE_ROUTED3(PluginMsg_ContainerShown,
216 gfx::Rect /* window_frame */, 216 gfx::Rect /* window_frame */,
217 gfx::Rect /* view_frame */, 217 gfx::Rect /* view_frame */,
218 bool /* has_focus */) 218 bool /* has_focus */)
219 219
220 IPC_MESSAGE_ROUTED2(PluginMsg_WindowFrameChanged, 220 IPC_MESSAGE_ROUTED2(PluginMsg_WindowFrameChanged,
221 gfx::Rect /* window_frame */, 221 gfx::Rect /* window_frame */,
222 gfx::Rect /* view_frame */) 222 gfx::Rect /* view_frame */)
223 223
224 IPC_MESSAGE_ROUTED1(PluginMsg_ImeCompositionCompleted, 224 IPC_MESSAGE_ROUTED1(PluginMsg_ImeCompositionCompleted,
225 string16 /* text */) 225 base::string16 /* text */)
226 226
227 // This message, used only on 10.6 and later, transmits the "fake" 227 // This message, used only on 10.6 and later, transmits the "fake"
228 // window handle allocated by the browser on behalf of the renderer 228 // window handle allocated by the browser on behalf of the renderer
229 // to the GPU plugin. 229 // to the GPU plugin.
230 IPC_MESSAGE_ROUTED1(PluginMsg_SetFakeAcceleratedSurfaceWindowHandle, 230 IPC_MESSAGE_ROUTED1(PluginMsg_SetFakeAcceleratedSurfaceWindowHandle,
231 gfx::PluginWindowHandle /* window */) 231 gfx::PluginWindowHandle /* window */)
232 #endif 232 #endif
233 233
234 //----------------------------------------------------------------------------- 234 //-----------------------------------------------------------------------------
235 // PluginHost messages 235 // PluginHost messages
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, 395 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct,
396 std::vector<content::NPVariant_Param> /* args */, 396 std::vector<content::NPVariant_Param> /* args */,
397 content::NPVariant_Param /* result_param */, 397 content::NPVariant_Param /* result_param */,
398 bool /* result */) 398 bool /* result */)
399 399
400 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, 400 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate,
401 std::string /* script */, 401 std::string /* script */,
402 bool /* popups_allowed */, 402 bool /* popups_allowed */,
403 content::NPVariant_Param /* result_param */, 403 content::NPVariant_Param /* result_param */,
404 bool /* result */) 404 bool /* result */)
OLDNEW
« no previous file with comments | « content/child/indexed_db/indexed_db_key_builders.cc ('k') | content/child/service_worker/service_worker_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698