feat: use default-app behavior in packaged apps (#16310)

Unify the behavior between default app and packaged apps:
- create default application menu unless the app has one
- default window-all-closed handling unless the app handles the event
This commit is contained in:
Milan Burda 2019-01-15 21:35:53 +01:00 committed by Alexey Kuzmin
parent 8e2ab8b20b
commit 23d44e322d
11 changed files with 133 additions and 37 deletions

View file

@ -35,6 +35,7 @@ filenames = {
"lib/browser/api/web-contents.js",
"lib/browser/api/web-contents-view.js",
"lib/browser/chrome-extension.js",
"lib/browser/default-menu.js",
"lib/browser/guest-view-manager.js",
"lib/browser/guest-window-manager.js",
"lib/browser/init.js",
@ -92,7 +93,6 @@ filenames = {
"default_app/icon.png",
"default_app/index.html",
"default_app/main.js",
"default_app/menu.js",
"default_app/package.json",
"default_app/renderer.js",
"default_app/styles.css",