Introduce AnchoredPopupWindow and refactor TextBubble
Introduce a new AnchoredPopupWindow class, containing most of the logic previously in TextBubble, and refactor TextBubble to use this new class. Also introduces a ViewRectProvider that contains most of the logic previously in ViewAnchoredTextBubble. This lays the ground work for using AnchoredPopupWindow (with extra positioning customization/logic) for ListMenuButton to work around a bug in Android ListPopupWindow positioning introduced in Android N. BUG=709522 Change-Id: Ie6364ddcbd7b84736650ad3df8d433e1a75be6b6 Reviewed-on: https://chromium-review.googlesource.com/884328 Commit-Queue: Theresa <twellington@chromium.org> Reviewed-by:Matthew Jones <mdjones@chromium.org> Reviewed-by:
David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#532012}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment