Add responsive and unresponsive events for window.

This commit is contained in:
Cheng Zhao 2013-06-06 19:45:48 +08:00
parent 556e84f53a
commit ae88f303fa
7 changed files with 32 additions and 0 deletions

View file

@ -30,6 +30,10 @@ delegate.browserMainParts.preMainMessageLoopRun = function() {
mainWindow = null;
});
mainWindow.on('unresponsive', function() {
console.log('unresponsive');
});
var template = [
{
label: 'Atom Shell',