Add functions to support sending messages to runtime from js.
authorWonYoung Choi <wy80.choi@samsung.com>
Thu, 14 May 2015 06:21:37 +0000 (15:21 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Mon, 18 May 2015 02:25:13 +0000 (11:25 +0900)
commitbc63334410848dd9cd666037842e2bea999620fa
tree55790ec1f35c74242f69def9906a1df5bbfc9178
parentd2a6bf828deb31088ad49809da325036c1331929
Add functions to support sending messages to runtime from js.

- bool extension.sendRuntimeMessage(type, value)
- string extension.sendRuntimeSyncMessage(type, value)
- bool extension.sendRuntimeAsyncMessage(type, value, callback)

Change-Id: I50bfdb9f4b5875aad0fd40b850e3295c8dfc7c1e
12 files changed:
src/bundle/CMakeLists.txt
src/bundle/extension_module.cc
src/bundle/extension_module.h
src/bundle/injected_bundle.cc
src/bundle/runtime_ipc_client.cc [new file with mode: 0644]
src/bundle/runtime_ipc_client.h [new file with mode: 0644]
src/runtime/web_application.cc
src/runtime/web_application.h
src/runtime/web_view.cc
src/runtime/web_view.h
src/runtime/web_view_impl.cc
src/runtime/web_view_impl.h