Hi All,

Rev 12100 changed the way that we spool and render printed output, most
notably introducing use of the PrintContext class.  The existing
PrintContext::spoolPage() method applies a webkit scaling factor before
rendering output to the graphics context.  ChromePrintContext::spoolPage()
(in webframe_impl.cc), which is used by chromium instead of
PrintContext::spoolPage(), does not apply this scaling factor, but instead
eventually returns the scaling factor via WebFrame::PrintPage().  This is a
problem for the Chromium Embedded Framework (CEF) because, unlike chromium,
the CEF renders directly to the printer device context.  It is therefore
important for CEF that we retrieve and apply the webkit scaling factor
before calling PrintPage().  In order to support this capability I propose
the following patch set, which adds a WebFrame::GetPrintPageShrink() method.

http://codereview.chromium.org/99058

Regards,
Marshall

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to