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

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

Issue 2961863002: Print Preview: close dialog when system dialog is open (Win) (Closed)
Patch Set: Adjust comment Created 3 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
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 741a50e1d1d08eb1df0cd7cd992dc8f4a83254f7..6c950952b7deb0b74a4eb51d1e883f69615f91d8 100644
--- a/chrome/browser/resources/print_preview/print_preview.js
+++ b/chrome/browser/resources/print_preview/print_preview.js
@@ -607,7 +607,8 @@ cr.define('print_preview', function() {
var boundHideDialog = function () {
this.nativeLayer_.startHideDialog();
}.bind(this);
- // Local printers resolve when print is started. Hide the dialog.
+ // Local printers resolve when print is ready to start. Hide the
+ // dialog.
whenPrintDone.then(boundHideDialog, boundHideDialog);
}

Powered by Google App Engine
This is Rietveld 408576698