-
Caroline Rising authored
Prior behavior was for bubbles to stay within the screen bounds. With this change the bubble will also attempt to stay within the parent window bounds (if one exist) while always staying within the screen bounds. Also add ability for any bubble to offset if out of given bounds instead of mirror. This behavior is used for tab hover cards. Bug: 910739 Change-Id: Ib1137646e818b09fe5192896414be9686d1e01fe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1552284Reviewed-by:
Dana Fried <dfried@chromium.org> Reviewed-by:
Michael Wasserman <msw@chromium.org> Commit-Queue: Caroline Rising <corising@chromium.org> Cr-Commit-Position: refs/heads/master@{#649240}
49938bfd