Commit 41403c2c authored by jhawkins@chromium.org's avatar jhawkins@chromium.org

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
parent 7004d7eb
...@@ -41,12 +41,18 @@ cr.define('options', function() { ...@@ -41,12 +41,18 @@ cr.define('options', function() {
*/ */
passwordExceptionsList_: null, passwordExceptionsList_: null,
/** @inheritDoc */
initializePage: function() { initializePage: function() {
OptionsPage.prototype.initializePage.call(this); OptionsPage.prototype.initializePage.call(this);
this.createSavedPasswordsList_(); this.createSavedPasswordsList_();
this.createPasswordExceptionsList_(); 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'); chrome.send('updatePasswordLists');
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment