tree: b82eb9eaa3fc7d3276182f78f2bbfe30c173f1f2 [path history] [tgz]
  1. browser/
  2. buildflags/
  3. common/
  4. player/
  5. renderer/
  6. DEPS
  7. OWNERS
  8. README.md
components/paint_preview/README.md

Paint Previews

AKA Freeze Dried Tabs

This is a WIP directory that contains code for generating and processing paint previews of pages. A paint preview is a collection of Skia Pictures representing the visual contents of a page along with the links on the page. The preview can be composited and played without a renderer process as a low-fidelity and low-cost alternative to a tab in various contexts.

Why //components?

This directory facilitates sharing code between Blink and the browser process. This has the additional benefit of keeping most of the code centralized to this directory. Parts of the code are consumed in;

  • //cc
  • //chrome
  • //content
  • //third_party/blink

NOTE: This feature depends on working with //content and //third_party/blink so it is incompatible with iOS.

Directory Structure (WIP)

  • browser/ - Code related to managing and requesting paint previews.
  • common/ - Shared code; mojo, protos, and C++ code.
  • renderer/ - Code related to capturing paint previews within the renderer.