• David Black's avatar
    Revert "views: removal of dead code in NativeViewHost" · 53bd2e82
    David Black authored
    This reverts commit 0ee09a04.
    
    Reason for revert: Regresses Assistant UI.
    
    Original change's description:
    > views: removal of dead code in NativeViewHost
    >
    > NativeViewHost has code to deal with being clipped by an ancestor. This logic
    > dates back to when we used NativeViewHost more often, and in particular when
    > NativeViewHost was contained in a ScrollView. AFAIK we no longer have this
    > scenario, so, this removes the unnecessary logic.
    >
    > BUG=none
    > TEST=covered by tests
    >
    > Change-Id: I7b1a9ba047bd7c4abab68f9fe49c651bf50209d2
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1560130
    > Commit-Queue: Scott Violet <sky@chromium.org>
    > Reviewed-by: Michael Wasserman <msw@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#649355}
    
    TBR=sky@chromium.org,msw@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: b:130305523
    Change-Id: Ib0b5dba24bb4e376f3cdad11d19d59e318fd1b2e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1563031Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Commit-Queue: David Black <dmblack@google.com>
    Cr-Commit-Position: refs/heads/master@{#649775}
    53bd2e82
native_view_host_mac.h 2.67 KB