]> khamidou — GitHub mirrors - electron.git/commit
Pass synchronous messages by JSON string.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 20 Sep 2013 14:32:59 +0000 (22:32 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 20 Sep 2013 14:32:59 +0000 (22:32 +0800)
commitef5a4b5fe07bca5ef38ad121bb75ccc403817267
tree1c416d1b1622276ca11baf95d038ae4a60312313
parent07b5039c64007d470e68981472b926211db3c0b4
Pass synchronous messages by JSON string.

We are going to use IPC_MESSAGE_HANDLER_DELAY_REPLY to handle
synchronous messages but DictionaryValue is not copyable, so we pass the
JSON string instead.
browser/api/atom_api_event.cc
browser/api/atom_api_event.h
browser/api/atom_browser_bindings.cc
browser/api/atom_browser_bindings.h
browser/api/lib/ipc.coffee
browser/native_window.cc
browser/native_window.h
common/api/api_messages.h
renderer/api/atom_api_renderer_ipc.cc
renderer/api/lib/ipc.coffee