tree: 9668197a0655e896027387652b4f1e9697d373e1 [path history] [tgz]
  1. app/
  2. browser/
  3. common/
  4. public/
  5. shell/
  6. test/
  7. tools/
  11. weblayer_resources.grd


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.

Resources and Documentation

Mailing list:

Bug tracker: Internals>WebLayer

Directory Structure

public the C++ and Java public API. These are the only files an app should use

shell sample app

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


To run instrumentation tests:

$ autoninja -C out/Default weblayer_instrumentation_test_apk $ out/Default/bin/run_weblayer_instrumentation_test_apk

The test script will build and install all necessary APKs.