diff options
author | ericzeng <ericzeng@chromium.org> | 2014-08-23 14:28:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-23 21:35:27 +0000 |
commit | a9438c47225d119a953ebf195210e655cb88dbc5 (patch) | |
tree | 60f3d4807e4501f47141fc2282bcd1fea919cb57 /sdch | |
parent | 9a3ddb332a5ec5e21a5767b2891ba161cda5a3d0 (diff) | |
download | chromium_src-a9438c47225d119a953ebf195210e655cb88dbc5.zip chromium_src-a9438c47225d119a953ebf195210e655cb88dbc5.tar.gz chromium_src-a9438c47225d119a953ebf195210e655cb88dbc5.tar.bz2 |
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
Review URL: https://codereview.chromium.org/480243003
Cr-Commit-Position: refs/heads/master@{#291583}
Diffstat (limited to 'sdch')
0 files changed, 0 insertions, 0 deletions