Index: chrome/renderer/printing/print_web_view_helper.h |
diff --git a/chrome/renderer/printing/print_web_view_helper.h b/chrome/renderer/printing/print_web_view_helper.h |
index cfc0c1b68bdd338e75446658e7e3948273496e8a..0463148411847a528b1563144e7502fce6c4dcaf 100644 |
--- a/chrome/renderer/printing/print_web_view_helper.h |
+++ b/chrome/renderer/printing/print_web_view_helper.h |
@@ -69,10 +69,6 @@ class PrintWebViewHelper |
explicit PrintWebViewHelper(content::RenderView* render_view); |
virtual ~PrintWebViewHelper(); |
- // Disable print preview and switch to system dialog printing even if full |
Lei Zhang
2014/09/24 17:53:43
Not sure if you want to keep this around for CEF?
Vitaly Buka (NO REVIEWS)
2014/09/24 18:07:03
Done.
it duplicates kDisablePrintPreview, but we
|
- // printing is build-in. This method is used by CEF. |
- static void DisablePreview(); |
- |
bool IsPrintingEnabled(); |
void PrintNode(const blink::WebNode& node); |
@@ -309,6 +305,7 @@ class PrintWebViewHelper |
bool reset_prep_frame_view_; |
scoped_ptr<PrintMsg_PrintPages_Params> print_pages_params_; |
+ bool is_preview_enabled_; |
bool is_print_ready_metafile_sent_; |
bool ignore_css_margins_; |