DescriptionMD 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 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 14 (4 generated)
|