DescriptionRe-Reland: Implement features in NativeViewHostAura for scroll end
effect
This CL enables the fast resize path on Aura by implementing
NativeViewHostAura::InstallClip. It also adds the concept of gravity to
the fast resize state to control the positioning of the clip relative to
the contents. Gravity is implemented for Aura only in this CL and
ignored in other implementations.
Refactored |clipping_window_| so that ownership is not in NVHA. Added
test to make sure that the leak is resolved. Fixed occlusion issue with
find bar by setting kHostViewKey for |clipping_window_|.
https://codereview.chromium.org/48113014/ fixes the issues with not
being able to drag apps.
https://codereview.chromium.org/54623007/ will resolve issues with drop
downs not locating correctly.
BUG=151356
BUG=282463
TEST=Confirmed the fast path and gravity works in conjunction with
scroll end effect CL.
Added and updated unit tests.
Ran ash_unittests and views_unittests locally under headchecker.
Ran ash_unittests and views_unittests locally under ASAN.
Patch Set 1 #Patch Set 2 : Rebased CL #
Total comments: 4
Patch Set 3 : Responded to sadrul's nits #
Total comments: 18
Patch Set 4 : Responded to sky's comments #
Total comments: 2
Patch Set 5 : Moved ownership of clipping_window_ solely into NHVA #
Total comments: 5
Patch Set 6 : Fixed issues that sky@ caught #Messages
Total messages: 13 (0 generated)
|