admin管理员组

文章数量:1401438

chrome.windows API tells about 5 window types: "normal", "popup", "panel", "app", "shell".

  • Normal windows are standard windows with tabs;
  • Popup windows are 1) standalone windows with apps (this feature is currently available on Windows and Linux), 2) chrome devtools if its window is open separately;

But what are the other 3 window types? Official API provides very little information about this

chrome.windows API tells about 5 window types: "normal", "popup", "panel", "app", "shell".

  • Normal windows are standard windows with tabs;
  • Popup windows are 1) standalone windows with apps (this feature is currently available on Windows and Linux), 2) chrome devtools if its window is open separately;

But what are the other 3 window types? Official API provides very little information about this

Share Improve this question edited May 23, 2012 at 18:00 Paul Irish 49.3k22 gold badges105 silver badges136 bronze badges asked May 20, 2012 at 10:40 Dmitrii SorinDmitrii Sorin 4,0264 gold badges33 silver badges40 bronze badges 0
Add a ment  | 

1 Answer 1

Reset to default 7
  • App used to be the application mode window (ran with --app=http://...) and is now replaced by popup type. Based on this and this.

  • Shell I have my money on native system dialogs (Print using Ctrl+Shift+P) but can't really tell for sure.

  • Panel are some snappy, buggy, always-on-top windows that dock near the tray area. You need to enable those with --enable-panels flag and they look like this on Windows:

本文标签: javascriptChrome window types What do they stand forStack Overflow