How to start Chrome Hosted App in window?

188 views Asked by At

So I know that 'Chrome Packaged App' will run in a window, I have tried to run the website I want in a <webiview> tag but it gets stuck at the beginning and I can't find a way to debug what's happenning inside that <webview> tag.

I now have tried to change the manifest to work as a 'Chrome Hosted App' but it keeps opening in a tab.

How do I start my app in a window, either by having it as a chrome hosted app?

Or by <webview> (if I find a way to debug it)?

2

There are 2 answers

2
raciasolvo On BEST ANSWER

Chrome's built-in developer tools can be used to debug packaged apps, extensions and webview as well as web pages (Right-click on any page element in webview and select Inspect Element).

0
hadrienj On

As pointed here, a Chrome Hosted app can be open in a specific window if you enable this flag:

Enables the web app style frame for hosted apps

in chrome://flags.