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

Issue 2964973002: Use shared NotificationControlButtonsView for non-arc notification buttons (Closed)

Created:
3 years, 5 months ago by yoshiki
Modified:
3 years, 5 months ago
Reviewers:
yhanada
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use shared NotificationControlButtonsView for non-arc notification buttons We recently introduced NotificationControlButtonsView for displaying control buttons. ARC notification already uses it. This CL makes non-ARC notifications use it. BUG=717455 TEST=unittest passes Review-Url: https://codereview.chromium.org/2964973002 Cr-Commit-Position: refs/heads/master@{#484219} Committed: https://chromium.googlesource.com/chromium/src/+/12cad72cd90108551c79ebde78ed564832478707

Patch Set 1 #

Total comments: 6

Patch Set 2 : addressed comments #

Patch Set 3 : fix test failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -160 lines) Patch
M ui/message_center/views/notification_control_buttons_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/message_center/views/notification_view.h View 1 5 chunks +4 lines, -10 lines 0 comments Download
M ui/message_center/views/notification_view.cc View 1 12 chunks +37 lines, -125 lines 0 comments Download
M ui/message_center/views/notification_view_unittest.cc View 1 2 12 chunks +33 lines, -24 lines 0 comments Download

Messages

Total messages: 28 (20 generated)
yoshiki
Hanada-san, PTAL. Thanks.
3 years, 5 months ago (2017-07-05 04:20:21 UTC) #5
yhanada
https://codereview.chromium.org/2964973002/diff/1/ui/message_center/views/notification_view.cc File ui/message_center/views/notification_view.cc (right): https://codereview.chromium.org/2964973002/diff/1/ui/message_center/views/notification_view.cc#newcode475 ui/message_center/views/notification_view.cc:475: void NotificationView::CreateOrUpdateSettingsButtonView( Should we rename this method? https://codereview.chromium.org/2964973002/diff/1/ui/message_center/views/notification_view.cc#newcode634 ui/message_center/views/notification_view.cc:634: ...
3 years, 5 months ago (2017-07-05 04:40:22 UTC) #6
yoshiki
Hanada-san, PTAL again. https://codereview.chromium.org/2964973002/diff/1/ui/message_center/views/notification_view.cc File ui/message_center/views/notification_view.cc (right): https://codereview.chromium.org/2964973002/diff/1/ui/message_center/views/notification_view.cc#newcode475 ui/message_center/views/notification_view.cc:475: void NotificationView::CreateOrUpdateSettingsButtonView( On 2017/07/05 04:40:21, yhanada ...
3 years, 5 months ago (2017-07-05 06:48:32 UTC) #14
yhanada
lgtm
3 years, 5 months ago (2017-07-05 07:24:38 UTC) #15
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/2964973002/60001
3 years, 5 months ago (2017-07-05 07:59:40 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:60001) as https://chromium.googlesource.com/chromium/src/+/12cad72cd90108551c79ebde78ed564832478707
3 years, 5 months ago (2017-07-05 08:50:24 UTC) #26
yoshiki
This commit causes a memory leak. The fix will be committed soon: https://codereview.chromium.org/2967133002/
3 years, 5 months ago (2017-07-05 13:08:20 UTC) #27
Alexander Potapenko
3 years, 5 months ago (2017-07-05 13:08:41 UTC) #28
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:60001) has been created in
https://codereview.chromium.org/2970953002/ by glider@chromium.org.

The reason for reverting is: Reverting, as this patch caused numerous leaks (see
https://bugs.chromium.org/p/chromium/issues/detail?id=739356).

Powered by Google App Engine
This is Rietveld 408576698