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

Unified Diff: chrome/browser/resources/settings/people_page/password_prompt_dialog.html

Issue 2277993002: Small fixes for the lock screen md-settings page. (Closed)
Patch Set: Address comments Created 4 years, 4 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/people_page/password_prompt_dialog.html
diff --git a/chrome/browser/resources/settings/people_page/password_prompt_dialog.html b/chrome/browser/resources/settings/people_page/password_prompt_dialog.html
index 8221eff3e19efa2766bb4bb47290a6074b02c9f4..5f893f8ea0b534cbf03e23661330f0d9a71bd91e 100644
--- a/chrome/browser/resources/settings/people_page/password_prompt_dialog.html
+++ b/chrome/browser/resources/settings/people_page/password_prompt_dialog.html
@@ -17,7 +17,7 @@
}
</style>
- <dialog is="cr-dialog" id="dialog">
+ <dialog is="cr-dialog" id="dialog" on-close="onClose_">
<div class="title">$i18n{passwordPromptTitle}</div>
<div class="body">
@@ -27,18 +27,18 @@
label="$i18n{passwordPromptPasswordLabel}"
no-label-float
value="{{password_}}"
- on-change="checkPassword_"
+ on-keydown="onKeydown_"
invalid$="[[passwordInvalid_]]"
error-message="$i18n{passwordPromptInvalidPassword}"
aria-disabled="false">
</paper-input>
<div class="button-strip">
- <paper-button class="cancel-button" on-tap="cancel">
+ <paper-button class="cancel-button" on-tap="onCancelTap_">
$i18n{cancel}
</paper-button>
- <paper-button class="action-button" on-tap="checkPassword_"
+ <paper-button class="action-button" on-tap="submitPassword_"
disabled$="[[!enableConfirm_(password_,
passwordInvalid_)]]">
$i18n{confirm}

Powered by Google App Engine
This is Rietveld 408576698