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

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

Issue 581163002: Removed unused argument and GetPrintCanvasSize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_rot
Patch Set: Thu 09/18/2014 11:42:21.91 Created 6 years, 3 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 | « no previous file | chrome/renderer/printing/print_web_view_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 517300b9d94bc28a38866f5690b78bda6ed46239..cfc0c1b68bdd338e75446658e7e3948273496e8a 100644
--- a/chrome/renderer/printing/print_web_view_helper.h
+++ b/chrome/renderer/printing/print_web_view_helper.h
@@ -207,27 +207,22 @@ class PrintWebViewHelper
void OnFramePreparedForPrintPages();
void PrintPages();
- bool PrintPagesNative(blink::WebFrame* frame,
- int page_count,
- const gfx::Size& canvas_size);
+ bool PrintPagesNative(blink::WebFrame* frame, int page_count);
void FinishFramePrinting();
// Prints the page listed in |params|.
#if defined(OS_LINUX) || defined(OS_ANDROID)
void PrintPageInternal(const PrintMsg_PrintPage_Params& params,
- const gfx::Size& canvas_size,
blink::WebFrame* frame,
PdfMetafileSkia* metafile);
#elif defined(OS_WIN)
void PrintPageInternal(const PrintMsg_PrintPage_Params& params,
- const gfx::Size& canvas_size,
blink::WebFrame* frame,
PdfMetafileSkia* metafile,
gfx::Size* page_size_in_dpi,
gfx::Rect* content_area_in_dpi);
#else
void PrintPageInternal(const PrintMsg_PrintPage_Params& params,
- const gfx::Size& canvas_size,
blink::WebFrame* frame);
#endif
@@ -392,7 +387,6 @@ class PrintWebViewHelper
int total_page_count() const;
bool generate_draft_pages() const;
PdfMetafileSkia* metafile();
- gfx::Size GetPrintCanvasSize() const;
int last_error() const;
private:
« no previous file with comments | « no previous file | chrome/renderer/printing/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698