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

Issue 2154223002: Hide the DIV containing password import/export buttons (Closed)

Created:
4 years, 5 months ago by vabr (Chromium)
Modified:
4 years, 5 months ago
Reviewers:
stevenjb, hcarmona
CC:
chromium-reviews, dbeam+watch-options_chromium.org, gcasto+watchlist_chromium.org, michaelpg+watch-options_chromium.org, arv+watch_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hide the DIV containing password import/export buttons The import/export feature for passwords is currently behind a flag. However, the settings WebUI hides the controls instead of the containing DIV. As a result, on loading the settings, the space for the controls is briefly taken into consideration and a vertical scrollbar shows up. This CL hides the containing DIV instead of the individual controls. Test steps: With chrome://flags/#password-import-export enabled, observe that about:settings/passwords looks the same as without the patch. With chrome://flags/#password-import-export disabled, observe that during reloading of about:settings/passwords, no vertical scroll bar is flashing/seen. BUG=626634 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/33bd96dd8b9c462fe5a83d43a6ce535321907ca5 Cr-Commit-Position: refs/heads/master@{#406616}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Toggle class #

Total comments: 2

Patch Set 3 : parent div hidden #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M chrome/browser/resources/options/password_manager.html View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/options/password_manager.js View 1 2 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 33 (21 generated)
vabr (Chromium)
Hi Steven, Could you please take a look? Thanks! Vaclav https://codereview.chromium.org/2154223002/diff/1/chrome/browser/resources/options/password_manager.js File chrome/browser/resources/options/password_manager.js (right): https://codereview.chromium.org/2154223002/diff/1/chrome/browser/resources/options/password_manager.js#newcode292 ...
4 years, 5 months ago (2016-07-18 14:07:17 UTC) #8
stevenjb
+hcarmona@
4 years, 5 months ago (2016-07-18 15:21:37 UTC) #10
stevenjb
Have we made sure that this feature is included in the new md-settings UI (and ...
4 years, 5 months ago (2016-07-18 15:27:18 UTC) #11
vabr (Chromium)
Thanks for the review, please take a look again. As for adding this to the ...
4 years, 5 months ago (2016-07-18 15:53:10 UTC) #14
stevenjb
Now that I am thinking about this more, dud you try just using 'hidden' on ...
4 years, 5 months ago (2016-07-18 16:34:33 UTC) #15
vabr (Chromium)
Thanks, Steven! You were right, even the "hidden" attribute worked, the important thing was just ...
4 years, 5 months ago (2016-07-19 08:16:57 UTC) #22
stevenjb
On 2016/07/19 08:16:57, vabr (Chromium) wrote: > Thanks, Steven! > > You were right, even ...
4 years, 5 months ago (2016-07-20 16:25:55 UTC) #25
stevenjb
lgtm
4 years, 5 months ago (2016-07-20 16:26:38 UTC) #26
vabr (Chromium)
On 2016/07/20 16:25:55, stevenjb wrote: > On 2016/07/19 08:16:57, vabr (Chromium) wrote: > > Thanks, ...
4 years, 5 months ago (2016-07-20 16:33:12 UTC) #27
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/2154223002/40001
4 years, 5 months ago (2016-07-20 16:35:03 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-20 18:04:46 UTC) #31
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 18:07:37 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/33bd96dd8b9c462fe5a83d43a6ce535321907ca5
Cr-Commit-Position: refs/heads/master@{#406616}

Powered by Google App Engine
This is Rietveld 408576698