views: No bubble anchor view without title revealed in immersive mode.
Bubbles are anchored to the app menu button by default. In immersive not revealed mode, the app menu button is drawn somewhere offscreen. To avoid the bubble being placed partially offscreen, return a null anchor view. This will cause the bubble to be drawn in the top left corner, just like regular fullscreen. Test: browser_tests ImmersiveModeControllerAshWebAppBrowserTest.PermissionsBubbleAnchor Change-Id: I1aeaea0da64d3a301a898ae5e7778d123eb2e433 Fixed: 1087143 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2311896Reviewed-by:Peter Boström <pbos@chromium.org> Reviewed-by:
Wei Li <weili@chromium.org> Commit-Queue: Sammie Quon <sammiequon@chromium.org> Cr-Commit-Position: refs/heads/master@{#792013}
Showing
Please register or sign in to comment