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

Issue 1419053008: MD Settings: Construct reset profile dialog only when needed. (Closed)

Created:
5 years, 1 month ago by dpapad
Modified:
5 years, 1 month ago
Reviewers:
Dan Beam
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@reset_ui2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Create reset profile dialog only when needed. - Moving reset dialog to its own Polymer element <settings-reset-profile-dialog>. - Adding dialog to the DOM, only when user requests to reset the profile. Before this CL the dialog was always added to the DOM but it was hidden. BUG=546840 Committed: https://crrev.com/cb11d007e02ad0b8c90e35e5bcb8e0a6b76975ea Cr-Commit-Position: refs/heads/master@{#359008}

Patch Set 1 #

Patch Set 2 : Programmatically create and remove element #

Total comments: 11

Patch Set 3 : Remove custom event #

Patch Set 4 : remove unused id #

Total comments: 6

Patch Set 5 : address comments #

Patch Set 6 : address comment #

Patch Set 7 : Rebasing #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -151 lines) Patch
D chrome/browser/resources/settings/reset_page/reset_page.css View 1 2 3 4 5 6 1 chunk +0 lines, -35 lines 0 comments Download
M chrome/browser/resources/settings/reset_page/reset_page.html View 1 2 3 4 5 6 1 chunk +1 line, -34 lines 0 comments Download
M chrome/browser/resources/settings/reset_page/reset_page.js View 1 2 3 4 1 chunk +6 lines, -47 lines 0 comments Download
A + chrome/browser/resources/settings/reset_page/reset_profile_dialog.css View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/resources/settings/reset_page/reset_profile_dialog.html View 1 2 3 4 5 6 2 chunks +4 lines, -12 lines 0 comments Download
A + chrome/browser/resources/settings/reset_page/reset_profile_dialog.js View 1 2 3 4 5 3 chunks +10 lines, -19 lines 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 2 3 4 1 chunk +9 lines, -3 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (4 generated)
dpapad
This CL is a follow up to https://codereview.chromium.org/1418803004.
5 years, 1 month ago (2015-11-09 22:17:42 UTC) #3
Dan Beam
https://codereview.chromium.org/1419053008/diff/20001/chrome/browser/resources/settings/reset_page/reset_page.js File chrome/browser/resources/settings/reset_page/reset_page.js (right): https://codereview.chromium.org/1419053008/diff/20001/chrome/browser/resources/settings/reset_page/reset_page.js#newcode28 chrome/browser/resources/settings/reset_page/reset_page.js:28: dialog.setAttribute('id', 'resetDialog'); where is this ID used? https://codereview.chromium.org/1419053008/diff/20001/chrome/browser/resources/settings/reset_page/reset_page.js#newcode29 chrome/browser/resources/settings/reset_page/reset_page.js:29: ...
5 years, 1 month ago (2015-11-09 22:27:08 UTC) #4
dpapad
On 2015/11/09 at 22:27:08, dbeam wrote: > https://codereview.chromium.org/1419053008/diff/20001/chrome/browser/resources/settings/reset_page/reset_page.js > File chrome/browser/resources/settings/reset_page/reset_page.js (right): > > https://codereview.chromium.org/1419053008/diff/20001/chrome/browser/resources/settings/reset_page/reset_page.js#newcode28 ...
5 years, 1 month ago (2015-11-09 22:36:31 UTC) #5
dpapad
https://codereview.chromium.org/1419053008/diff/20001/chrome/browser/resources/settings/reset_page/reset_page.js File chrome/browser/resources/settings/reset_page/reset_page.js (right): https://codereview.chromium.org/1419053008/diff/20001/chrome/browser/resources/settings/reset_page/reset_page.js#newcode28 chrome/browser/resources/settings/reset_page/reset_page.js:28: dialog.setAttribute('id', 'resetDialog'); On 2015/11/09 at 22:27:08, Dan Beam wrote: ...
5 years, 1 month ago (2015-11-09 22:52:20 UTC) #6
Dan Beam
https://codereview.chromium.org/1419053008/diff/20001/chrome/browser/resources/settings/reset_page/reset_profile_dialog.js File chrome/browser/resources/settings/reset_page/reset_profile_dialog.js (right): https://codereview.chromium.org/1419053008/diff/20001/chrome/browser/resources/settings/reset_page/reset_profile_dialog.js#newcode50 chrome/browser/resources/settings/reset_page/reset_profile_dialog.js:50: open: function() { On 2015/11/09 at 22:52:20, dpapad wrote: ...
5 years, 1 month ago (2015-11-10 00:33:30 UTC) #7
dpapad
https://codereview.chromium.org/1419053008/diff/60001/chrome/browser/resources/settings/reset_page/reset_page.js File chrome/browser/resources/settings/reset_page/reset_page.js (right): https://codereview.chromium.org/1419053008/diff/60001/chrome/browser/resources/settings/reset_page/reset_page.js#newcode32 chrome/browser/resources/settings/reset_page/reset_page.js:32: event.currentTarget.remove(); On 2015/11/10 at 00:33:30, Dan Beam wrote: > ...
5 years, 1 month ago (2015-11-10 00:49:30 UTC) #8
Dan Beam
lgtm
5 years, 1 month ago (2015-11-10 03:08:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1419053008/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1419053008/140001
5 years, 1 month ago (2015-11-11 00:57:01 UTC) #12
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 1 month ago (2015-11-11 01:45:28 UTC) #13
commit-bot: I haz the power
5 years, 1 month ago (2015-11-11 01:46:08 UTC) #14
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/cb11d007e02ad0b8c90e35e5bcb8e0a6b76975ea
Cr-Commit-Position: refs/heads/master@{#359008}

Powered by Google App Engine
This is Rietveld 408576698