| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 cr.exportPath('print_preview'); | 5 cr.exportPath('print_preview'); |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * The CDD (Cloud Device Description) describes the capabilities of a print | 8 * The CDD (Cloud Device Description) describes the capabilities of a print |
| 9 * destination. | 9 * destination. |
| 10 * | 10 * |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * is_default: (boolean|undefined) | 21 * is_default: (boolean|undefined) |
| 22 * }> | 22 * }> |
| 23 * }|undefined), | 23 * }|undefined), |
| 24 * copies: ({default: (number|undefined), | 24 * copies: ({default: (number|undefined), |
| 25 * max: (number|undefined)}|undefined), | 25 * max: (number|undefined)}|undefined), |
| 26 * duplex: ({option: !Array.<{type: (string|undefined), | 26 * duplex: ({option: !Array.<{type: (string|undefined), |
| 27 * is_default: (boolean|undefined)}>}|undefined), | 27 * is_default: (boolean|undefined)}>}|undefined), |
| 28 * page_orientation: ({ | 28 * page_orientation: ({ |
| 29 * option: !Array.<{type: (string|undefined), | 29 * option: !Array.<{type: (string|undefined), |
| 30 * is_default: (boolean|undefined)}> | 30 * is_default: (boolean|undefined)}> |
| 31 * }|undefined) | 31 * }|undefined), |
| 32 * media_size: print_preview.ticket_items.MediaSize |
| 32 * } | 33 * } |
| 33 * }} | 34 * }} |
| 34 */ | 35 */ |
| 35 print_preview.Cdd; | 36 print_preview.Cdd; |
| 36 | 37 |
| 37 cr.define('print_preview', function() { | 38 cr.define('print_preview', function() { |
| 38 'use strict'; | 39 'use strict'; |
| 39 | 40 |
| 40 /** | 41 /** |
| 41 * Print destination data object that holds data for both local and cloud | 42 * Print destination data object that holds data for both local and cloud |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 return property.match(query); | 462 return property.match(query); |
| 462 }); | 463 }); |
| 463 } | 464 } |
| 464 }; | 465 }; |
| 465 | 466 |
| 466 // Export | 467 // Export |
| 467 return { | 468 return { |
| 468 Destination: Destination, | 469 Destination: Destination, |
| 469 }; | 470 }; |
| 470 }); | 471 }); |
| OLD | NEW |