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

Side by Side Diff: content/common/java_bridge_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
« no previous file with comments | « content/common/input_messages.h ('k') | content/common/mac/attributed_string_coder.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 // IPC messages for injected Java objects. See JavaBridgeDispatcher for details. 5 // IPC messages for injected Java objects. See JavaBridgeDispatcher for details.
6 6
7 // Multiply-included message file, hence no include guard. 7 // Multiply-included message file, hence no include guard.
8 8
9 #if defined(OS_ANDROID) 9 #if defined(OS_ANDROID)
10 10
11 #include "content/child/plugin_param_traits.h" 11 #include "content/child/plugin_param_traits.h"
12 #include "ipc/ipc_channel_handle.h" 12 #include "ipc/ipc_channel_handle.h"
13 #include "ipc/ipc_message_macros.h" 13 #include "ipc/ipc_message_macros.h"
14 14
15 #define IPC_MESSAGE_START JavaBridgeMsgStart 15 #define IPC_MESSAGE_START JavaBridgeMsgStart
16 16
17 // Messages for handling Java objects injected into JavaScript ----------------- 17 // Messages for handling Java objects injected into JavaScript -----------------
18 18
19 // Sent from browser to renderer to add a Java object with the given name. 19 // Sent from browser to renderer to add a Java object with the given name.
20 IPC_MESSAGE_ROUTED2(JavaBridgeMsg_AddNamedObject, 20 IPC_MESSAGE_ROUTED2(JavaBridgeMsg_AddNamedObject,
21 string16 /* name */, 21 base::string16 /* name */,
22 content::NPVariant_Param) /* object */ 22 content::NPVariant_Param) /* object */
23 23
24 // Sent from browser to renderer to remove a Java object with the given name. 24 // Sent from browser to renderer to remove a Java object with the given name.
25 IPC_MESSAGE_ROUTED1(JavaBridgeMsg_RemoveNamedObject, 25 IPC_MESSAGE_ROUTED1(JavaBridgeMsg_RemoveNamedObject,
26 string16 /* name */) 26 base::string16 /* name */)
27 27
28 // Sent from renderer to browser to request a route ID for a renderer-side (ie 28 // Sent from renderer to browser to request a route ID for a renderer-side (ie
29 // JavaScript) object. 29 // JavaScript) object.
30 IPC_SYNC_MESSAGE_CONTROL0_1(JavaBridgeMsg_GenerateRouteID, 30 IPC_SYNC_MESSAGE_CONTROL0_1(JavaBridgeMsg_GenerateRouteID,
31 int /* route_id */) 31 int /* route_id */)
32 32
33 // Sent from renderer to browser to get the channel handle for NP channel. 33 // Sent from renderer to browser to get the channel handle for NP channel.
34 IPC_SYNC_MESSAGE_ROUTED0_1(JavaBridgeHostMsg_GetChannelHandle, 34 IPC_SYNC_MESSAGE_ROUTED0_1(JavaBridgeHostMsg_GetChannelHandle,
35 IPC::ChannelHandle) /* channel handle */ 35 IPC::ChannelHandle) /* channel handle */
36 36
37 #endif // defined(OS_ANDROID) 37 #endif // defined(OS_ANDROID)
OLDNEW
« no previous file with comments | « content/common/input_messages.h ('k') | content/common/mac/attributed_string_coder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698