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

Issue 2308663002: Migrate ArcBitmap to use typemapping (Closed)

Created:
4 years, 3 months ago by yoshiki
Modified:
4 years, 2 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Migrate ArcBitmap to use typemapping BUG=643050 TEST=manual test: notification small icons show in the tray correctly TEST=Autotest cheets_NotificationTest passes Committed: https://crrev.com/377ca77ed026cd7e281fe8d915e109411ac065da Cr-Commit-Position: refs/heads/master@{#421712}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressed comments #

Total comments: 15

Patch Set 3 : Addressed comments #

Total comments: 2

Patch Set 4 : . #

Total comments: 1

Patch Set 5 : Addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -143 lines) Patch
M components/arc/BUILD.gn View 1 1 chunk +0 lines, -15 lines 0 comments Download
A + components/arc/bitmap/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A components/arc/bitmap/bitmap_struct_traits.h View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A components/arc/bitmap/bitmap_struct_traits.cc View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download
D components/arc/bitmap/bitmap_type_converters.h View 1 chunk +0 lines, -20 lines 0 comments Download
D components/arc/bitmap/bitmap_type_converters.cc View 1 chunk +0 lines, -36 lines 0 comments Download
A components/arc/common/bitmap.typemap View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M components/arc/common/typemaps.gni View 1 chunk +1 line, -0 lines 0 comments Download
M ui/arc/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ui/arc/notification/arc_custom_notification_item.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/arc/notification/arc_custom_notification_item.cc View 1 2 chunks +17 lines, -15 lines 0 comments Download
M ui/arc/notification/arc_notification_item.h View 2 chunks +5 lines, -6 lines 0 comments Download
M ui/arc/notification/arc_notification_item.cc View 1 6 chunks +40 lines, -49 lines 0 comments Download
M ui/arc/notification/arc_notification_manager.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 91 (76 generated)
yoshiki
dcheng@, xiyuan@, PTAL. Thanks.
4 years, 3 months ago (2016-09-07 20:04:23 UTC) #40
Luis Héctor Chávez
drive-by: Can you add a TEST= field indicating that you tested this works with ARC ...
4 years, 3 months ago (2016-09-07 20:16:27 UTC) #42
xiyuan
https://codereview.chromium.org/2308663002/diff/120001/components/arc/bitmap/bitmap_struct_traits.h File components/arc/bitmap/bitmap_struct_traits.h (right): https://codereview.chromium.org/2308663002/diff/120001/components/arc/bitmap/bitmap_struct_traits.h#newcode57 components/arc/bitmap/bitmap_struct_traits.h:57: out = new SkBitmap(); This looks wrong. It would ...
4 years, 3 months ago (2016-09-07 22:09:00 UTC) #43
dcheng
https://codereview.chromium.org/2308663002/diff/120001/components/arc/bitmap/bitmap_struct_traits.h File components/arc/bitmap/bitmap_struct_traits.h (right): https://codereview.chromium.org/2308663002/diff/120001/components/arc/bitmap/bitmap_struct_traits.h#newcode17 components/arc/bitmap/bitmap_struct_traits.h:17: return mojo::Array<uint8_t>(); These methods are pretty complex. We should ...
4 years, 3 months ago (2016-09-07 22:47:17 UTC) #44
yoshiki
Hi, I've updated the patch and added TESTs fields. PTAL again. Thanks. https://codereview.chromium.org/2308663002/diff/120001/components/arc/bitmap/bitmap_struct_traits.h File components/arc/bitmap/bitmap_struct_traits.h ...
4 years, 3 months ago (2016-09-09 16:45:30 UTC) #65
xiyuan
lgtm
4 years, 3 months ago (2016-09-09 16:50:57 UTC) #66
dcheng
https://codereview.chromium.org/2308663002/diff/200001/components/arc/bitmap/bitmap_struct_traits.h File components/arc/bitmap/bitmap_struct_traits.h (right): https://codereview.chromium.org/2308663002/diff/200001/components/arc/bitmap/bitmap_struct_traits.h#newcode22 components/arc/bitmap/bitmap_struct_traits.h:22: r.readPixels(info, &pixel_data[0], r.rowBytes(), 0, 0); Let's return a mojo::CArray ...
4 years, 3 months ago (2016-09-09 21:46:33 UTC) #67
yoshiki
https://codereview.chromium.org/2308663002/diff/200001/components/arc/bitmap/bitmap_struct_traits.h File components/arc/bitmap/bitmap_struct_traits.h (right): https://codereview.chromium.org/2308663002/diff/200001/components/arc/bitmap/bitmap_struct_traits.h#newcode22 components/arc/bitmap/bitmap_struct_traits.h:22: r.readPixels(info, &pixel_data[0], r.rowBytes(), 0, 0); On 2016/09/09 21:46:32, dcheng ...
4 years, 3 months ago (2016-09-12 17:35:44 UTC) #72
dcheng
https://codereview.chromium.org/2308663002/diff/200001/components/arc/bitmap/bitmap_struct_traits.h File components/arc/bitmap/bitmap_struct_traits.h (right): https://codereview.chromium.org/2308663002/diff/200001/components/arc/bitmap/bitmap_struct_traits.h#newcode50 components/arc/bitmap/bitmap_struct_traits.h:50: SkImageInfo info = SkImageInfo::Make( On 2016/09/12 17:35:43, yoshiki wrote: ...
4 years, 3 months ago (2016-09-13 01:13:09 UTC) #73
yoshiki
dcheng@, PTAL. Thanks. https://codereview.chromium.org/2308663002/diff/200001/components/arc/bitmap/bitmap_struct_traits.h File components/arc/bitmap/bitmap_struct_traits.h (right): https://codereview.chromium.org/2308663002/diff/200001/components/arc/bitmap/bitmap_struct_traits.h#newcode50 components/arc/bitmap/bitmap_struct_traits.h:50: SkImageInfo info = SkImageInfo::Make( On 2016/09/13 ...
4 years, 3 months ago (2016-09-13 18:01:43 UTC) #78
dcheng
LGTM with nits (and I don't understand the assertion about a standard bitmap format in ...
4 years, 3 months ago (2016-09-13 23:39:16 UTC) #79
Luis Héctor Chávez
components/arc lgtm
4 years, 2 months ago (2016-09-23 19:15:52 UTC) #84
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2308663002/260001
4 years, 2 months ago (2016-09-29 00:29:24 UTC) #87
commit-bot: I haz the power
Committed patchset #5 (id:260001)
4 years, 2 months ago (2016-09-29 01:50:33 UTC) #89
commit-bot: I haz the power
4 years, 2 months ago (2016-09-29 01:55:05 UTC) #91
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/377ca77ed026cd7e281fe8d915e109411ac065da
Cr-Commit-Position: refs/heads/master@{#421712}

Powered by Google App Engine
This is Rietveld 408576698