-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Merge M73][NTP] Add API for search suggestion selected
window.chrome.embeddedSearch.newTabPage.searchSuggestionSelected(task_version, task_id, hash) When a search suggestion is selected clear the cached data and issue a new request. For only this request we append the selected suggestion to the blocklist. This prevents a race condition where the request completes before the data server side is updated to reflect the selection, resulting in the same suggestion appearing in the next set. Bug: 904565 Change-Id: Ie322f0efdfc23618c0b8455695d6790e434a30b2 Reviewed-on: https://chromium-review.googlesource.com/c/1422397 Commit-Queue: Kyle Milka <[email protected]> Reviewed-by: Chris Palmer <[email protected]> Reviewed-by: Kristi Park <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#626757}(cherry picked from commit 9132e5f) Reviewed-on: https://chromium-review.googlesource.com/c/1446557 Reviewed-by: Kyle Milka <[email protected]> Cr-Commit-Position: refs/branch-heads/3683@{#67} Cr-Branched-From: e510299-refs/heads/master@{#625896}
- Loading branch information
Kyle Milka
committed
Jan 30, 2019
1 parent
7befe3c
commit c512110
Showing
21 changed files
with
529 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.