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

Issue 2215213002: Move settings-section expand/collapse animations to settings-section (Closed)

Created:
4 years, 4 months ago by michaelpg
Modified:
4 years, 4 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-settings_chromium.org, dbeam+watch-closure_chromium.org, stevenjb+watch-md-settings_chromium.org, jlklein+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@ConsolidateStyles
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move settings-section expand/collapse animations to settings-section Adds functions on settings-section for the expand/collapse animations. These functions just copied the code from the current main_page_behavior.js, with a few necessary changes to return values and parameters. There should be NO functional changes. main-page-behavior now defers to settings-section for most of the section-related animation work. This is a similar interface to the one in https://codereview.chromium.org/2106013002/. BUG=589681 R=dbeam@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/405f956549f7853d58bf010844997910955880a5 Cr-Commit-Position: refs/heads/master@{#410172}

Patch Set 1 #

Patch Set 2 : remove some holdovers #

Total comments: 19

Patch Set 3 : feedback #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -154 lines) Patch
M chrome/browser/resources/settings/settings_page/compiled_resources2.gyp View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/main_page_behavior.js View 1 2 3 9 chunks +34 lines, -144 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/settings_section.js View 1 2 2 chunks +208 lines, -10 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
michaelpg
PTAL. This is a mostly mechanical change. https://codereview.chromium.org/2215213002/diff/20001/chrome/browser/resources/settings/settings_page/settings_section.js File chrome/browser/resources/settings/settings_page/settings_section.js (right): https://codereview.chromium.org/2215213002/diff/20001/chrome/browser/resources/settings/settings_page/settings_section.js#newcode48 chrome/browser/resources/settings/settings_page/settings_section.js:48: freezeDimensions: function() ...
4 years, 4 months ago (2016-08-05 02:09:11 UTC) #2
Dan Beam
lgtm w/nits I review a lot of code, so sorry if I'm thinking of the ...
4 years, 4 months ago (2016-08-05 04:14:38 UTC) #3
michaelpg
https://codereview.chromium.org/2215213002/diff/20001/chrome/browser/resources/settings/settings_page/main_page_behavior.js File chrome/browser/resources/settings/settings_page/main_page_behavior.js (right): https://codereview.chromium.org/2215213002/diff/20001/chrome/browser/resources/settings/settings_page/main_page_behavior.js#newcode35 chrome/browser/resources/settings/settings_page/main_page_behavior.js:35: this.scroller = this.domHost.parentNode./* presubmit */$.mainContainer; On 2016/08/05 04:14:38, Dan ...
4 years, 4 months ago (2016-08-05 05:16:08 UTC) #4
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/2215213002/80001
4 years, 4 months ago (2016-08-05 20:51:57 UTC) #7
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-05 21:46:52 UTC) #8
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 21:48:19 UTC) #10
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/405f956549f7853d58bf010844997910955880a5
Cr-Commit-Position: refs/heads/master@{#410172}

Powered by Google App Engine
This is Rietveld 408576698