Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: components/favicon_base/favicon_util.h

Issue 2313563002: Reduce jank from favicon downscaling. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/favicon/core/favicon_service.cc ('k') | components/favicon_base/favicon_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/favicon_base/favicon_util.h
diff --git a/components/favicon_base/favicon_util.h b/components/favicon_base/favicon_util.h
index 912f06f2f8d2c53363ee7a9fe46dc8e7cdc46917..3e2fbfd6dc0327005e28860e4bf4e2b81ba33a7e 100644
--- a/components/favicon_base/favicon_util.h
+++ b/components/favicon_base/favicon_util.h
@@ -36,6 +36,11 @@ gfx::Image SelectFaviconFramesFromPNGs(
const std::vector<float>& favicon_scales,
int favicon_size);
+favicon_base::FaviconRawBitmapResult ShoehornFaviconToSize(
sky 2016/09/06 20:19:39 Showhorn? ResizeFaviconBitmapResult?
aelias_OOO_until_Jul13 2016/09/06 20:46:42 I wanted to use a pejorative word, so I renamed to
sky 2016/09/06 21:50:45 That argument could be applied to any function tha
aelias_OOO_until_Jul13 2016/09/06 22:10:49 OK, done.
+ const std::vector<favicon_base::FaviconRawBitmapResult>&
+ favicon_bitmap_results,
+ int desired_size_in_pixel);
+
} // namspace favicon_base
#endif // COMPONENTS_FAVICON_BASE_FAVICON_UTIL_H_
« no previous file with comments | « components/favicon/core/favicon_service.cc ('k') | components/favicon_base/favicon_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698