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

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

Issue 909143004: Add support for starting an extension print job to print preview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: vitaly's feedback Created 5 years, 10 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/print_header.js
diff --git a/chrome/browser/resources/print_preview/print_header.js b/chrome/browser/resources/print_preview/print_header.js
index 6d623fa7dbed06da3621d9814fbe2d99dcd1bfc8..cc0895643fa9fe773bc4d2a7dd8f404017b13e7e 100644
--- a/chrome/browser/resources/print_preview/print_header.js
+++ b/chrome/browser/resources/print_preview/print_header.js
@@ -142,9 +142,6 @@ cr.define('print_preview', function() {
updatePrintButtonEnabledState_: function() {
this.getChildElement('button.print').disabled =
this.destinationStore_.selectedDestination == null ||
- // TODO(tbarzic): Remove this when print request for extension
- // destinations is wired up.
- this.destinationStore_.selectedDestination.isExtension ||
!this.isEnabled_ ||
!this.isPrintButtonEnabled_ ||
!this.printTicketStore_.isTicketValid();

Powered by Google App Engine
This is Rietveld 408576698