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

Issue 1121893004: Have Notifications appear over docked windows (Closed)

Created:
5 years, 7 months ago by jonross
Modified:
5 years, 7 months ago
Reviewers:
oshima
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Have Notifications appear over docked windows Update AshPopupAlignmentDelegate calculations of its work area. When windows are docked this reduces the work area for windows. AshPopupAlignmentDelegate uses the work area to determine the positioning of notifications. Update this calculation to include the docked region. TEST=AshPopupAlignmentDelegateTest.DockedWindow BUG=284574 Committed: https://crrev.com/5b4e72c6ad0924d64d5eb9a10e063bc9334e95b2 Cr-Commit-Position: refs/heads/master@{#329486}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase mid-changesWq #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -28 lines) Patch
M ash/shelf/shelf_layout_manager.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate.cc View 1 2 3 3 chunks +6 lines, -26 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
jonross
Hi Oshima, Could you take a look at this change? I've updated AshPopupAlignmentDelegate to increase ...
5 years, 7 months ago (2015-05-05 23:12:49 UTC) #2
oshima
https://codereview.chromium.org/1121893004/diff/1/ash/system/web_notification/ash_popup_alignment_delegate.cc File ash/system/web_notification/ash_popup_alignment_delegate.cc (right): https://codereview.chromium.org/1121893004/diff/1/ash/system/web_notification/ash_popup_alignment_delegate.cc#newcode153 ash/system/web_notification/ash_popup_alignment_delegate.cc:153: work_area_.Union(shelf_->dock_bounds()); I don't think this is correct. let me ...
5 years, 7 months ago (2015-05-06 21:01:18 UTC) #3
jonross
https://codereview.chromium.org/1121893004/diff/1/ash/system/web_notification/ash_popup_alignment_delegate.cc File ash/system/web_notification/ash_popup_alignment_delegate.cc (right): https://codereview.chromium.org/1121893004/diff/1/ash/system/web_notification/ash_popup_alignment_delegate.cc#newcode153 ash/system/web_notification/ash_popup_alignment_delegate.cc:153: work_area_.Union(shelf_->dock_bounds()); On 2015/05/06 21:01:18, oshima wrote: > I don't ...
5 years, 7 months ago (2015-05-07 18:54:27 UTC) #4
oshima
nice. two nits. https://codereview.chromium.org/1121893004/diff/40001/ash/system/web_notification/ash_popup_alignment_delegate.cc File ash/system/web_notification/ash_popup_alignment_delegate.cc (right): https://codereview.chromium.org/1121893004/diff/40001/ash/system/web_notification/ash_popup_alignment_delegate.cc#newcode138 ash/system/web_notification/ash_popup_alignment_delegate.cc:138: work_area_ = shelf_->non_shelf_bounds_in_root(); can you rename ...
5 years, 7 months ago (2015-05-07 19:14:51 UTC) #5
jonross
https://codereview.chromium.org/1121893004/diff/40001/ash/system/web_notification/ash_popup_alignment_delegate.cc File ash/system/web_notification/ash_popup_alignment_delegate.cc (right): https://codereview.chromium.org/1121893004/diff/40001/ash/system/web_notification/ash_popup_alignment_delegate.cc#newcode138 ash/system/web_notification/ash_popup_alignment_delegate.cc:138: work_area_ = shelf_->non_shelf_bounds_in_root(); On 2015/05/07 19:14:51, oshima wrote: > ...
5 years, 7 months ago (2015-05-07 20:58:30 UTC) #6
jonross
Hi Oshima, I have addressed your last comments. Could you take another look? Thanks
5 years, 7 months ago (2015-05-12 18:13:30 UTC) #7
oshima
lgtm I somehow thought I did lgtm, sorry.
5 years, 7 months ago (2015-05-12 20:08:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1121893004/60001
5 years, 7 months ago (2015-05-12 20:08:51 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-05-12 21:06:58 UTC) #11
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/5b4e72c6ad0924d64d5eb9a10e063bc9334e95b2 Cr-Commit-Position: refs/heads/master@{#329486}
5 years, 7 months ago (2015-05-12 21:07:55 UTC) #12
jonross
5 years, 7 months ago (2015-05-12 22:18:52 UTC) #13
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1135323002/ by jonross@chromium.org.

The reason for reverting is: varkha@ noticed that this change will cause the
virtual keyboard to obscure the notifications. Which I confirmed on my local
branch.

Reverting before the regression is released.

I'll work on a followup change that also accounts for the keyboard region..

Powered by Google App Engine
This is Rietveld 408576698