| Index: chrome/browser/resources/print_preview/native_layer.js
|
| diff --git a/chrome/browser/resources/print_preview/native_layer.js b/chrome/browser/resources/print_preview/native_layer.js
|
| index b82398511a20457ec6b83f37b37230ab09b07cd5..182f4a328ae43cb777590c3a4ca0bef4f23fda0e 100644
|
| --- a/chrome/browser/resources/print_preview/native_layer.js
|
| +++ b/chrome/browser/resources/print_preview/native_layer.js
|
| @@ -67,8 +67,8 @@ cr.define('print_preview', function() {
|
| this.onEnableManipulateSettingsForTest_.bind(this);
|
| global.printPresetOptionsFromDocument =
|
| this.onPrintPresetOptionsFromDocument_.bind(this);
|
| - global.detectDistillablePage =
|
| - this.detectDistillablePage_.bind(this);
|
| + global.allowDistillPage =
|
| + this.allowDistillPage_.bind(this);
|
| global.onProvisionalPrinterResolved =
|
| this.onProvisionalDestinationResolved_.bind(this);
|
| global.failedToResolveProvisionalPrinter =
|
| @@ -741,13 +741,10 @@ cr.define('print_preview', function() {
|
| },
|
|
|
| /**
|
| - * Updates the interface to show the "Distill Page" option
|
| - * when PrintPreviewHandler::HandleIsPageDistillableResult
|
| - * determines that this page can be distilled with the
|
| - * DOM Distiller.
|
| + * Updates the interface to show the "Simplify Page" option.
|
| * @private
|
| */
|
| - detectDistillablePage_: function() {
|
| + allowDistillPage_: function() {
|
| var allowDistillPageEvent = new Event(
|
| NativeLayer.EventType.ALLOW_DISTILL_PAGE);
|
| this.dispatchEvent(allowDistillPageEvent);
|
|
|