Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Issue 2338133011: MD Settings: Use scrollable behavior for all iron-list containers (Closed)

Created:
4 years, 3 months ago by stevenjb
Modified:
4 years, 2 months ago
Reviewers:
Dan Beam, dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, dbeam+watch-elements_chromium.org, dbeam+watch-closure_chromium.org, jlklein+watch-closure_chromium.org, michaelpg+watch-md-ui_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-elements_chromium.org, oshima+watch_chromium.org, stevenjb+watch-md-settings_chromium.org, vitalyp+closure_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Use scrollable behavior for all iron-list containers This adds a .scroll-container class which adds a 1px min-height to ensure that scrollable iron-list elements update. It also updates search_engines_page to use CrScrollableBehavior. Note: Even though we are now using scrollable-behavior for search engines, since we do not enforce a max height on the page or the container, the containers will never actually scroll (but if we do set a maximum page height they will, which is nice). BUG=639795 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/2c697de24370a2156fe3a6d616d75105005d4029 Cr-Commit-Position: refs/heads/master@{#421232}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -13 lines) Patch
M chrome/browser/resources/settings/on_startup_page/startup_urls_page.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/search_engines_page/compiled_resources2.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engines_list.html View 2 chunks +11 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engines_list.js View 1 1 chunk +6 lines, -4 lines 0 comments Download
M ui/webui/resources/cr_elements/shared_style_css.html View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
stevenjb
This fix will address the iron-list refresh issue for search engines. There are other approaches, ...
4 years, 3 months ago (2016-09-16 15:54:29 UTC) #3
stevenjb
On 2016/09/16 15:54:29, stevenjb wrote: > This fix will address the iron-list refresh issue for ...
4 years, 3 months ago (2016-09-16 15:54:50 UTC) #4
dpapad
+dbeam @dbeam, @stevenjb: I was OOO while the iron-list was introduced more widely in Settings, ...
4 years, 3 months ago (2016-09-17 00:05:53 UTC) #6
Dan Beam
i don't really have much context on scrollablebehavior (haven't really followed along) and don't know ...
4 years, 3 months ago (2016-09-17 00:54:27 UTC) #7
Dan Beam
On 2016/09/17 00:54:27, Dan Beam wrote: > generally: our team sure does want rules lately; ...
4 years, 3 months ago (2016-09-17 00:54:57 UTC) #8
stevenjb
https://codereview.chromium.org/2338133011/diff/1/chrome/browser/resources/settings/search_engines_page/search_engines_list.js File chrome/browser/resources/settings/search_engines_page/search_engines_list.js (right): https://codereview.chromium.org/2338133011/diff/1/chrome/browser/resources/settings/search_engines_page/search_engines_list.js#newcode25 chrome/browser/resources/settings/search_engines_page/search_engines_list.js:25: this.updateScrollableContents(); On 2016/09/17 00:05:53, dpapad wrote: > I am ...
4 years, 3 months ago (2016-09-19 16:19:15 UTC) #9
stevenjb
Ugh, I'd forgotten I had put this CL up. I re-reviewed and tested this and ...
4 years, 2 months ago (2016-09-26 21:58:19 UTC) #11
dpapad
lgtm
4 years, 2 months ago (2016-09-26 22:02:14 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2338133011/20001
4 years, 2 months ago (2016-09-26 22:06:51 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/284545)
4 years, 2 months ago (2016-09-26 23:20:12 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2338133011/20001
4 years, 2 months ago (2016-09-27 15:58:30 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-09-27 16:34:16 UTC) #20
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 16:36:31 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2c697de24370a2156fe3a6d616d75105005d4029
Cr-Commit-Position: refs/heads/master@{#421232}

Powered by Google App Engine
This is Rietveld 408576698