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

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

Issue 2795353002: WebUI: For cr-dialog, handle Enter keys in paper-inputs. (Closed)
Patch Set: update tests Created 3 years, 8 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/password_edit_dialog.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.html b/chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.html
index f8b3ba265d5e70782ccdfd77c2c147b1a3ddbe07..5f660a412775569d2b77466ecf12886896bb5e69 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.html
@@ -36,8 +36,7 @@
--iron-icon-fill-color: var(--paper-grey-600);
}
</style>
- <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}"
- on-keypress="onKeypress_">
+ <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}">
<div class="title">$i18n{passwordDetailsTitle}</div>
<div class="body">
<paper-input id="websiteInput" label="$i18n{editPasswordWebsiteLabel}"
@@ -63,8 +62,9 @@
</div>
</div>
<div class="button-container">
- <paper-button id="actionButton" class="action-button"
- on-tap="onActionButtonTap_">$i18n{passwordsDone}</paper-button>
+ <paper-button class="action-button" on-tap="onActionButtonTap_">
+ $i18n{passwordsDone}
+ </paper-button>
</div>
</dialog>
</template>

Powered by Google App Engine
This is Rietveld 408576698