
This change adds a new `post-layout` callback to the `ScrollView` to allow the scroll view to invoke the callback at the end of every layout operation. This is a useful feature to allow the user to explicitly scroll the contents to a specific position after a layout and update the scrollbars. It would allow e.g. to restore the position of the scrolled view in a large content view when the contents is scrolled out of the view. Bug: b:413733359 Change-Id: I9e58136dbbedb3c128b31bba669db060900a87ac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6498548 Auto-Submit: Leonid Baraz <lbaraz@chromium.org> Commit-Queue: Keren Zhu <kerenzhu@chromium.org> Reviewed-by: Keren Zhu <kerenzhu@chromium.org> Commit-Queue: Leonid Baraz <lbaraz@chromium.org> Cr-Commit-Position: refs/heads/main@{#1454078}
This directory contains UI frameworks used to build various user interface features. This directory is not intended to contain UI features (such as a keyboard).