Cheng Zhao
409a431892
Huge commit to use new V8 and Content APIs.
...
Still got a lots of linking errors!
2013-12-11 15:48:19 +08:00
Cheng Zhao
6bee435170
Destroy the event object immediately after the reply is sent, fixes #102 .
2013-09-26 11:28:53 +08:00
Cheng Zhao
5480cf58c2
Add spec for destroying synchronous event.
2013-09-26 11:27:09 +08:00
Cheng Zhao
11ca836afc
Use the convient V8 wrapper in all files.
2013-09-24 09:41:54 +08:00
Cheng Zhao
a824c88352
Use same name convention in string16_conversions.
2013-09-23 23:00:58 +08:00
Cheng Zhao
761b9d22c8
Do not reply sync messages when window is closed.
2013-09-22 10:44:18 +08:00
Cheng Zhao
1e4762ce92
Do not store the event.returnValue.
2013-09-22 10:03:47 +08:00
Cheng Zhao
d443b36446
Send reply for sync messages when event.returnValue is set.
2013-09-22 09:52:58 +08:00
Cheng Zhao
ef4b36d621
Use string16 instead of std::string when sending IPC messages.
...
The underlying V8::String is represented in UTF18, by using string16 in
IPC messages we can avoid the overhead of encode conversion.
2013-09-20 22:55:42 +08:00
Cheng Zhao
ef5a4b5fe0
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.
2013-09-20 22:32:59 +08:00
Cheng Zhao
6c21121001
Avoid using destoryed native objects in js API.
2013-04-29 19:38:18 +08:00
Cheng Zhao
1309d04ca7
Emulate DOM's Event class.
2013-04-18 21:42:20 +08:00