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

Side by Side Diff: content/common/java_bridge_messages.h

Issue 8347005: Adds the renderer component of the Java Bridge (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits Created 9 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 | Annotate | Revision Log
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/content_common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // IPC messages for injected Java objects. See JavaBridgeDispatcher for details.
6
7 // Multiply-included message file, hence no include guard.
8
9 #include "content/common/webkit_param_traits.h" // For NPVariant_Param
10 #include "ipc/ipc_channel_handle.h"
11 #include "ipc/ipc_message_macros.h"
12
13 #define IPC_MESSAGE_START JavaBridgeMsgStart
14
15 // Messages for handling Java objects injected into JavaScript -----------------
16
17 // Sent from browser to renderer to initialize the Java Bridge.
18 IPC_MESSAGE_ROUTED1(JavaBridgeMsg_Init,
19 IPC::ChannelHandle) /* channel handle */
20
21 // Sent from browser to renderer to add a Java object with the given name.
22 IPC_MESSAGE_ROUTED2(JavaBridgeMsg_AddNamedObject,
23 string16 /* name */,
24 NPVariant_Param) /* object */
25
26 // Sent from browser to renderer to remove a Java object with the given name.
27 IPC_MESSAGE_ROUTED1(JavaBridgeMsg_RemoveNamedObject,
28 string16 /* name */)
OLDNEW
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698