Move app commands to strings

This commit is contained in:
Paul Betts 2015-06-25 11:25:55 -05:00
parent 210417b428
commit cde7c6a4ef
9 changed files with 125 additions and 63 deletions

View file

@ -162,8 +162,8 @@ void Window::OnDevToolsClosed() {
devtools_web_contents_.Reset();
}
void Window::OnExecuteWindowsCommand(int command_id) {
Emit("app-command", command_id);
void Window::OnExecuteWindowsCommand(std::string& command_name) {
Emit("app-command", command_name);
}
// static