UI Framework-1: Aura Client API
2024-08-31 13:15:18
Client API
The Aura Client API is an API Aura uses to communicate with the client application using the Aura system. Since Aura is very simple, providing just basic window and event types, there are many details it cannot know about directly. It delegates some functionality to its client (such as window stacking) and also provides the client API as a conduit for users of Aura to communicate with the embedding environment.
For example, Aura does not implement tooltips directly, these are a feature implemented by an client application. The Client API has knowledge of tooltips however so that a system like Views (which depends on Aura) can specify tooltip parameters. The client application can interpret this data and show the relevant UI.
The Aura Window class supports opaque properties, and a list of well known keys is provided as part of the Client API.
In the ChromeOS Desktop Window Manager, the Aura Client is a component known as the "Aura Shell" or "Ash":
A breakdown of responsibility between Aura and the Aura Shell (as implemented for ChromeOS):
The Aura Shell implements the Aura Client API, and uses Aura and Views to achieve all of this. In the diagram above, I show a second Aura Client API implementation. This is what we will end up with when we transition Desktop Chrome on Windows to use the Aura system, sometime in 2012. This will allow us to hardware accelerate our UI.
With this in mind, it is important to keep the Aura layer of the framework clean and simple, since much of the ChromeOS DWM functionality and feature set is not relevant to desktop Chrome, just the basic windowing primitives
|
最新文章
- 170106、用9种办法解决 JS 闭包经典面试题之 for 循环取 i
- GoLang语言
- POJ1986 Distance Queries (LCA)(倍增)
- [转载]ExtJs4 笔记(6) Ext.MessageBox 消息对话框
- 面试官的七种武器:Java篇
- (转)用AGG实现高质量图形输出(二)
- RegisterClientScriptBlock CommandName 模块列 操作完成 提示
- Effective MySQL之备份与恢复
- 移动端默认返回按键,使用h5+修改默认事件
- k-临近算法学习
- Uni-app事件处理
- 重建docker实例
- scala mkstring
- docker仓库harbor搭建
- Linux基本的命令使用2018-4-20 18:47:28
- 树莓派+tomcat+mysql安装及配置
- itext汇总 生成pdf
- 分析redis key大小的几种方法
- 2017-2018-1 20155231 《信息安全系统设计基础》实现mypwd
- UML实践
热门文章
- NOIP2017提高组模拟赛 8(总结)
- Bringing up the Avnet MicroZed with Vivado
- python 3.x 学习笔记8 (os模块及xml修改)
- Android ViewPager 动画效果
- jquery动态表格,动态添加表格行
- 【原创】MemCached中的参数解释
- 路飞学城Python-Day7(practise)
- php nusoap类的使用、用法、出错 及说明
- BZOJ 1190 [HNOI2007]梦幻岛宝珠(背包)
- BZOJ 1085 / LOJ 2151 [SCOI2005]骑士精神 (剪枝/A*迭代搜索)