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

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

Issue 2806083002: Remove PrintMsg_PrintPage_Params. (Closed)
Patch Set: rebase 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 | « components/printing/common/print_messages.h ('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 6702ef3fa504878500a2c6dc4159079e86d461bb..652fbf03d63d0459138f1723bf2c72fc6113b790 100644
--- a/components/printing/renderer/print_web_view_helper.h
+++ b/components/printing/renderer/print_web_view_helper.h
@@ -25,7 +25,6 @@
#include "ui/gfx/geometry/size.h"
struct PrintMsg_Print_Params;
-struct PrintMsg_PrintPage_Params;
struct PrintMsg_PrintPages_Params;
struct PrintHostMsg_SetOptionsFromDocument_Params;
@@ -292,11 +291,12 @@ class PrintWebViewHelper
// Prints the page listed in |params|.
#if defined(OS_MACOSX)
- void PrintPagesInternal(const PrintMsg_PrintPage_Params& params,
- blink::WebLocalFrame* frame,
- const std::vector<int>& printed_pages);
+ void PrintPagesInternal(const PrintMsg_Print_Params& params,
+ const std::vector<int>& printed_pages,
+ blink::WebLocalFrame* frame);
#else
- void PrintPageInternal(const PrintMsg_PrintPage_Params& params,
+ void PrintPageInternal(const PrintMsg_Print_Params& params,
+ int page_number,
blink::WebLocalFrame* frame,
PdfMetafileSkia* metafile,
gfx::Size* page_size_in_dpi,
« no previous file with comments | « components/printing/common/print_messages.h ('k') | components/printing/renderer/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698