app_list: Make search results scroll box work with keyboard selection
With kEnableSearchBoxSelection feature, the focus stays within the search box while the selected result changes (instead of individual search results getting focused as selection changes) - this means that scroll view used by search results page does not handle selection changes automatically. This cl adds a callback to ResultSelectionController that SearchResultPageView can use to detect selection changes, and update the scroll bar to ensure the selected result is visible in the scroll view. Change-Id: Icf24b85174a12cac0b62592a080898cff6375da5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1819329Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#699026}
Showing
This diff is collapsed.
Please register or sign in to comment