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

Issue 2696523002: Stop notifications from being clipped on resize. (Closed)

Created:
3 years, 10 months ago by Eliot Courtney
Modified:
3 years, 10 months ago
Reviewers:
xiyuan, yoshiki, dewittj
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

Stop notifications from being clipped on resize. If you hover over a notification, they are specially held in place so if other notifications disappear or change size, you don't accidentally click on a different one. But, if notifications at or below the notification you are hovering over get bigger, then, in order to keep the hovered notification in the same place, they would be pushed out the bottom of the notification list view and be clipped. Instead, increase the size of the list view and let the hovered notification move up. BUG= Review-Url: https://codereview.chromium.org/2696523002 Cr-Commit-Position: refs/heads/master@{#451547} Committed: https://chromium.googlesource.com/chromium/src/+/9cfb02e626c5e82aa1f2ac8528c50778719bd8c3

Patch Set 1 #

Patch Set 2 : Update comments. #

Patch Set 3 : More animations. #

Total comments: 8

Patch Set 4 : Address comments. #

Patch Set 5 : put that one whitespace back #

Patch Set 6 : Add additional comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+370 lines, -55 lines) Patch
M ui/message_center/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ui/message_center/views/message_center_view.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ui/message_center/views/message_center_view.cc View 1 2 3 1 chunk +14 lines, -9 lines 0 comments Download
M ui/message_center/views/message_center_view_unittest.cc View 1 2 3 4 5 4 chunks +99 lines, -4 lines 0 comments Download
M ui/message_center/views/message_list_view.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M ui/message_center/views/message_list_view.cc View 1 2 3 4 2 chunks +60 lines, -42 lines 0 comments Download
M ui/message_center/views/message_list_view_unittest.cc View 1 2 4 chunks +186 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (8 generated)
Eliot Courtney
3 years, 10 months ago (2017-02-13 08:49:14 UTC) #2
Eliot Courtney
Does anyone know why in the call existing call to AnimateChild, |animate_on_move| is only set ...
3 years, 10 months ago (2017-02-13 09:29:41 UTC) #3
yoshiki
On 2017/02/13 09:29:41, Eliot Courtney wrote: > Does anyone know why in the call existing ...
3 years, 10 months ago (2017-02-13 18:19:04 UTC) #4
yoshiki
+dewittj
3 years, 10 months ago (2017-02-13 18:19:19 UTC) #6
Eliot Courtney
On 2017/02/13 18:19:04, yoshiki wrote: > On 2017/02/13 09:29:41, Eliot Courtney wrote: > > Does ...
3 years, 10 months ago (2017-02-14 02:29:06 UTC) #7
yoshiki
On 2017/02/14 02:29:06, Eliot Courtney wrote: > On 2017/02/13 18:19:04, yoshiki wrote: > > On ...
3 years, 10 months ago (2017-02-16 03:46:47 UTC) #8
Eliot Courtney
Okay, I made it animate all the time. Removing AnimateNotificationsBelowTarget is for another CL anyway ...
3 years, 10 months ago (2017-02-16 04:30:23 UTC) #9
xiyuan
lgtm but please wait for yoshiki@ or dewittj@. https://codereview.chromium.org/2696523002/diff/40001/ui/message_center/views/message_list_view.cc File ui/message_center/views/message_list_view.cc (right): https://codereview.chromium.org/2696523002/diff/40001/ui/message_center/views/message_list_view.cc#newcode371 ui/message_center/views/message_list_view.cc:371: std::vector<int> ...
3 years, 10 months ago (2017-02-16 16:57:46 UTC) #10
dewittj
this lg in principle so far https://codereview.chromium.org/2696523002/diff/40001/ui/message_center/views/message_list_view_unittest.cc File ui/message_center/views/message_list_view_unittest.cc (right): https://codereview.chromium.org/2696523002/diff/40001/ui/message_center/views/message_list_view_unittest.cc#newcode134 ui/message_center/views/message_list_view_unittest.cc:134: std::vector<int> ComputeRepositionOffsets(const std::vector<int>& ...
3 years, 10 months ago (2017-02-16 18:15:13 UTC) #11
yoshiki
lgtm
3 years, 10 months ago (2017-02-17 02:03:37 UTC) #12
Eliot Courtney
Added additional tests. PTAL. https://codereview.chromium.org/2696523002/diff/40001/ui/message_center/views/message_list_view.cc File ui/message_center/views/message_list_view.cc (right): https://codereview.chromium.org/2696523002/diff/40001/ui/message_center/views/message_list_view.cc#newcode371 ui/message_center/views/message_list_view.cc:371: std::vector<int> positions; On 2017/02/16 16:57:46, ...
3 years, 10 months ago (2017-02-17 07:49:49 UTC) #15
dewittj
lgtm, thanks!
3 years, 10 months ago (2017-02-17 16:16:54 UTC) #16
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/2696523002/100001
3 years, 10 months ago (2017-02-20 01:27:47 UTC) #19
commit-bot: I haz the power
3 years, 10 months ago (2017-02-20 02:37:07 UTC) #22
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/9cfb02e626c5e82aa1f2ac8528c5...

Powered by Google App Engine
This is Rietveld 408576698