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

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

Issue 8341126: Trigger print immediately on selecting GCP escape hatch on Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 fc50be43f5ab56f6fce857282266503693a67f8a..fb197a8503f353a7c1957685f026307ce018b33f 100644
--- a/chrome/browser/resources/print_preview/print_preview.js
+++ b/chrome/browser/resources/print_preview/print_preview.js
@@ -272,6 +272,9 @@ function updateControlsWithSelectedPrinterCapabilities() {
'printerColorModelForColor': print_preview.ColorSettings.COLOR,
'printerDefaultDuplexValue': copiesSettings.UNKNOWN_DUPLEX_MODE,
'disableCopiesOption': true});
+ if (cr.isChromeOS && selectedValue == PRINT_WITH_CLOUD_PRINT) {
dpapad 2011/10/31 15:53:12 Nit: No need for braces.
Albert Bodenhamer 2011/10/31 16:51:50 Done.
+ sendPrintDocumentRequest();
+ }
} else {
// This message will call back to 'updateWithPrinterCapabilities'
// function.
« 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