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

Unified Diff: chrome/renderer/print_web_view_helper.h

Issue 6261025: Refactor win printing workflow to support print preview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
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 075db13c626295f51446957d4df8c592bdc9d49f..178e83109588df80e12683092a91cdcf7f8b24f3 100644
--- a/chrome/renderer/print_web_view_helper.h
+++ b/chrome/renderer/print_web_view_helper.h
@@ -186,6 +186,9 @@ class PrintWebViewHelper : public WebKit::WebViewClient,
int page_number, WebKit::WebFrame* frame,
scoped_ptr<printing::NativeMetafile>* metafile,
bool supports_alpha_blend);
+ gfx::Size GetUpdatedPageSizeForRendering(
+ const ViewMsg_Print_Params& params, WebKit::WebFrame* frame,
+ int page_number);
#endif
#if defined(OS_MACOSX) || defined(OS_WIN)
« no previous file with comments | « no previous file | chrome/renderer/print_web_view_helper.cc » ('j') | chrome/renderer/print_web_view_helper_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698