Emit the message as an event

This commit is contained in:
Paul Betts 2015-06-17 17:31:50 -07:00
parent 794f89abf5
commit cec6895e67
2 changed files with 5 additions and 0 deletions

View file

@ -162,6 +162,10 @@ void Window::OnDevToolsClosed() {
devtools_web_contents_.Reset();
}
void Window::OnExecuteWindowsCommand(int command_id) {
Emit("app-command", command_id);
}
// static
mate::Wrappable* Window::New(v8::Isolate* isolate,
const mate::Dictionary& options) {