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

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

Issue 2783063002: [MD settings] done button in passwords dialog as action button (Closed)
Patch Set: Created 3 years, 9 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 57539bbc64ed7bbe6b92f4515121664687c14dc0..abd4d09306e66b4af0cbd36bf25a1dbd916de510 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
@@ -22,7 +22,8 @@
--iron-icon-fill-color: var(--paper-grey-600);
}
</style>
- <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}">
+ <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}"
+ on-keypress="onKeypress_">
<div class="title">$i18n{passwordDetailsTitle}</div>
<div class="body">
<paper-input id="websiteInput" label="$i18n{editPasswordWebsiteLabel}"
@@ -45,8 +46,8 @@
</div>
</div>
<div class="button-container">
- <paper-button id="cancelButton" class="cancel-button"
- on-tap="onCancelButtonTap_">$i18n{passwordsDone}</paper-button>
+ <paper-button id="actionButton" class="action-button"
+ on-tap="onActionButtonTap_">$i18n{passwordsDone}</paper-button>
</div>
</dialog>
</template>

Powered by Google App Engine
This is Rietveld 408576698