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

Unified Diff: chrome/renderer/print_web_view_helper.h

Issue 11359020: Print headers and footers with WebKit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
Index: chrome/renderer/print_web_view_helper.h
diff --git a/chrome/renderer/print_web_view_helper.h b/chrome/renderer/print_web_view_helper.h
index e33cb62a6274b100f3e2002267c7fc78422e722c..6f50982fddb1ad26e890bff5d3cf7fe5d5139ef8 100644
--- a/chrome/renderer/print_web_view_helper.h
+++ b/chrome/renderer/print_web_view_helper.h
@@ -292,6 +292,13 @@ class PrintWebViewHelper
printing::Metafile* metafile);
#endif // defined(OS_WIN)
+ static float RenderPageContent(WebKit::WebFrame* frame,
Lei Zhang 2012/11/06 23:55:13 Can you document this method? In particular, it's
Vitaly Buka (NO REVIEWS) 2012/11/07 01:20:51 Done.
+ int page_number,
+ const gfx::Rect& canvas_area,
+ const gfx::Rect& content_area,
+ double scale_factor,
+ WebKit::WebCanvas* canvas);
+
// Helper methods -----------------------------------------------------------
bool CopyAndPrint(WebKit::WebFrame* web_frame);

Powered by Google App Engine
This is Rietveld 408576698