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

Issue 2685283002: Add UpdateNotificationSize to MessageCenterController. (Closed)

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

Description

Add UpdateNotificationSize to MessageCenterController. ArcCustomNotificationView can have its underlying surface change size without a notification update happening afterwards. So, add a method to force re-layout of it. BUG=690813 Review-Url: https://codereview.chromium.org/2685283002 Cr-Commit-Position: refs/heads/master@{#450270} Committed: https://chromium.googlesource.com/chromium/src/+/c7b92666d510df1c3f33db9ec6cc9b17b8d5360a

Patch Set 1 #

Patch Set 2 : Impl functions for tests. #

Patch Set 3 : whitespace #

Total comments: 2

Patch Set 4 : Address comments. #

Total comments: 4

Patch Set 5 : Update commit message. #

Patch Set 6 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -0 lines) Patch
M ui/message_center/views/custom_notification_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/message_center/views/custom_notification_view.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M ui/message_center/views/custom_notification_view_unittest.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M ui/message_center/views/message_center_controller.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M ui/message_center/views/message_center_view.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/message_center/views/message_center_view.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M ui/message_center/views/message_center_view_unittest.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M ui/message_center/views/message_list_view_unittest.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M ui/message_center/views/message_popup_collection.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/message_center/views/message_popup_collection.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M ui/message_center/views/notification_view_unittest.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M ui/message_center/views/toast_contents_view.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/message_center/views/toast_contents_view.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (8 generated)
Eliot Courtney
3 years, 10 months ago (2017-02-13 01:37:08 UTC) #4
xiyuan
lgtm https://codereview.chromium.org/2685283002/diff/40001/ui/message_center/views/message_center_controller.h File ui/message_center/views/message_center_controller.h (right): https://codereview.chromium.org/2685283002/diff/40001/ui/message_center/views/message_center_controller.h#newcode37 ui/message_center/views/message_center_controller.h:37: virtual void ShouldUpdateNotification(const std::string& notification_id) = 0; nit: ...
3 years, 10 months ago (2017-02-13 21:54:07 UTC) #5
Eliot Courtney
Yoshiki, could you review for owners please? https://codereview.chromium.org/2685283002/diff/40001/ui/message_center/views/message_center_controller.h File ui/message_center/views/message_center_controller.h (right): https://codereview.chromium.org/2685283002/diff/40001/ui/message_center/views/message_center_controller.h#newcode37 ui/message_center/views/message_center_controller.h:37: virtual void ...
3 years, 10 months ago (2017-02-14 02:25:53 UTC) #6
yoshiki
https://codereview.chromium.org/2685283002/diff/60001/ui/message_center/views/message_center_controller.h File ui/message_center/views/message_center_controller.h (right): https://codereview.chromium.org/2685283002/diff/60001/ui/message_center/views/message_center_controller.h#newcode37 ui/message_center/views/message_center_controller.h:37: virtual void UpdateNotification(const std::string& notification_id) = 0; nit: I ...
3 years, 10 months ago (2017-02-14 02:41:40 UTC) #7
Eliot Courtney
https://codereview.chromium.org/2685283002/diff/60001/ui/message_center/views/message_center_controller.h File ui/message_center/views/message_center_controller.h (right): https://codereview.chromium.org/2685283002/diff/60001/ui/message_center/views/message_center_controller.h#newcode37 ui/message_center/views/message_center_controller.h:37: virtual void UpdateNotification(const std::string& notification_id) = 0; On 2017/02/14 ...
3 years, 10 months ago (2017-02-14 03:32:15 UTC) #8
yoshiki
lgtm
3 years, 10 months ago (2017-02-14 04:25:36 UTC) #10
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/2685283002/100001
3 years, 10 months ago (2017-02-14 04:31:37 UTC) #13
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 05:37:35 UTC) #16
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/c7b92666d510df1c3f33db9ec6cc...

Powered by Google App Engine
This is Rietveld 408576698