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

Unified Diff: printing/metafile.h

Issue 6879098: Fix print preview clipping issues due to scaling. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Proposed modification to metafile interface. Created 9 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
Index: printing/metafile.h
===================================================================
--- printing/metafile.h (revision 82287)
+++ printing/metafile.h (working copy)
@@ -57,7 +57,9 @@
// VectorPlatformDevice implementation bound to the context created by
// StartPage or NULL on error.
virtual skia::PlatformDevice* StartPageForVectorCanvas(
- const gfx::Size& page_size, const gfx::Point& content_origin,
+ const gfx::Size& page_size,
+ const gfx::Size& content_size,
vandebo (ex-Chrome) 2011/04/25 22:11:47 Instead of content_size and content_origin, we sho
Chris Guillory 2011/04/25 23:47:12 Done.
+ const gfx::Point& content_origin,
const float& scale_factor) = 0;
// Prepares a context for rendering a new page at the specified
« no previous file with comments | « printing/emf_win.cc ('k') | printing/pdf_metafile_skia.h » ('j') | printing/pdf_metafile_skia.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698