| Index: chrome/browser/resources/options/password_manager_list.js
|
| diff --git a/chrome/browser/resources/options/password_manager_list.js b/chrome/browser/resources/options/password_manager_list.js
|
| index fe6f004af83403ffbddb04bcbf45881bc84e749a..fa3e8f11cbcc640ab6c1b2e9f5988dafeb38f801 100644
|
| --- a/chrome/browser/resources/options/password_manager_list.js
|
| +++ b/chrome/browser/resources/options/password_manager_list.js
|
| @@ -277,6 +277,16 @@ cr.define('options.passwordManager', function() {
|
| this.redraw();
|
| },
|
|
|
| + /**
|
| + * Removes the show password button. This is called by the backend when
|
| + * we are running in an environment that does not support showing
|
| + * passwords, such as Windows Metro
|
| + */
|
| + disableShowPassword: function() {
|
| + this.showPasswords_ = false;
|
| + this.redraw();
|
| + },
|
| +
|
| /** @override */
|
| createItem: function(entry) {
|
| return new PasswordListItem(this.dataModel, entry, this.showPasswords_);
|
|
|