-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set wallpaper search result as background
Steps: 1. On click of result tile, pass id of result to handler. 2. Handler uses the id to get the image SkBitmap from map of search results that were saved during the fetch and passes it to |NtpCustomBackgroundService|. * Note: The whole SkBitmap is passed rather than encoding so that we can skip decoding the image again in the service. 3. The same steps as the rest of the SelectLocalBackgroundImage() methods except we skip over the image decoding step and encode before writing to file. Note: Updated the get method for search results and the frontend to use an object that includes a Token id for each image along with the thumbnail. Bug: b/300966546 Change-Id: I8e72c48e739ea758c3b6349b92cfb42a55c22420 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4936353 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Tibor Goldschwendt <tiborg@chromium.org> Reviewed-by: Alex Gough <ajgo@chromium.org> Commit-Queue: Riley Tatum <rtatum@google.com> Cr-Commit-Position: refs/heads/main@{#1209657}
- Loading branch information
Riley Tatum
authored and
Chromium LUCI CQ
committed
Oct 13, 2023
1 parent
5ad43d1
commit 363b723
Showing
10 changed files
with
259 additions
and
23 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
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.