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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html

Issue 2154263004: [MD Settings] Lazy create dialogs in Passwords and Autofill section. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback 2.0 Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
index 638277496a95976889dd348069289ef0c65a311a..74bcd18d29bd08b6e0ed36e4cdfb3738a9ac89f9 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
@@ -99,7 +99,11 @@
<button id="menuRemovePassword" class="list-item menu-item"
on-tap="onMenuRemovePasswordTap_">$i18n{removePassword}</button>
</cr-shared-menu>
- <password-edit-dialog id="passwordEditDialog"></password-edit-dialog>
+ <template is="dom-if" if="[[activePassword]]" restamp>
+ <password-edit-dialog on-iron-overlay-closed="unstampPasswordEditDialog_"
+ item="[[activePassword]]">
+ </password-edit-dialog>
+ </template>
<div class="heading">$i18n{passwordExceptionsHeading}</div>
<iron-list id="passwordExceptionsList" items="[[passwordExceptions]]"
class="vertical-list list-section item-list">

Powered by Google App Engine
This is Rietveld 408576698