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

Issue 1404333002: Do high-quality resizes for notification images. (Closed)

Created:
5 years, 2 months ago by Daniel Erat
Modified:
5 years, 2 months ago
Reviewers:
dewittj
CC:
chromium-reviews, peter+watch_chromium.org, mlamouri+watch-notifications_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do high-quality resizes for notification images. Use gfx::ImageSkiaOperations::CreateResizedImage() with RESIZE_BEST when resizing notification images to 80x80 before painting them. Previously, gfx::Canvas::DrawImageInt() was used, but this results in poor results with some large images. BUG=543658 Committed: https://crrev.com/ac4ebe021dd185d7a86e930a623891619a415f1d Cr-Commit-Position: refs/heads/master@{#354310}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -17 lines) Patch
M ui/message_center/views/proportional_image_view.cc View 2 chunks +7 lines, -17 lines 4 comments Download

Messages

Total messages: 11 (4 generated)
Daniel Erat
https://codereview.chromium.org/1404333002/diff/1/ui/message_center/views/proportional_image_view.cc File ui/message_center/views/proportional_image_view.cc (left): https://codereview.chromium.org/1404333002/diff/1/ui/message_center/views/proportional_image_view.cc#oldcode49 ui/message_center/views/proportional_image_view.cc:49: paint.setFilterQuality(kLow_SkFilterQuality); i saw no changes when increasing the filter ...
5 years, 2 months ago (2015-10-15 17:14:25 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1404333002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1404333002/1
5 years, 2 months ago (2015-10-15 17:15:04 UTC) #4
dewittj
lgtm Thanks for the contribution! https://codereview.chromium.org/1404333002/diff/1/ui/message_center/views/proportional_image_view.cc File ui/message_center/views/proportional_image_view.cc (left): https://codereview.chromium.org/1404333002/diff/1/ui/message_center/views/proportional_image_view.cc#oldcode49 ui/message_center/views/proportional_image_view.cc:49: paint.setFilterQuality(kLow_SkFilterQuality); On 2015/10/15 17:14:25, ...
5 years, 2 months ago (2015-10-15 17:18:57 UTC) #5
Daniel Erat
On 2015/10/15 17:18:57, dewittj wrote: > lgtm > > Thanks for the contribution! > > ...
5 years, 2 months ago (2015-10-15 17:20:19 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1404333002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1404333002/1
5 years, 2 months ago (2015-10-15 17:20:57 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 2 months ago (2015-10-15 18:28:59 UTC) #10
commit-bot: I haz the power
5 years, 2 months ago (2015-10-15 18:29:42 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ac4ebe021dd185d7a86e930a623891619a415f1d
Cr-Commit-Position: refs/heads/master@{#354310}

Powered by Google App Engine
This is Rietveld 408576698