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

Unified Diff: chrome/browser/resources/print_preview/print_preview.js

Issue 10661008: Make all printers request when dialog is open. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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/print_preview/print_preview.js
diff --git a/chrome/browser/resources/print_preview/print_preview.js b/chrome/browser/resources/print_preview/print_preview.js
index 66dbe1899f65f5d16ab37e7a05a4a6dfd621695f..01287558b2ac6e52ebcf51a914cf91fc8324e9fe 100644
--- a/chrome/browser/resources/print_preview/print_preview.js
+++ b/chrome/browser/resources/print_preview/print_preview.js
@@ -478,6 +478,9 @@ cr.define('print_preview', function() {
this.userInfo_.setCloudPrintInterface(this.cloudPrintInterface_);
this.destinationStore_.setCloudPrintInterface(this.cloudPrintInterface_);
this.destinationStore_.startLoadRecentCloudDestinations();
+ if (this.destinationSearch_.getIsVisible()) {
+ this.destinationStore_.startLoadAllCloudDestinations();
+ }
},
/**
« 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