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

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

Issue 2180823004: Migrate <cr-dialog> from PaperDialogBehavior to native <dialog>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge conflicts with Tommy's CL. 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/address_edit_dialog.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html b/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html
index 4dba56f27be973cb041cd3ae85e26101740a2323..13cd09f680b1f05676d1d7061921c20795270f5a 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html
@@ -29,7 +29,7 @@
}
</style>
<template>
- <cr-dialog id="dialog">
+ <dialog is="cr-dialog" id="dialog">
<div class="title">[[title_]]</div>
<div class="body">
<template is="dom-repeat" items="[[addressWrapper_]]">
@@ -78,7 +78,7 @@
</div>
</div>
<div class="button-container">
- <paper-button id="cancelButton" dialog-dismiss>
+ <paper-button id="cancelButton" on-tap="onCancelTap_">
$i18n{cancel}
</paper-button>
<paper-button id="saveButton" class="action-button"
@@ -86,7 +86,7 @@
$i18n{save}
</paper-button>
</div>
- </cr-dialog>
+ </dialog>
</template>
<script src="/passwords_and_forms_page/address_edit_dialog.js"></script>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698