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

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

Issue 2606043004: Perform printer setup on Chrome OS before selecting printer. (Closed)
Patch Set: fix nits Created 3 years, 11 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.js
diff --git a/chrome/browser/resources/print_preview/data/destination.js b/chrome/browser/resources/print_preview/data/destination.js
index 91aa8ecc8b7781d10c80d1c2b15459e851274144..c4ae78e4db36e9b98176fb370d8bdff28a489f99 100644
--- a/chrome/browser/resources/print_preview/data/destination.js
+++ b/chrome/browser/resources/print_preview/data/destination.js
@@ -229,7 +229,8 @@ cr.define('print_preview', function() {
PROFILE: 'profile',
DEVICE: 'device',
PRIVET: 'privet',
- EXTENSION: 'extension'
+ EXTENSION: 'extension',
+ CROS: 'chrome_os',
};
/**
@@ -330,6 +331,7 @@ cr.define('print_preview', function() {
get isLocal() {
return this.origin_ == Destination.Origin.LOCAL ||
this.origin_ == Destination.Origin.EXTENSION ||
+ this.origin_ == Destination.Origin.CROS ||
(this.origin_ == Destination.Origin.PRIVET &&
this.connectionStatus_ !=
Destination.ConnectionStatus.UNREGISTERED);
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/print_preview/data/destination_store.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698