• Thomas Lukaszewicz's avatar
    Removed set_owned_by_client() from TooltipAura · 6757f24d
    Thomas Lukaszewicz authored
    Currently TooltipAura creates a single TooltipView for its tooltips
    and shares this single instance between transient instances of Widget
    which are created as needed.
    
    This patch changes the behavior such that a new TooltipView is
    created for each new TooltipAura Widget. This ensures that each
    Widget hierarchy can assert ownership over its View tree in alignment
    with current Views best practices.
    
    Bug: 1044687
    Change-Id: I8441ec4264c012d00bd68fd5c7a1d15113e02246
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2212800Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Commit-Queue: Thomas Lukaszewicz <tluk@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#771937}
    6757f24d
tooltip_aura.cc 10.8 KB