DescriptionNotify main-thread of top controls state/height changes instead of CC.
Compositor receives these values from blink via WebLayerTreeView API. This way
the main-thread can show/hide top controls without violating its constraints
and it has the option in future to change these directly without notifying CC.
Top controls is self-animated to completion is also triggered when a main-
thread fling ends.
Depends on CL: http://crrev.com/893683003
BUG=333143
Committed: https://crrev.com/fb80e434a19801b56124a8175bc03b9844f87db5
Cr-Commit-Position: refs/heads/master@{#317581}
Patch Set 1 : End top controls animation ends at main-thread fling end #Patch Set 2 : Pass TopControlsState to webwidget #
Total comments: 5
Patch Set 3 : rebase #Patch Set 4 : Address review feedback #Patch Set 5 : Add test and new setHeight method #Patch Set 6 : Remove unused functions #
Total comments: 2
Patch Set 7 : rebase #Patch Set 8 : Fix compile error after rebase #
Messages
Total messages: 21 (8 generated)
|