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

Issue 1980753002: Move close button to MessageView (Closed)

Created:
4 years, 7 months ago by xiyuan
Modified:
4 years, 7 months ago
Reviewers:
yoshiki, dewittj
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@use-messageview
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move close button to MessageView So that it is shared with derived classes. BUG=610767 Committed: https://crrev.com/045c33eb3e2647417ff8c5d8d42c67044b25f7d6 Cr-Commit-Position: refs/heads/master@{#393849}

Patch Set 1 #

Total comments: 2

Patch Set 2 : use constexpr #

Total comments: 2

Patch Set 3 : move CreateOrUpdateCloseButtonView #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -124 lines) Patch
M ui/message_center/views/message_view.h View 4 chunks +17 lines, -13 lines 0 comments Download
M ui/message_center/views/message_view.cc View 1 8 chunks +55 lines, -16 lines 0 comments Download
M ui/message_center/views/notification_view.h View 3 chunks +10 lines, -15 lines 0 comments Download
M ui/message_center/views/notification_view.cc View 1 2 9 chunks +5 lines, -77 lines 0 comments Download
M ui/message_center/views/notification_view_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (5 generated)
xiyuan
The 2nd CL.
4 years, 7 months ago (2016-05-13 19:45:47 UTC) #2
dewittj
yoshiki moved this from MessageView -> NotificationView recently (https://codereview.chromium.org/1645843003) , so adding him to ensure ...
4 years, 7 months ago (2016-05-13 19:58:38 UTC) #4
dewittj
Pending approval from yoshiki, lgtm https://codereview.chromium.org/1980753002/diff/1/ui/message_center/views/message_view.cc File ui/message_center/views/message_view.cc (right): https://codereview.chromium.org/1980753002/diff/1/ui/message_center/views/message_view.cc#newcode30 ui/message_center/views/message_view.cc:30: const int kCloseIconTopPadding = ...
4 years, 7 months ago (2016-05-13 20:28:35 UTC) #5
xiyuan
Will wait for yoshiki... https://codereview.chromium.org/1980753002/diff/1/ui/message_center/views/message_view.cc File ui/message_center/views/message_view.cc (right): https://codereview.chromium.org/1980753002/diff/1/ui/message_center/views/message_view.cc#newcode30 ui/message_center/views/message_view.cc:30: const int kCloseIconTopPadding = 5; ...
4 years, 7 months ago (2016-05-13 22:31:00 UTC) #6
yoshiki
https://codereview.chromium.org/1980753002/diff/20001/ui/message_center/views/notification_view.cc File ui/message_center/views/notification_view.cc (right): https://codereview.chromium.org/1980753002/diff/20001/ui/message_center/views/notification_view.cc#newcode230 ui/message_center/views/notification_view.cc:230: CreateOrUpdateCloseButtonView(notification); When CreateOrUpdateViews() is called from NotificationView::UpdateWithNotification(), CreateOrUpdateCloseButtonView() is ...
4 years, 7 months ago (2016-05-16 03:11:46 UTC) #7
xiyuan
https://codereview.chromium.org/1980753002/diff/20001/ui/message_center/views/notification_view.cc File ui/message_center/views/notification_view.cc (right): https://codereview.chromium.org/1980753002/diff/20001/ui/message_center/views/notification_view.cc#newcode230 ui/message_center/views/notification_view.cc:230: CreateOrUpdateCloseButtonView(notification); On 2016/05/16 03:11:46, yoshiki wrote: > When CreateOrUpdateViews() ...
4 years, 7 months ago (2016-05-16 16:11:55 UTC) #8
yoshiki
lgtm
4 years, 7 months ago (2016-05-16 16:36:23 UTC) #9
xiyuan
Thank you for the quick review.
4 years, 7 months ago (2016-05-16 16:38:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1980753002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1980753002/40001
4 years, 7 months ago (2016-05-16 16:39:03 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-16 16:59:19 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-05-16 17:01:35 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/045c33eb3e2647417ff8c5d8d42c67044b25f7d6
Cr-Commit-Position: refs/heads/master@{#393849}

Powered by Google App Engine
This is Rietveld 408576698