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

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

Issue 2935303003: Print Preview: Remove global onPrivetPrintFailed (Closed)
Patch Set: Fix 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/data/destination_store.js
diff --git a/chrome/browser/resources/print_preview/data/destination_store.js b/chrome/browser/resources/print_preview/data/destination_store.js
index 63d8b7a1eaeb71c8aac95661e141c00655a5d85a..a52b6d034e2bac20e43daad7120ed99e98533161 100644
--- a/chrome/browser/resources/print_preview/data/destination_store.js
+++ b/chrome/browser/resources/print_preview/data/destination_store.js
@@ -557,10 +557,6 @@ cr.define('print_preview', function() {
this.pdfPrinterEnabled_ = !isInAppKioskMode;
this.systemDefaultDestinationId_ = systemDefaultDestinationId;
this.createLocalPdfPrintDestination_();
- cr.addWebUIListener('privet-printer-added',
- this.onPrivetPrinterAdded_.bind(this));
- cr.addWebUIListener('extension-printers-added',
- this.onExtensionPrintersAdded_.bind(this));
if (!this.appState_.isSelectedDestinationValid()) {
var destinationMatch = this.convertToDestinationMatch_(

Powered by Google App Engine
This is Rietveld 408576698