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..273b70920af920c4027a5ecfce287cbd08dd215c 100644 |
--- a/components/printing/renderer/print_web_view_helper.h |
+++ b/components/printing/renderer/print_web_view_helper.h |
@@ -84,6 +84,10 @@ class PrintWebViewHelper |
virtual bool IsOutOfProcessPdfEnabled() = 0; |
virtual bool IsPrintPreviewEnabled() = 0; |
+ |
+ // Returns true if printing is overridden and the default behavior should be |
+ // skipped for |frame|. |
+ virtual bool OverridePrint(blink::WebLocalFrame* frame) = 0; |
}; |
PrintWebViewHelper(content::RenderView* render_view, |