Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(658)

Unified Diff: components/printing/renderer/print_web_view_helper.h

Issue 2829973002: add customized printing setting for headless (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/args/headless.gn ('k') | components/printing/renderer/print_web_view_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 652fbf03d63d0459138f1723bf2c72fc6113b790..64939f2d6b1bb63f5e899a2a191cbe3afc96bbf0 100644
--- a/components/printing/renderer/print_web_view_helper.h
+++ b/components/printing/renderer/print_web_view_helper.h
@@ -293,10 +293,12 @@ class PrintWebViewHelper
#if defined(OS_MACOSX)
void PrintPagesInternal(const PrintMsg_Print_Params& params,
const std::vector<int>& printed_pages,
+ int page_count,
blink::WebLocalFrame* frame);
#else
void PrintPageInternal(const PrintMsg_Print_Params& params,
int page_number,
+ int page_count,
blink::WebLocalFrame* frame,
PdfMetafileSkia* metafile,
gfx::Size* page_size_in_dpi,
@@ -308,6 +310,7 @@ class PrintWebViewHelper
#if defined(OS_MACOSX)
void RenderPage(const PrintMsg_Print_Params& params,
int page_number,
+ int page_count,
blink::WebLocalFrame* frame,
bool is_preview,
PdfMetafileSkia* metafile,
« no previous file with comments | « build/args/headless.gn ('k') | components/printing/renderer/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698