tree: 05955c3ed6c7765b6430df3714ff4797c3ddd428 [path history] [tgz]
  1. tab_strip/
  2. DEPS
  3. OWNERS
  4. README.md
components/browser_apis/README.md

Browser APIS

This component exposes a set of WebUI APIs for the browser functionality. These APIs may be used by any WebUI clients, so that they do not need to define their own bespoke APIs when implementing a page.

Note that this directory should only contain the API mojom definitions and typemapping code. It should not contain implementation code. Implementation code and binding logic should reside in the embedders (e.g. //chrome). At a high level, this is the general layering of the APIs.

   ------------
   | Clients  |
   ------------
   | API defs |     <-- contained in this component.
------------------  <-- abstraction point.
   | API impl |     <-- resides in the embedder.
   -----------
   | Models   |     <-- embedder specific.
   ------------

The APIs should be agnostic of the underlying embedder and should be flexible enough to present different underlying models. Clients should not have to modify their code to work with different embedders.

PlatformImplementationBinder
Desktop Chrome//chrome/browser/ui/tabs/tab_strip_apichrome/browser/ui/webui_browser/webui_browser_ui.cc