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

Issue 10453035: Clean up SkBitmapOperations. (Closed)

Created:
8 years, 7 months ago by xiyuan
Modified:
8 years, 7 months ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Clean up SkBitmapOperations. - Remove CreateResizedBitmap since there is a better skia::ImageOperations::Resize; - Update CreateDropShadow to use ShadowValue for shadow definition; BUG=None. TEST=None. All should work as before this change. R=asvitkine@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=139162

Patch Set 1 #

Total comments: 6

Patch Set 2 : for comments in #1 #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -117 lines) Patch
M ash/launcher/launcher_button.cc View 1 4 chunks +9 lines, -21 lines 0 comments Download
M ui/app_list/app_list_item_view.cc View 1 2 chunks +14 lines, -25 lines 0 comments Download
M ui/gfx/shadow_value.h View 1 4 chunks +7 lines, -4 lines 0 comments Download
M ui/gfx/shadow_value.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M ui/gfx/shadow_value_unittest.cc View 1 1 chunk +3 lines, -5 lines 0 comments Download
M ui/gfx/skbitmap_operations.h View 1 2 chunks +7 lines, -15 lines 0 comments Download
M ui/gfx/skbitmap_operations.cc View 1 3 chunks +21 lines, -46 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
xiyuan
8 years, 7 months ago (2012-05-25 17:28:20 UTC) #1
Alexei Svitkine (slow)
http://codereview.chromium.org/10453035/diff/1/ui/app_list/app_list_item_view.cc File ui/app_list/app_list_item_view.cc (right): http://codereview.chromium.org/10453035/diff/1/ui/app_list/app_list_item_view.cc#newcode151 ui/app_list/app_list_item_view.cc:151: &kShadows[arraysize(kShadows)]); I think initializing with (kShadows, kShadows + arraysize(kShadows)) ...
8 years, 7 months ago (2012-05-25 18:16:06 UTC) #2
xiyuan
- All comments in #1 are addressed; - Added a "typedef std::vector<ShadowValue> ShadowValues" in shadow_value.h ...
8 years, 7 months ago (2012-05-25 19:34:01 UTC) #3
Alexei Svitkine (slow)
LGTM
8 years, 7 months ago (2012-05-25 19:45:39 UTC) #4
xiyuan
On 2012/05/25 19:45:39, Alexei Svitkine wrote: > LGTM Sorry, just found that I have more ...
8 years, 7 months ago (2012-05-25 19:52:22 UTC) #5
Alexei Svitkine (slow)
On 2012/05/25 19:52:22, xiyuan wrote: > On 2012/05/25 19:45:39, Alexei Svitkine wrote: > > LGTM ...
8 years, 7 months ago (2012-05-25 20:06:17 UTC) #6
xiyuan
On 2012/05/25 20:06:17, Alexei Svitkine wrote: > On 2012/05/25 19:52:22, xiyuan wrote: > > On ...
8 years, 7 months ago (2012-05-25 20:07:18 UTC) #7
xiyuan
+sky for ash owner's review.
8 years, 7 months ago (2012-05-25 20:18:27 UTC) #8
sky
LGTM
8 years, 7 months ago (2012-05-25 20:33:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/10453035/11002
8 years, 7 months ago (2012-05-25 22:17:36 UTC) #10
commit-bot: I haz the power
8 years, 7 months ago (2012-05-26 00:29:18 UTC) #11
Change committed as 139162

Powered by Google App Engine
This is Rietveld 408576698