
A common misuse of querySelector/querySelectorAll is to use a type cast, like this.shadowRoot.querySelector(...) as Type instead of leveraging the type parameter, like this.shadowRoot.querySelector<Type>(...) In this part turning off 'no-restricted-syntax' checks for two CrOS folders (ui/file_manager/ and c/test/data/webui/chromeos/) that exhibit a lot of violations, so that the check can be enabled by default in the top-level ESLint configuration in an upcoming CL. Bug: 1521107 Change-Id: I7a7686bbaf46ffb3c412910993886af778049b60 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5235420 Reviewed-by: Joel Hockey <joelhockey@chromium.org> Auto-Submit: Demetrios Papadopoulos <dpapad@chromium.org> Reviewed-by: Chad Duffin <chadduffin@chromium.org> Commit-Queue: Joel Hockey <joelhockey@chromium.org> Cr-Commit-Position: refs/heads/main@{#1251908}
File Manager aka Files app
This directory contains the UI (HTML/JS/TS/CSS) for ChromeOS File Manager.
In this directory we find 2 apps:
- Files app in ./file_manager/: Main code for Files app.
- Image Loader in ./image_loader/: Auxiliary Chrome extension that tries to extract an image representation of a given file (image, raw image, video, pdf, etc).
Other relevant directories:
- //ash/webui/file_manager/: C++ and HTML/JS for the SWA (System Web App) wrapper.
- //chrome/browser/ash/file_manager/: Most of our C++ code running on the browser process.
- //chrome/browser/ash/extensions/file_manager/:
fileManagerPrivate
Our private API and some other code running on the browser process. - //chrome/common/extensions/api/file_manager_private.idl and file_manager_private_internal.idl: The Private API definition.
Other READMEs
See the following READMEs for more details on the sub-directories.
- ./file_manager/lib/README.md
- ./file_manager/widgets/README.md
- ./file_manager/state/README.md
- ./file_manager/containers/README.md
- ./image_loader/piex/README.md
More info
[Internal only] Files app team maintains some more information in http://go/xf-site.