Chrome window types. What do they stand for?

我的梦境 提交于 2019-12-13 11:46:32

问题


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


回答1:


  • 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:



来源:https://stackoverflow.com/questions/10672724/chrome-window-types-what-do-they-stand-for

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!