diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-11 02:37:20 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-11 02:37:20 +0000 |
commit | dae536dc8d53e598873672bc24b231bb38601385 (patch) | |
tree | 7514e21f5a95e8bc524e8e43100e85ac67185bd1 /chrome/renderer/print_web_view_helper.h | |
parent | e174f0a9ce418e24525bbf7610fb4bdddf52971d (diff) | |
download | chromium_src-dae536dc8d53e598873672bc24b231bb38601385.zip chromium_src-dae536dc8d53e598873672bc24b231bb38601385.tar.gz chromium_src-dae536dc8d53e598873672bc24b231bb38601385.tar.bz2 |
Linux: Trade one hack for another to allow pepper plugins to print only selected pages.
BUG=59732
TEST=none
Review URL: http://codereview.chromium.org/6012004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70990 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/print_web_view_helper.h')
-rw-r--r-- | chrome/renderer/print_web_view_helper.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/chrome/renderer/print_web_view_helper.h b/chrome/renderer/print_web_view_helper.h index c473e72..447e024 100644 --- a/chrome/renderer/print_web_view_helper.h +++ b/chrome/renderer/print_web_view_helper.h @@ -27,6 +27,12 @@ namespace IPC { class Message; } +#if defined(USE_X11) +namespace skia { +class VectorCanvas; +} +#endif + class RenderView; struct ViewMsg_Print_Params; struct ViewMsg_PrintPage_Params; @@ -95,7 +101,8 @@ class PrintWebViewHelper : public WebKit::WebViewClient, void PrintPage(const ViewMsg_PrintPage_Params& params, const gfx::Size& canvas_size, WebKit::WebFrame* frame, - printing::NativeMetafile* metafile); + printing::NativeMetafile* metafile, + skia::VectorCanvas** canvas); #else void PrintPage(const ViewMsg_PrintPage_Params& params, const gfx::Size& canvas_size, |