简体   繁体   English

Chrome窗口类型。 他们代表什么?

[英]Chrome window types. What do they stand for?

chrome.windows API tells about 5 window types: "normal", "popup", "panel", "app", "shell". chrome.windows API讲述了5种窗口类型:“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; 弹出窗口是1)带有应用程序的独立窗口(此功能目前在Windows和Linux上可用),2)chrome devtools,如果它的窗口是单独打开的;

But what are the other 3 window types? 但是其他3种窗口类型是什么? Official API provides very little information about this 官方API提供的信息非常少

  • App used to be the application mode window (ran with --app=http://... ) and is now replaced by popup type. 应用程序曾经是应用程序模式窗口(使用--app=http://... ),现在由弹出窗口类型替换。 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. Shell我在本机系统对话框上有钱(使用Ctrl+Shift+P打印),但无法确定。

  • 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: 您需要启用带有--enable-panels标志的那些,它们在Windows上看起来像这样:

  • 在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM