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

Issue 2960333003: Extract the view of control buttons on notification into a separated class (Closed)

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

Description

Extract the view of control buttons on notification into a separated class This patch adds NotificationControlButtonsView, which is the view for the control buttons. It was implemented in ArcNotificationContentView and this patch extracts it into a separated class. In near feature, NotificationControlButtonsView is shared among non-ARC notification as well. BUG=717455 TEST=manual test, tests passes Review-Url: https://codereview.chromium.org/2960333003 Cr-Commit-Position: refs/heads/master@{#483346} Committed: https://chromium.googlesource.com/chromium/src/+/0962c12a78af3ea8488f9a0525df87651eb48c52

Patch Set 1 #

Total comments: 18

Patch Set 2 : rebased #

Patch Set 3 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+315 lines, -215 lines) Patch
M ui/arc/notification/arc_notification_content_view.h View 1 2 7 chunks +5 lines, -37 lines 0 comments Download
M ui/arc/notification/arc_notification_content_view.cc View 1 2 14 chunks +47 lines, -173 lines 0 comments Download
M ui/arc/notification/arc_notification_content_view_unittest.cc View 2 chunks +7 lines, -4 lines 0 comments Download
M ui/arc/notification/arc_notification_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/arc/notification/arc_notification_delegate.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M ui/message_center/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/message_center/views/message_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/message_center/views/message_view.cc View 1 chunk +4 lines, -0 lines 0 comments Download
A ui/message_center/views/notification_control_buttons_view.h View 1 2 1 chunk +85 lines, -0 lines 0 comments Download
A ui/message_center/views/notification_control_buttons_view.cc View 1 2 1 chunk +156 lines, -0 lines 0 comments Download
M ui/message_center/views/notification_view.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 29 (20 generated)
yoshiki
Hanada-san, PTAL. Thanks.
3 years, 5 months ago (2017-06-29 03:37:59 UTC) #5
yhanada
https://codereview.chromium.org/2960333003/diff/1/ui/arc/notification/arc_notification_content_view.cc File ui/arc/notification/arc_notification_content_view.cc (left): https://codereview.chromium.org/2960333003/diff/1/ui/arc/notification/arc_notification_content_view.cc#oldcode18 ui/arc/notification/arc_notification_content_view.cc:18: #include "ui/compositor/layer_animation_observer.h" LayerAnimationObserver seems to be still used. https://codereview.chromium.org/2960333003/diff/1/ui/arc/notification/arc_notification_content_view.cc ...
3 years, 5 months ago (2017-06-29 04:14:48 UTC) #6
yoshiki
Hanada-san, PTAL. Thanks. https://codereview.chromium.org/2960333003/diff/1/ui/arc/notification/arc_notification_content_view.cc File ui/arc/notification/arc_notification_content_view.cc (left): https://codereview.chromium.org/2960333003/diff/1/ui/arc/notification/arc_notification_content_view.cc#oldcode18 ui/arc/notification/arc_notification_content_view.cc:18: #include "ui/compositor/layer_animation_observer.h" On 2017/06/29 04:14:47, yhanada ...
3 years, 5 months ago (2017-06-29 06:29:42 UTC) #18
yhanada
lgtm!
3 years, 5 months ago (2017-06-29 06:33:20 UTC) #19
yoshiki
Thanks! The build failure on win looks unrelated with this issue. Let me take this ...
3 years, 5 months ago (2017-06-29 06:35:42 UTC) #20
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/2960333003/60001
3 years, 5 months ago (2017-06-29 06:36:02 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/479032)
3 years, 5 months ago (2017-06-29 08:02:56 UTC) #24
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/2960333003/60001
3 years, 5 months ago (2017-06-29 12:03:19 UTC) #26
commit-bot: I haz the power
3 years, 5 months ago (2017-06-29 13:16:10 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/0962c12a78af3ea8488f9a0525df...

Powered by Google App Engine
This is Rietveld 408576698