| Index: chrome/browser/resources/print_preview/print_preview.js
|
| diff --git a/chrome/browser/resources/print_preview/print_preview.js b/chrome/browser/resources/print_preview/print_preview.js
|
| index 56899206b397395ad0444fe5681d6b8ec0bb20c3..f220da8eaeb845729eb80a29096f610b74a8c73a 100644
|
| --- a/chrome/browser/resources/print_preview/print_preview.js
|
| +++ b/chrome/browser/resources/print_preview/print_preview.js
|
| @@ -169,8 +169,7 @@ cr.define('print_preview', function() {
|
| this.printTicketStore_.fitToPage,
|
| this.printTicketStore_.cssBackground,
|
| this.printTicketStore_.selectionOnly,
|
| - this.printTicketStore_.headerFooter,
|
| - this.printTicketStore_.distillPage);
|
| + this.printTicketStore_.headerFooter);
|
| this.addChild(this.otherOptionsSettings_);
|
|
|
| /**
|
| @@ -358,10 +357,6 @@ cr.define('print_preview', function() {
|
| this.nativeLayer_,
|
| print_preview.NativeLayer.EventType.MANIPULATE_SETTINGS_FOR_TEST,
|
| this.onManipulateSettingsForTest_.bind(this));
|
| - this.tracker.add(
|
| - this.nativeLayer_,
|
| - print_preview.NativeLayer.EventType.ALLOW_DISTILL_PAGE,
|
| - this.onAllowDistillPage_.bind(this));
|
|
|
| if ($('system-dialog-link')) {
|
| this.tracker.add(
|
| @@ -1017,15 +1012,6 @@ cr.define('print_preview', function() {
|
| },
|
|
|
| /**
|
| - * Called when the native layer has detected that the "Distill page"
|
| - * option should be allowed.
|
| - * @private
|
| - */
|
| - onAllowDistillPage_: function(event) {
|
| - this.printTicketStore_.distillPage.setIsCapabilityAvailable(true);
|
| - },
|
| -
|
| - /**
|
| * Called when the print preview settings need to be changed for testing.
|
| * @param {Event} event Event object that contains the option that is to
|
| * be changed and what to set that option.
|
| @@ -1282,7 +1268,6 @@ cr.define('print_preview', function() {
|
| <include src="data/ticket_items/dpi.js">
|
| <include src="data/ticket_items/duplex.js">
|
| <include src="data/ticket_items/header_footer.js">
|
| -<include src="data/ticket_items/distill_page.js">
|
| <include src="data/ticket_items/media_size.js">
|
| <include src="data/ticket_items/landscape.js">
|
| <include src="data/ticket_items/margins_type.js">
|
|
|