WebLayer is a high level embedding API to support building a browser.
Unlike src/content, which is only concerned with a sandboxed multi-process web platform, WebLayer includes modern browser features and Google integration. It's the reusable version of Chrome, which might share some portions of the UI and also its support for all the modern HTML5 and browser features (e.g. UI for permissions, autofill, safe browsing etc...).
While it's built on top of src/content, the expectation is that the API will hide the Content API.
Mailing list: weblayer-dev@chromium.org
Bug tracker: Internals>WebLayer
public
the C++ and Java public API. These are the only files an app should use
shell
sample app
‘test’ test harnesses and test-only helper code
‘tools’ helper scripts
‘app’ internal code which runs at the beginning of each process
browser
internal code which runs in the browser process
common
internal code which runs in the browser and child processes
renderer
internal code which runs in the renderer process
utility
internal code which runs in the utility process
If you haven't done this already, you first need to set up an Android build. If you are a Google employee, reach out to weblayer-team@google.com for internal instructions. Otherwise follow the Android build instructions.
To run the sample app:
$ autoninja -C out/Default run_weblayer_shell $ out/Default/bin/run_weblayer_shell
To run instrumentation tests:
$ autoninja -C out/Default weblayer_instrumentation_test_apk $ out/Default/bin/run_weblayer_instrumentation_test_apk
Note: this may not work on some versions of Android. If you see an error setting the WebView provider when running instrumentation tests, try running the tests using the WebLayer support APK which uses a different loading path:
$ autoninja -C out/Default weblayer_support_instrumentation_test_apk $ out/Default/bin/run_weblayer_support_instrumentation_test_apk
The test script will build and install all necessary APKs.
一纸空文是什么意思 | kda是什么单位 | 并是什么意思 | 第一颗原子弹叫什么 | 大面积杀跳蚤用什么药 |
猫咪来家里是什么寓意 | 胸部疼痛是什么原因 | 临盆是什么意思 | 什么病不能吃松花粉 | 次月是什么意思 |
kids是什么品牌 | 做春梦是什么原因 | 弱视是什么 | 梦见死人复活是什么意思 | 小便次数多是什么原因 |
直接胆红素偏高是什么意思 | 一喝酒就脸红是什么原因 | 尿结石什么症状 | 口苦吃什么中药 | 蜘蛛怕什么 |
血压为什么会高jingluanji.com | 什么叫白眼狼hcv8jop0ns3r.cn | 胃顶的难受是什么原因hcv8jop7ns6r.cn | 郭晶晶什么学历fenrenren.com | 拉杆是什么意思hcv8jop5ns1r.cn |
怕得什么hcv9jop1ns1r.cn | 梦到自己老公出轨是什么意思hcv9jop7ns4r.cn | icu和ccu有什么区别hcv7jop6ns8r.cn | 阴虱长什么样子图片hcv7jop9ns9r.cn | 直肠炎是什么原因引起的hcv9jop8ns3r.cn |
什么孩子命里有文曲星hcv9jop0ns8r.cn | 含胸是什么意思inbungee.com | 家贼是什么生肖hcv9jop7ns2r.cn | 肝内强回声是什么意思hcv8jop2ns8r.cn | ex是什么的缩写hcv8jop7ns3r.cn |
竖心旁与什么有关hcv9jop1ns1r.cn | 灌注是什么意思hcv8jop7ns1r.cn | 为什么感冒会全身酸痛hcv8jop2ns3r.cn | 玉五行属性是什么hcv7jop5ns1r.cn | a货翡翠是什么意思hcv8jop9ns1r.cn |