Remove newWindow from native extension

This commit is contained in:
Corey Johnson 2012-08-29 08:56:57 -07:00
parent fa4650343b
commit 073164c584
2 changed files with 0 additions and 8 deletions

View File

@ -49,9 +49,6 @@ var $native = {};
native function toggleDevTools();
$native.toggleDevTools = toggleDevTools;
native function newWindow();
$native.newWindow = newWindow;
native function saveDialog();
$native.saveDialog = saveDialog;

View File

@ -216,11 +216,6 @@ bool Native::Execute(const CefString& name,
return true;
}
else if (name == "newWindow") {
[(AtomApplication *)NSApp open:nil];
return true;
}
else if (name == "saveDialog") {
NSSavePanel *panel = [NSSavePanel savePanel];
if ([panel runModal] == NSFileHandlingPanelOKButton) {