Skip to content

Commit

Permalink
Print Preview: Convert more elements to class based syntax
Browse files Browse the repository at this point in the history
- app.js
- button_strip.js
- copies_settings.js
- color_settings.js

Bug: 1206112
Change-Id: I2007c0c81e8e8887ead3e1efa616da77b1a26cab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3069387
Reviewed-by: John Lee <johntlee@chromium.org>
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#909024}
  • Loading branch information
rbpotter authored and Chromium LUCI CQ committed Aug 5, 2021
1 parent 7a10dbf commit 49b093a
Show file tree
Hide file tree
Showing 17 changed files with 475 additions and 339 deletions.
7 changes: 4 additions & 3 deletions chrome/browser/resources/print_preview/print_preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import './ui/app.js';

export {PluralStringProxyImpl as PrintPreviewPluralStringProxyImpl} from 'chrome://resources/js/plural_string_proxy.js';
export {CloudPrintInterface, CloudPrintInterfaceEventType} from './cloud_print_interface.js';
export {CloudPrintInterfaceImpl} from './cloud_print_interface_impl.js';
Expand Down Expand Up @@ -35,7 +33,10 @@ export {NativeLayerCros, NativeLayerCrosImpl, PrinterSetupResponse, PrintServer,
export {getSelectDropdownBackground} from './print_preview_utils.js';
export {PrintPreviewAdvancedSettingsDialogElement} from './ui/advanced_settings_dialog.js';
export {PrintPreviewAdvancedSettingsItemElement} from './ui/advanced_settings_item.js';
export {DEFAULT_MAX_COPIES} from './ui/copies_settings.js';
export {PrintPreviewAppElement} from './ui/app.js';
export {PrintPreviewButtonStripElement} from './ui/button_strip.js';
export {PrintPreviewColorSettingsElement} from './ui/color_settings.js';
export {DEFAULT_MAX_COPIES, PrintPreviewCopiesSettingsElement} from './ui/copies_settings.js';
export {DestinationState, NUM_PERSISTED_DESTINATIONS} from './ui/destination_settings.js';
export {PDFPlugin, PluginProxy, PluginProxyImpl} from './ui/plugin_proxy.js';
export {PreviewAreaState} from './ui/preview_area.js';
Expand Down

0 comments on commit 49b093a

Please sign in to comment.