Fix permission bubble anchoring for hosted app windows
This CL fixes the anchor point for permission bubbles in hosted app windows where there is no location bar to anchor to. Instead they anchor to the app menu button in the title bar. Previously they would anchor to the top left of the window. Before: https://bugs.chromium.org/p/chromium/issues/attachment?aid=333976&signed_aid=xJPvJxrv89kmG6kAZhF0BQ==&inline=1 After (without location bar): https://bugs.chromium.org/p/chromium/issues/attachment?aid=333977&signed_aid=9OR5wJQecvy4ZcBjUBU7hA==&inline=1 After (with location bar): https://bugs.chromium.org/p/chromium/issues/attachment?aid=334359&signed_aid=dcPRBhCpeAmfmG5ixtDJ_w==&inline=1 This change does not affect regular tabbed browser windows. Bug: 814532 Change-Id: I51f87b710764d4f156834e4fa9ce0e7e10450ad8 Reviewed-on: https://chromium-review.googlesource.com/1004886Reviewed-by:Bret Sepulveda <bsep@chromium.org> Commit-Queue: Alan Cutter <alancutter@chromium.org> Cr-Commit-Position: refs/heads/master@{#550514}
Showing
Please register or sign in to comment