Scanning: Add customSort to select behavior
- Provides "customSort" function to scanning select elements that use the select behavior. "customSort" should cover all custom sorting needs by allowing callers to provide their own comparison function and an optional conversion function that can be used to sort on any field. Bug: 1059779 Test: browser_tests --gtest_filter=ScanningAppBrowserTest.All Change-Id: I8bed8c9b2c70f066ac219fcd2c10f17063c9489d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518237 Commit-Queue: Michael Checo <michaelcheco@google.com> Reviewed-by:Zentaro Kavanagh <zentaro@chromium.org> Reviewed-by:
Jesse Schettler <jschettler@chromium.org> Cr-Commit-Position: refs/heads/master@{#825084}
Showing
Please register or sign in to comment