Description[rAC, OSX] Stop suggestions/inputs from flickering
Stop visual dialog flicker when switching a section's input source from
manual to suggestions or vice versa.
1) Coalesce "requestRelayout" messages, so they are only called once
the current RunLoop iteration is done. Previously, they were
executed immediately on each individual data change - multiple times
while the controller was updating.
2) Change visibility of suggestions/inputs _after_ the views have been
laid out. Prevents briefly observable layout flow.
NOTRY=true
BUG=286530
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226375
Patch Set 1 #Patch Set 2 : Remove bad DCHECK. #
Messages
Total messages: 14 (0 generated)
|