| Index: chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.js
|
| diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.js b/chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.js
|
| index b2b55bb5d5b3d89e2d12164f3a948984c63fe412..bfa1e2d283934a8ab457b62192c836d1dac2ad9c 100644
|
| --- a/chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.js
|
| +++ b/chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.js
|
| @@ -46,6 +46,17 @@ Polymer({
|
| },
|
|
|
| /**
|
| + * Gets the title text for the show/hide icon.
|
| + * @param {string} password
|
| + * @param {string} hide The i18n text to use for 'Hide'
|
| + * @param {string} show The i18n text to use for 'Show'
|
| + * @private
|
| + */
|
| + showPasswordTitle_: function(password, hide, show) {
|
| + return password ? hide : show;
|
| + },
|
| +
|
| + /**
|
| * Gets the text of the password. Will use the value of |password| unless it
|
| * cannot be shown, in which case it will be spaces.
|
| * @param {!chrome.passwordsPrivate.PasswordUiEntry} item
|
|
|