Implement smoother autosizing of the extension options overlay
- Use element.animate to resize the overlay for embedded extension
options. When an <extensionoptions> element is embedded in a WebUI
overlay, if its size changes the overlay will smoothly expand to
surround the element.
- Add an API to <extensionoptions> to defer autosizing until its
embedder is ready. This is used to 'pin' the element's size until
the overlay is done expanding.
- Move the <extensionoptions> off screen until the overlay is done
expanding.
- Prevent <extensionoptions> from shrinking after the initial sizing.
This makes the look of the embedded options page more consistent.
BUG=
386842
Committed:
https://src.chromium.org/viewvc/chrome?view=rev&revision=291286
Committed:
https://crrev.com/a9438c47225d119a953ebf195210e655cb88dbc5
Cr-Commit-Position: refs/heads/master@{#291583}