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

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

Issue 2633573002: Add Postscript Printing (Closed)
Patch Set: Merge Created 3 years, 11 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 e603411a8784068311074447e3dcad2177ce2d5e..7c1fdbde648ddd2aac02f3c27f74d787c017953f 100644
--- a/components/printing/renderer/print_web_view_helper.h
+++ b/components/printing/renderer/print_web_view_helper.h
@@ -290,7 +290,8 @@ class PrintWebViewHelper
blink::WebLocalFrame* frame,
PdfMetafileSkia* metafile,
gfx::Size* page_size_in_dpi,
- gfx::Rect* content_area_in_dpi);
+ gfx::Rect* content_area_in_dpi,
+ gfx::Rect* printable_area_in_dpi);
#endif // defined(OS_MACOSX)
// Platform specific helper function for rendering page(s) to |metafile|.
@@ -382,6 +383,7 @@ class PrintWebViewHelper
bool reset_prep_frame_view_;
std::unique_ptr<PrintMsg_PrintPages_Params> print_pages_params_;
+ gfx::Rect printer_printable_area_;
bool is_print_ready_metafile_sent_;
bool ignore_css_margins_;
« 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