Add 'closed' and 'destroyed' event for Window.
This commit is contained in:
parent
afe07521c5
commit
21df63fc9b
3 changed files with 12 additions and 3 deletions
|
@ -26,6 +26,7 @@ class EventEmitter : public node::ObjectWrap {
|
|||
virtual ~EventEmitter();
|
||||
|
||||
// Emit an event and returns whether the handler has called preventDefault().
|
||||
bool Emit(const std::string& name);
|
||||
bool Emit(const std::string& name, base::ListValue* args);
|
||||
|
||||
// Small accessor to return handle_, this follows Google C++ Style.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue