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

Unified Diff: chrome/browser/resources/print_preview/search/destination_search.js

Issue 2351023002: [CUPS] Add a "Manage..." button in the local destinations section of Print Preview Dialog on Chrome… (Closed)
Patch Set: Address dpapad@'s comments. Created 4 years, 3 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/search/destination_search.js
diff --git a/chrome/browser/resources/print_preview/search/destination_search.js b/chrome/browser/resources/print_preview/search/destination_search.js
index f16cb101d6ddc672776b1ee04569712212193395..ff1957341397ba17d089d6208d31120eac64daab 100644
--- a/chrome/browser/resources/print_preview/search/destination_search.js
+++ b/chrome/browser/resources/print_preview/search/destination_search.js
@@ -98,7 +98,8 @@ cr.define('print_preview', function() {
this.localList_ = new print_preview.DestinationList(
this,
loadTimeData.getString('localDestinationsTitle'),
- cr.isChromeOS ? null : loadTimeData.getString('manage'));
+ loadTimeData.getBoolean('showLocalManageButton') ?
+ loadTimeData.getString('manage') : null);
this.addChild(this.localList_);
/**

Powered by Google App Engine
This is Rietveld 408576698