| Index: chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
|
| diff --git a/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js b/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
|
| index d8c6e89d441fc4e9389d916a68413b580fe8fe9d..b347ff8a2b38709464d2b4e338c10f3a517d706c 100644
|
| --- a/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
|
| +++ b/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
|
| @@ -60,12 +60,17 @@ cr.define('print_preview.ticket_items', function() {
|
| return false;
|
| },
|
|
|
| - /** @return {Object} Media size capability of the selected destination. */
|
| + /** @return {Object} Vendor capabilities of the selected destination. */
|
| get capability() {
|
| var destination = this.destinationStore_ ?
|
| this.destinationStore_.selectedDestination : null;
|
| - return (destination &&
|
| - destination.capabilities &&
|
| + if (!destination)
|
| + return null;
|
| + if (destination.id == print_preview.Destination.GooglePromotedId.FEDEX ||
|
| + destination.type == print_preview.Destination.Type.MOBILE) {
|
| + return null;
|
| + }
|
| + return (destination.capabilities &&
|
| destination.capabilities.printer &&
|
| destination.capabilities.printer.vendor_capability) ||
|
| null;
|
|
|