Chromium Code Reviews
DescriptionImprove (ViewAnchored)TextBubble logic
Make the TextBubble more robust and fix a few bugs:
- Make sure that moving the arrow actually triggers a drawable
invalidation.
- Make the ViewAnchoredTextBubble much more robust to View changes
(translate positioning, removing from hierarchy, visibility changes,
etc.).
- Make the TextBubble try to maintain it's orientation (above vs. below)
the anchor rect.
- Make the TextBubble properly swap orientations if the anchor rect
moves and requires it.
- Fix ViewAnchoredTextBubble to properly detach listeners on all dismiss
paths (instead of just an explicit call to dismiss() on the bubble).
BUG=711168
Review-Url: https://codereview.chromium.org/2818693002
Cr-Commit-Position: refs/heads/master@{#464561}
Committed: https://chromium.googlesource.com/chromium/src/+/da26a507e1367331f15769f75797fd70032a08b8
Patch Set 1 #
Total comments: 6
Patch Set 2 : Addressed comments #
Depends on Patchset: Messages
Total messages: 13 (4 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||