Map webContents.delete to role

This commit is contained in:
Machisté N. Quintana 2016-03-07 15:50:33 -08:00
parent 4ded709307
commit 03434f45bb

View file

@ -11,7 +11,8 @@ rolesMap = {
paste: 'paste',
selectall: 'selectAll',
minimize: 'minimize',
close: 'close'
close: 'close',
delete: 'delete'
};
// Maps methods that should be called directly on the BrowserWindow instance