summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-21 00:37:53 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-21 00:37:53 +0000
commit41403c2c8d74a134888b58eee0b453088d36dde3 (patch)
treeae6c4330955c8cc14ba3e49487e53677c06834a8 /chrome
parent7004d7ebec6cd4de175d8f894c2a0c58fb6f41c8 (diff)
downloadchromium_src-41403c2c8d74a134888b58eee0b453088d36dde3.zip
chromium_src-41403c2c8d74a134888b58eee0b453088d36dde3.tar.gz
chromium_src-41403c2c8d74a134888b58eee0b453088d36dde3.tar.bz2
DOMUI: Delay loading the password lists until the password manager is shown.
BUG=67716 TEST=none Review URL: http://codereview.chromium.org/6269014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72056 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/resources/options/password_manager.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/resources/options/password_manager.js b/chrome/browser/resources/options/password_manager.js
index ac3fc3a..a4ac06b 100644
--- a/chrome/browser/resources/options/password_manager.js
+++ b/chrome/browser/resources/options/password_manager.js
@@ -41,12 +41,18 @@ cr.define('options', function() {
*/
passwordExceptionsList_: null,
+ /** @inheritDoc */
initializePage: function() {
OptionsPage.prototype.initializePage.call(this);
this.createSavedPasswordsList_();
this.createPasswordExceptionsList_();
+ },
+ /** @inheritDoc */
+ didShowPage: function() {
+ // Updating the password lists may cause a blocking platform dialog pop up
+ // (Mac, Linux), so we delay this operation until the page is shown.
chrome.send('updatePasswordLists');
},