• Theresa's avatar
    Introduce AnchoredPopupWindow and refactor TextBubble · 99a151ab
    Theresa authored
    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: default avatarMatthew Jones <mdjones@chromium.org>
    Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#532012}
    99a151ab
java_sources.gni 160 KB