|
MD Settings: Custom expand/collapse section animations.
Adds a behavior to expand and collapse a list of sections. Co-exists with the
sliding animations in settings-animated-pages for switching between main pages
and sub-pages, so there is a bit of hackery and several TODOs involved.
This fixes a couple problems:
* Width changing drastically while collapsing/expanding
* Duplicate scrollbar showing on top of original scrollbar when
expanding/collapsing
Known issues to be addressed in follow-up patches:
* pressing forward after closing a section resizes to the new subpage before
expanding
* starting an animation while another is in progress resizes to the new
subpage dimensions before expanding
BUG= 589681
Committed: https://crrev.com/e74d6b39b3e7b31ebdb451341ab923b3c8faed07
Cr-Commit-Position: refs/heads/master@{#381390}
Total comments: 39
Total comments: 8
Total comments: 11
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+726 lines, -206 lines) |
Patch |
 |
M |
chrome/browser/resources/settings/advanced_page/advanced_page.html
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/advanced_page/advanced_page.js
|
View
|
1
2
3
4
|
3 chunks |
+17 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/advanced_page/compiled_resources2.gyp
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/basic_page/basic_page.html
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/basic_page/basic_page.js
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/basic_page/compiled_resources2.gyp
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/settings_main/settings_main.css
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/settings_main/settings_main.js
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/settings_page.css
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/settings_page/compiled_resources2.gyp
|
View
|
1
2
3
4
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/resources/settings/settings_page/main_page_behavior.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/resources/settings/settings_page/main_page_behavior.js
|
View
|
1
2
3
4
|
1 chunk |
+379 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/settings_page/settings_section.css
|
View
|
1
|
2 chunks |
+15 lines, -24 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/settings_page/settings_section.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/settings_page/settings_section.js
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -146 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/resources/settings/settings_page/transition_behavior.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/resources/settings/settings_page/transition_behavior.js
|
View
|
1
2
3
4
5
|
1 chunk |
+86 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/settings_resources.grd
|
View
|
1
2
3
4
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/closure_compiler/externs/compiled_resources2.gyp
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/closure_compiler/externs/web_animations.js
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+142 lines, -0 lines |
0 comments
|
Download
|
Total messages: 25 (9 generated)
|