Add partial APIs for WebContents and NavigationController.

This commit is contained in:
Cheng Zhao 2013-04-18 15:09:53 +08:00
parent 257e439efb
commit d06472b092
4 changed files with 263 additions and 61 deletions

View file

@ -5,8 +5,5 @@ var mainWindow = null;
atom.browserMainParts.preMainMessageLoopRun = function() {
mainWindow = new Window({ width: 800, height: 600 });
setTimeout(function() {
mainWindow.destroy();
}, 10000);
mainWindow.loadURL('file://' + __dirname + '/index.html');
}