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

Unified Diff: chrome/renderer/webplugin_delegate_pepper.h

Issue 2863019: Added support for vector printing for Pepper v1 plugins for Windows. Mac and ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Typo fixed Created 10 years, 6 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/webplugin_delegate_pepper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/webplugin_delegate_pepper.h
===================================================================
--- chrome/renderer/webplugin_delegate_pepper.h (revision 50674)
+++ chrome/renderer/webplugin_delegate_pepper.h (working copy)
@@ -224,6 +224,8 @@
bool CalculatePrintedPageDimensions(int page_number,
NPPPrintExtensions* print_extensions,
gfx::Size* page_dimensions);
+ bool VectorPrintPage(int page_number, WebKit::WebCanvas* canvas);
+
NPPPrintExtensions* GetPrintExtensions();
NPPFindExtensions* GetFindExtensions();
@@ -292,6 +294,7 @@
// we need to stretch the printed raster bitmap to these dimensions. It is
// cleared in PrintEnd.
gfx::Rect current_printable_area_;
+ int current_printer_dpi_;
#if defined(OS_MACOSX)
// On the Mac, when we draw the bitmap to the PDFContext, it seems necessary
// to keep the pixels valis until CGContextEndPage is called. We use this
« no previous file with comments | « no previous file | chrome/renderer/webplugin_delegate_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698