0
Files
src/ui
Peter Kasting 10d5bf9896 Remove StyledLabelListener.
This replaces it with direct callback registration on the underlying
links, conveyed by setting the callback on the RangeStyleInfo
corresponding to the link.  This allows eliminating parameters like the
range, since a different callback or different bound arguments can be
set for each range.

With a change to how ContentSettingBubbleContents works (which was the
other place using the Link* argument of Link::ClickedCallback), this
allows reducing Link::ClickedCallback to one argument as well.  It makes
sense to make these changes simultaneously since they mostly affect the
same listeners and thus this avoids changing lots of signatures twice.

Bug: 1108460
Change-Id: Ie7c9cc7cafeb92b91aad2949e176b99d26d493e3
AX-Relnotes: n/a.
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2388944
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: Peter Boström <pbos@chromium.org>
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805956}
2020-09-10 22:51:15 +00:00
..
2020-08-18 18:19:19 +00:00
2020-09-10 22:51:15 +00:00

This directory contains UI frameworks used to build various user interface features. This directory it not intended to contain UI features (such as a keyboard).