0

Fix more broken links to recently moved WebUI docs.

Bug: None
Change-Id: I20eff74f12cfec54139776d3680ecde041e1e4f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6197757
Auto-Submit: Demetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: Teresa Mao <temao@chromium.org>
Commit-Queue: Teresa Mao <temao@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1411223}
This commit is contained in:
dpapad
2025-01-24 16:29:43 -08:00
committed by Chromium LUCI CQ
parent 5bcec966df
commit 5fd6c08c95
6 changed files with 8 additions and 8 deletions
chrome/browser/ui/webui/ash/sys_internals
docs/testing
styleguide/web
third_party
lit
polymer
ui/webui/resources/js/ios

@ -34,7 +34,7 @@ workflow for development.
### Tests
WebUI testing is performed on the host as part of `browser_tests`. Refer to
[Testing WebUI Pages](https://chromium.googlesource.com/chromium/src/+/HEAD/docs/testing_webui.md)
[Testing WebUI Pages](https://chromium.googlesource.com/chromium/src/+/HEAD/docs/webui/testing_webui.md)
for detailed instructions.
*** note

@ -56,4 +56,4 @@ See [Testing and infrastructure](https://sites.google.com/a/chromium.org/dev/dev
|views\_unittests | |
|wav\_ola\_test | |
|webkit\_unit\_tests | |
|webui tests | Special type of browser\_tests used for [WebUI features](https://chromium.googlesource.com/chromium/src/+/main/docs/webui_explainer.md), see [here](https://docs.google.com/document/d/1Z18WTNv28z5FW3smNEm_GtsfVD2IL-CmmAikwjw3ryo/edit#) for more information on known issues with WebUI test infrastructure. |
|webui tests | Special type of browser\_tests used for [WebUI features](https://chromium.googlesource.com/chromium/src/+/main/docs/webui/webui_explainer.md), see [here](https://docs.google.com/document/d/1Z18WTNv28z5FW3smNEm_GtsfVD2IL-CmmAikwjw3ryo/edit#) for more information on known issues with WebUI test infrastructure. |

@ -535,14 +535,14 @@ added to existing pages, with the following exceptions:
use Polymer, since these mechanisms rely heavily on subproperty observation
and are unlikely to be migrated to Lit in the near future.
Further guidance on Lit use in Chromium can be found in a [dedicated doc](https://chromium.googlesource.com/chromium/src/+/HEAD/docs/webui_using_lit.md).
Further guidance on Lit use in Chromium can be found in a [dedicated doc](https://chromium.googlesource.com/chromium/src/+/HEAD/docs/webui/webui_using_lit.md).
## Grit processing
Grit is a tool that runs at compile time to pack resources together into
Chromium. Resources are packed from grd files. Most Chromium WebUI resources
should be located in autogenerated grd files created by the [`generate_grd`](
https://chromium.googlesource.com/chromium/src/+/main/docs/webui_build_configuration.md#generate_grd)
https://chromium.googlesource.com/chromium/src/+/main/docs/webui/webui_build_configuration.md#generate_grd)
gn rule.
### Preprocessing
@ -580,7 +580,7 @@ ESLint checks fail). Putting these language-invalid features inside of comments
helps alleviate problems with unexpected input.
***
[preprocess_if_expr_doc]: https://chromium.googlesource.com/chromium/src/+/main/docs/webui_build_configuration.md#preprocess_if_expr
[preprocess_if_expr_doc]: https://chromium.googlesource.com/chromium/src/+/main/docs/webui/webui_build_configuration.md#preprocess_if_expr
[defines_search]: https://source.chromium.org/search?q=preprocess_if_expr%20defines&ss=chromium
[grit_args]: https://crsrc.org/c/tools/grit/grit_args.gni?q=_grit_defines
[chrome_features]: https://crsrc.org/c/chrome/common/features.gni?q=chrome_grit_defines

@ -16,7 +16,7 @@ ts_library("build_ts") {
# Polymer) for new WebUI code, see [1] and [2]
#
# [1] https://chromium.googlesource.com/chromium/src/+/HEAD/styleguide/web/web.md#Lit
# [2] https://chromium.googlesource.com/chromium/src/+/HEAD/docs/webui_using_lit.md
# [2] https://chromium.googlesource.com/chromium/src/+/HEAD/docs/webui/webui_using_lit.md
#
# Explicitly tracking targets that can depend on third_party/lit is still
# useful to audit UIs that depend on Lit, and to prevent adding Lit as a

@ -94,7 +94,7 @@ ts_library("library") {
#
# [1] https://chromium.googlesource.com/chromium/src/+/HEAD/styleguide/web/web.md#Lit
# [2] https://chromium.googlesource.com/chromium/src/+/HEAD/styleguide/web/web.md#Polymer
# [2] https://chromium.googlesource.com/chromium/src/+/HEAD/docs/webui_using_lit.md
# [2] https://chromium.googlesource.com/chromium/src/+/HEAD/docs/webui/webui_using_lit.md
# Use Lit instead of Polymer (see //third_party/lit/v3_0:build_ts). Consult
# with //ui/webui/PLATFORM_OWNERS or g/chrome-webui if you think there is a

@ -6,7 +6,7 @@ window['chrome'] = window['chrome'] || {};
/**
* Sends messages to the browser. See
* https://chromium.googlesource.com/chromium/src/+/main/docs/webui_explainer.md#chrome_send
* https://chromium.googlesource.com/chromium/src/+/main/docs/webui/webui_explainer.md#chrome_send
*
* @param {string} message name to be passed to the browser.
* @param {Array=} args optional.