| <style include="print-preview-shared"> |
| <if expr="is_chromeos"> |
| :host([has-pin-setting_]) { |
| margin-bottom: 0 !important; |
| } |
| </if> |
| </style> |
| <if expr="not is_chromeos"> |
| <print-preview-destination-select id="destinationSelect" |
| active-user="[[activeUser_]]" dark="[[dark]]" |
| destination="[[destination]]" |
| disabled="[[shouldDisableDropdown_( |
| destinationState, state, disabled)]]" |
| loaded="[[loaded_]]" |
| no-destinations="[[noDestinations_]]" |
| pdf-printer-disabled="[[pdfPrinterDisabled_]]" |
| recent-destination-list="[[displayedDestinations_]]" |
| on-selected-option-change="onSelectedDestinationOptionChange_"> |
| </print-preview-destination-select> |
| <cr-lazy-render id="destinationDialog"> |
| <template> |
| <print-preview-destination-dialog |
| destination-store="[[destinationStore_]]" |
| recent-destination-list="[[recentDestinationList_]]" |
| on-close="onDialogClose_"> |
| </print-preview-destination-dialog> |
| </template> |
| </cr-lazy-render> |
| </if> |
| <if expr="is_chromeos"> |
| <print-preview-destination-select-cros id="destinationSelect" |
| active-user="[[activeUser_]]" dark="[[dark]]" |
| destination="[[destination]]" |
| disabled="[[shouldDisableDropdown_( |
| destinationState, state, disabled)]]" |
| drive-destination-key="[[driveDestinationKey_]]" |
| loaded="[[loaded_]]" |
| no-destinations="[[noDestinations_]]" |
| pdf-printer-disabled="[[pdfPrinterDisabled_]]" |
| recent-destination-list="[[displayedDestinations_]]" |
| on-selected-option-change="onSelectedDestinationOptionChange_"> |
| </print-preview-destination-select-cros> |
| <cr-lazy-render id="destinationDialog"> |
| <template> |
| <print-preview-destination-dialog-cros |
| destination-store="[[destinationStore_]]" |
| recent-destination-list="[[recentDestinationList_]]" |
| on-close="onDialogClose_"> |
| </print-preview-destination-dialog-cros> |
| </template> |
| </cr-lazy-render> |
| </if> |