| Index: components/printing/renderer/print_web_view_helper.h
|
| diff --git a/components/printing/renderer/print_web_view_helper.h b/components/printing/renderer/print_web_view_helper.h
|
| index 5a8242b771104ae84202d68080797042ae15cb5c..b588c9e26fda5536183d0fded6fc7715f76fb301 100644
|
| --- a/components/printing/renderer/print_web_view_helper.h
|
| +++ b/components/printing/renderer/print_web_view_helper.h
|
| @@ -84,6 +84,14 @@ class PrintWebViewHelper
|
| virtual bool IsOutOfProcessPdfEnabled() = 0;
|
|
|
| virtual bool IsPrintPreviewEnabled() = 0;
|
| +
|
| + // If true, the user can be asked to provide print settings.
|
| + // The default implementation returns |true|.
|
| + virtual bool IsAskPrintSettingsEnabled();
|
| +
|
| + // If false, window.print() won't do anything.
|
| + // The default implementation returns |true|.
|
| + virtual bool IsScriptedPrintEnabled();
|
| };
|
|
|
| PrintWebViewHelper(content::RenderView* render_view,
|
|
|