UI Framework-1: Aura Multi-desktop
2024-08-31 12:54:06
Multi-desktop
Aura now makes it possible for the same browser process to render to multiple desktops simultaneously (e.g., Native Desktop and Metro Desktop on Windows 8).
To enable this, the Chromium codebase had to be made multi-desktop aware (i.e., chrome::HostDesktopType parameters were added in several locations).
So... a bunch of methods now take chrome::HostDesktopType, but how do you get the right HostDesktopType when you need to provide one?
There are many ways:
Most of the methods mentioned above are found in src/chrome/browser/ui/host_desktop.h.
Note: If you hardcode HOST_DESKTOP_TYPE_NATIVE it will look like it's working if you're in a single-desktop environment (which most of you are), but what it will really do is: one day someone will trigger your feature from the Ash desktop (e.g., in Windows 8 Metro) and it will open a window/tab on the native desktop (invisible to the user who is immersed in the Ash environment)...
|
最新文章
- jQuery+CSS3文字跑马灯特效
- 【ueditor】api方法
- 1001. A+B Format (20)
- Ubuntu Gnome 14.04.2 lts 折腾笔记
- C++ dll 通用dll编写
- mysql数据库版本引发的问题
- 适配IOS9中间遇到的一些问题
- ASP.Net MVC利用NPOI导入导出Excel
- android 深入研究ratingbar自定义
- Hadoop概念学习系列之URI深入(三十二)
- Linux kernel ‘qeth_snmp_command’函数缓冲区溢出漏洞
- SQLCLR
- poj1023
- jquery插件FlexiGrid的使用
- python-networkx学习(1)
- AD16 PCB重新定义板型时没有Redefine Board Shape
- DataGridView的单元格如何嵌入多个按钮控件
- goaccess nginx 日志分析
- TensorFlow加载图片的方法
- CentOS6最佳实践
热门文章
- updatefile.sh - Linux下代码更新脚本
- WebRTC代码走读(八):代码文件夹结构
- 143.vector模板库
- 报表工具Report Builder 3.0的安装
- (转载)Android引导界面实现
- Servlet学习(一)——Servlet的生命周期、执行过程、配置
- String Comparison(C#)
- js闭包详解-转自好友trigkit4
- 复制excel表,往excel表中写入数据
- Uncaught TypeError: Cannot read property 'offsetTop' of undefined at VueComponent.handleScroll