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

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

Issue 15716006: Fixed reporting of PrintPreview.PageCount.PrintToCloudPrintWebDialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/native_layer.js
diff --git a/chrome/browser/resources/print_preview/native_layer.js b/chrome/browser/resources/print_preview/native_layer.js
index 02367fc326a014817bdcd4a256ed838c7d0d5ca0..469c362b30ab856909bbc1466d808c54d8f4710c 100644
--- a/chrome/browser/resources/print_preview/native_layer.js
+++ b/chrome/browser/resources/print_preview/native_layer.js
@@ -286,9 +286,11 @@ cr.define('print_preview', function() {
chrome.send('showSystemDialog');
},
- /** Shows Google Cloud Print's web-based print dialog. */
- startShowCloudPrintDialog: function() {
- chrome.send('printWithCloudPrint');
+ /** Shows Google Cloud Print's web-based print dialog.
+ * @param {number} pageCount Number of pages to print.
+ */
+ startShowCloudPrintDialog: function(pageCount) {
+ chrome.send('printWithCloudPrintDialog', [pageCount]);
},
/** Closes the print preview dialog. */

Powered by Google App Engine
This is Rietveld 408576698