Move the Suggestion Gesture events reporting to Suggestions List.
This change extracts the gesture events from SuggestionViewDelegate and moves the Gesture event reporting over to the OmniboxSuggestionDropdown. Currently, gestures are only reported by the suggestions inheriting from BaseSuggestion MVC component. As an effect, custom suggestion types do not correctly respond to user initiating interaction with the Suggestions list (ie. the list may be updated as the user attempts to scroll the list or collapses the header) and may be reporting inaccurate times (this specifically affects the QueryTiles at this point). The update moves this reporting to a centralized place, ensuring that all the events will be correctly reported, including custom suggestion types. The only case not covered (that was also not covered previously) is the keyboard interaction. Bug: 1106109 Change-Id: I54811d316cf420fc0ea7bbb10b807ef7b3ac196a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2440975Reviewed-by:Ted Choc <tedchoc@chromium.org> Reviewed-by:
Filip Gorski <fgorski@chromium.org> Commit-Queue: Tomasz Wiszkowski <ender@google.com> Cr-Commit-Position: refs/heads/master@{#812951}
Showing
Please register or sign in to comment