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

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

Issue 10450022: Print Preview Print Destination Search Widget (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reduces size of search image. Created 8 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 8acec69e8a53e2db27d9110e8fde64ca8dd29485..0a8774d4f1101b84019c0d6b01231c11dfebaaa5 100644
--- a/chrome/browser/resources/print_preview/native_layer.js
+++ b/chrome/browser/resources/print_preview/native_layer.js
@@ -232,7 +232,7 @@ cr.define('print_preview', function() {
'fitToPageEnabled': printTicketStore.isFitToPageEnabled()
};
- if (!destination.isLocal && !destination.isPrintWithCloudPrint) {
+ if (!destination.isLocal) {
// We can't set cloudPrintID if the destination is "Print with Cloud
// Print" because the native system will try to print to Google Cloud
// Print with this ID instead of opening a Google Cloud Print dialog.
@@ -300,12 +300,12 @@ cr.define('print_preview', function() {
},
/** Navigates the user to the system printer settings interface. */
- startManageLocalPrinters: function() {
+ startManageLocalDestinations: function() {
chrome.send('manageLocalPrinters');
},
/** Navigates the user to the Google Cloud Print management page. */
- startManageCloudPrinters: function() {
+ startManageCloudDestinations: function() {
chrome.send('manageCloudPrinters');
},

Powered by Google App Engine
This is Rietveld 408576698