0
Files
src/docs
Cole Horvitz 546af9f8f2 WebUI: Set optimize=optimize_webui by default in build_webui.
Now that minify_js exists to minify JS files in build_webui which
are not bundled, it makes sense to do this by default when
optimize_webui=true. This also modifies the minify_js.py script
to include the --module flag in Terser, to accommodate ChromeOS.

This change reduces resources.pak by
- 108kb on Linux (8.42mb -> 8.3mb)
- 128kb on CrOS (20.9mb -> 20.77mb)

Bug: 1431253
Change-Id: I4d5b12c3a1966bab255fb874d8dd83036b7adbd5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4436531
Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: Cole Horvitz <colehorvitz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132226}
2023-04-18 23:24:54 +00:00
..
2022-12-22 20:33:09 +00:00
2023-01-25 01:29:37 +00:00
2023-03-30 17:09:03 +00:00
2022-11-19 02:16:05 +00:00
2023-01-18 02:45:14 +00:00
2023-04-07 22:27:00 +00:00
2023-04-12 21:19:05 +00:00
2023-01-18 02:45:14 +00:00
2021-12-03 18:16:21 +00:00
2023-02-20 16:19:44 +00:00
2023-02-16 03:09:45 +00:00
2023-03-27 17:23:00 +00:00
2022-11-19 02:16:05 +00:00
2022-09-05 02:36:13 +00:00
2022-06-02 14:01:20 +00:00
2021-10-20 17:10:31 +00:00
2023-03-23 01:14:56 +00:00
2023-01-18 02:45:14 +00:00

Chromium docs

This directory contains chromium project documentation in Gitiles-flavored Markdown. It is automatically rendered by Gitiles.

If you add new documents, please also add a link to them in the Document Index below.

[TOC]

Creating Documentation

Guidelines

Previewing changes

Locally using md_browser

# in chromium checkout
./tools/md_browser/md_browser.py

This is only an estimate. The gitiles view may differ.

  1. Upload a patch to gerrit, or receive a review request. e.g. https://chromium-review.googlesource.com/c/3362532
  2. View a specific .md file. e.g. https://chromium-review.googlesource.com/c/3362532/2/docs/README.md
  3. You will see something like
    Base preview -> Patchset 3 preview | DOWNLOAD
    at the top left of the page. Click on the second "preview" link to open the preview for the current patch set.

This gitiles view is the authoritative view, exactly the same as will be used when committed.

Document Index

Checking Out and Building

Design Docs

Integrated Development Environment (IDE) Set Up Guides

Git

Clang

General Development

Testing

Configuration Docs

Misc Linux-Specific Docs

Misc MacOS-Specific Docs

Misc Windows-Specific Docs

Misc Android-Specific Docs

Misc iOS-Specific Docs

Misc Chrome-OS-Specific Docs

Misc WebUI-Specific Docs

Media

Accessibility

Memory

Memory Infrastructure Timeline Profiling (MemoryInfra)

Metrics

Misc

Mojo & Services

Speed

  • Chrome Speed - Documentation for performance measurements and regressions in Chrome.
  • Chrome Speed Metrics - Documentation about user experience metrics on the web and their JavaScript APIs.

UI

Probably Obsolete