forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1258470 - 2. Move thumbnail code out of BitmapUtils; r=nalexander
Move the "thumbnail:" handler out of BitmapUtils and into ThumbnailHelper and PromptListItem. The patch adds two overloads of the getAndProcessThumbnailFor method in ThumbnailHelper, which handle the tasks of getting a thumbnail for a specific tab and calling a given BitmapLoader. Because only PromptListItem makes use of the "thumbnail:" convention, the actual handling of "thumbnail:" is moved to PromptListItem, which calls ThumbnailHelper to get the thumbnail.
- Loading branch information
Jim Chen
committed
Sep 14, 2016
1 parent
bdb3591
commit 3013200
Showing
3 changed files
with
34 additions
and
27 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