Add 'blur' window event.

This commit is contained in:
Cheng Zhao 2013-05-24 17:58:39 +08:00
parent edf2e84895
commit 9c86978da0
2 changed files with 5 additions and 0 deletions

View file

@ -67,6 +67,10 @@ void Window::OnWindowClosed() {
delete this;
}
void Window::OnWindowBlur() {
Emit("blur");
}
// static
v8::Handle<v8::Value> Window::New(const v8::Arguments &args) {
v8::HandleScope scope;