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

Unified Diff: chrome/browser/resources/options/password_manager.js

Issue 6269014: DOMUI: Delay loading the password lists until the password manager is shown. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/password_manager.js
diff --git a/chrome/browser/resources/options/password_manager.js b/chrome/browser/resources/options/password_manager.js
index ac3fc3aa67bfa2a750755578e0db3239dcb96ab5..4d0796f37986a5704d0458d3595d9f09482b2211 100644
--- a/chrome/browser/resources/options/password_manager.js
+++ b/chrome/browser/resources/options/password_manager.js
@@ -46,7 +46,11 @@ cr.define('options', function() {
this.createSavedPasswordsList_();
this.createPasswordExceptionsList_();
+ },
+ didShowPage: function() {
stuartmorgan 2011/01/21 00:23:37 /** @inheritDoc */
James Hawkins 2011/01/21 00:37:33 Done.
+ // 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');
stuartmorgan 2011/01/21 00:23:37 I assume this is okay to call more than once?
James Hawkins 2011/01/21 00:37:33 Correct.
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698