| <style include="print-preview-shared"> |
| <if expr="chromeos_ash or chromeos_lacros"> |
| :host([has-pin-setting_]) { |
| margin-bottom: 0 !important; |
| } |
| </if> |
| </style> |
| <template is="dom-if" if="[[!cloudPrintDisabled_]]"> |
| <print-preview-user-manager id="userManager" active-user="{{activeUser_}}" |
| cloud-print-disabled="[[cloudPrintDisabled_]]" |
| users="{{users_}}" destination-store="[[destinationStore_]]"> |
| </print-preview-user-manager> |
| </template> |
| <if expr="not chromeos and not lacros"> |
| <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_]]" |
| active-user="[[activeUser_]]" users="[[users_]]" |
| current-destination-account="[[destination.account]]" |
| on-account-change="onAccountChange_" on-close="onDialogClose_"> |
| </print-preview-destination-dialog> |
| </template> |
| </cr-lazy-render> |
| </if> |
| <if expr="chromeos_ash or chromeos_lacros"> |
| <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_]]" |
| active-user="[[activeUser_]]" users="[[users_]]" |
| current-destination-account="[[destination.account]]" |
| on-account-change="onAccountChange_" on-close="onDialogClose_"> |
| </print-preview-destination-dialog-cros> |
| </template> |
| </cr-lazy-render> |
| </if> |