Use require('ipc').send to communicate between browser and renderer.

This commit is contained in:
Cheng Zhao 2013-04-23 12:18:07 +08:00
parent c22d927b6f
commit 16244e42e0
19 changed files with 329 additions and 67 deletions

View file

@ -15,8 +15,10 @@
#define IPC_MESSAGE_START ShellMsgStart
IPC_MESSAGE_ROUTED1(AtomViewHostMsg_Message,
IPC_MESSAGE_ROUTED2(AtomViewHostMsg_Message,
std::string /* channel */,
ListValue /* arguments */)
IPC_MESSAGE_ROUTED1(AtomViewMsg_Message,
IPC_MESSAGE_ROUTED2(AtomViewMsg_Message,
std::string /* channel */,
ListValue /* arguments */)