summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/print_preview/native_layer.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/print_preview/native_layer.js')
-rw-r--r--chrome/browser/resources/print_preview/native_layer.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/resources/print_preview/native_layer.js b/chrome/browser/resources/print_preview/native_layer.js
index b1151e6..712bf42 100644
--- a/chrome/browser/resources/print_preview/native_layer.js
+++ b/chrome/browser/resources/print_preview/native_layer.js
@@ -279,6 +279,11 @@ cr.define('print_preview', function() {
chrome.send('showSystemDialog');
},
+ /** Shows Google Cloud Print's web-based print dialog. */
+ startShowCloudPrintDialog: function() {
+ chrome.send('printWithCloudPrint');
+ },
+
/** Closes the print preview dialog. */
startCloseDialog: function() {
chrome.send('closePrintPreviewTab');