Have Notifications appear over docked windows
commit5b4e72c6ad0924d64d5eb9a10e063bc9334e95b2
authorjonross <jonross@chromium.org>
Tue, 12 May 2015 21:06:47 +0000 (12 14:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 12 May 2015 21:07:09 +0000 (12 21:07 +0000)
tree2d36402cc123a289bf75e857e291eb5e21e6f598
parentf8682c0659117a571813de84f7f033e7eab69153
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

Review URL: https://codereview.chromium.org/1121893004

Cr-Commit-Position: refs/heads/master@{#329486}
ash/shelf/shelf_layout_manager.cc
ash/shelf/shelf_layout_manager.h
ash/system/web_notification/ash_popup_alignment_delegate.cc
ash/system/web_notification/ash_popup_alignment_delegate.h
ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc