Add partial APIs for WebContents and NavigationController.
This commit is contained in:
parent
257e439efb
commit
d06472b092
4 changed files with 263 additions and 61 deletions
|
@ -0,0 +1,9 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
Content
|
||||
</body>
|
||||
</html>
|
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue