Reland "Hook up animations to ValidationMessageOverlayDelegate"
This is a reland of 6caf7e08. The original patch had a nullptr crash when the Settings was null - this version fixes that. Original change's description: > Hook up animations to ValidationMessageOverlayDelegate > > ValidationMessageOverlayDelegate hosts an internal blink::Page > which is not properly integrated into the normal BeginMainFrame > flow. As such, it needs to be manually prodded in various places. > Integration already existed for layout and paint - this CL adds > animations as well. > > This previously worked because blink::AnimationClock would advance > its own time (against the spec), and so the internal Page would see > advancing time and the animation would keep ticking. When we fixed > blink::AnimationClock to be by the spec, we also broke this. > > This CL also makes sure that the animation used by > ValidationMessageOverlayDelegate is not composited; the internal Page > has no compositor so composited animations will not work. > > Bug: 990680 > Change-Id: I16aaddbfa57eaefadfb557fc9cb435d94672e637 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1763162 > Commit-Queue: Stephen McGruer <smcgruer@chromium.org> > Reviewed-by: Robert Flack <flackr@chromium.org> > Reviewed-by: Philip Rogers <pdr@chromium.org> > Cr-Commit-Position: refs/heads/master@{#691673} Bug: 990680, 999333 Change-Id: I16c9138b63eefe0b32e66ebc562ffa836181b07c TBR=flackr@chromium.org,pdr@chromium.org Change-Id: I16c9138b63eefe0b32e66ebc562ffa836181b07c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1777109Reviewed-by:Stephen McGruer <smcgruer@chromium.org> Reviewed-by:
Kevin Ellis <kevers@chromium.org> Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/master@{#692049}
Showing
Please register or sign in to comment