summaryrefslogtreecommitdiffstats
path: root/native_client_sdk
diff options
context:
space:
mode:
authorpkotwicz <pkotwicz@chromium.org>2016-02-08 17:06:48 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-09 01:07:57 +0000
commit52ce2121706ad270ecf5ee01b400e3f0aabd941b (patch)
tree19d06cede34467249f1c60c9fe01f71d77de718a /native_client_sdk
parent66d3b34a3c9a2d6834cb914e0f841de4bd5aed58 (diff)
downloadchromium_src-52ce2121706ad270ecf5ee01b400e3f0aabd941b.zip
chromium_src-52ce2121706ad270ecf5ee01b400e3f0aabd941b.tar.gz
chromium_src-52ce2121706ad270ecf5ee01b400e3f0aabd941b.tar.bz2
[Android] Use fallback icon if there is no large favicon on the history page
This CL makes the history page use a rounded rectangle with the first letter of the URL for history entries for which there is no large enough favicon. Previously, the history page did a really bad resize for entries for which there is no large enough favicon. This CL: - Introduces an Android version of FallbackIconService: FallbackIconServiceImplAndroid which uses RoundedIconGenerator - Encodes the SkBitmap produced by FallbackIconService to PNG on a worker thread. Encoding to PNG takes on average 5ms on a Nexus 5. BUG=566012 Review URL: https://codereview.chromium.org/1596273003 Cr-Commit-Position: refs/heads/master@{#374247}
Diffstat (limited to 'native_client_sdk')
0 files changed, 0 insertions, 0 deletions