0
Files
src/chromeos/ui
Peter Kasting d6c295470c Convert text rendering, elision, and manipulation to string_view.
This also converts Label and TextField; these are closely intertwined
with the classes above and converting them is easier than trying to
demarcate the changes around them.

The rest of this huge ball of changes are basically what happens when
you pull this viral string. I could have gone further; l10n_util really
wants to be converted to take string_view args, for example, and not
doing it here results in a lot of string instantiations. But there has
to be some kind of limit, and that was just a step too far.

Bug: 364987728
Change-Id: I8f30313f3aef82a9dea219f84ab1f1d08d91b724
AX-Relnotes: n/a.
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6238094
Reviewed-by: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Reviewed-by: Mike Wasserman <msw@chromium.org>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Elly FJ <ellyjones@chromium.org>
Reviewed-by: Austin Sullivan <asully@chromium.org>
Reviewed-by: Colin Blundell <blundell@chromium.org>
Reviewed-by: Allen Bauer <kylixrd@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1419410}
2025-02-12 10:56:37 -08:00
..

This directory accommodates ChromeOS code that can be linked against both by Ash and Lacros Chrome binaries. Some of the code residing here come originally, but not exclusively, from //ash/public/cpp/. It includes classes, constants, runtime switches, etc.