summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_webplugin_impl.h
diff options
context:
space:
mode:
authorsanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-15 20:23:49 +0000
committersanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-15 20:23:49 +0000
commit42a203b4d3c0c1a04b1aa0c6a15a9cd0d98efb61 (patch)
treea5753f394fae951bf191783f2fb9850c8b54fabc /webkit/glue/plugins/pepper_webplugin_impl.h
parent35f39af0f1ff12d950b4175e1d9743724a321f10 (diff)
downloadchromium_src-42a203b4d3c0c1a04b1aa0c6a15a9cd0d98efb61.zip
chromium_src-42a203b4d3c0c1a04b1aa0c6a15a9cd0d98efb61.tar.gz
chromium_src-42a203b4d3c0c1a04b1aa0c6a15a9cd0d98efb61.tar.bz2
Added support for printing of Pepper v2 plugins.
BUG=None TEST=Test printing with Chrome PDF Pepper v2 plugin. Review URL: http://codereview.chromium.org/2819047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52520 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_webplugin_impl.h')
-rw-r--r--webkit/glue/plugins/pepper_webplugin_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/glue/plugins/pepper_webplugin_impl.h b/webkit/glue/plugins/pepper_webplugin_impl.h
index 8d950c9..9d2f313 100644
--- a/webkit/glue/plugins/pepper_webplugin_impl.h
+++ b/webkit/glue/plugins/pepper_webplugin_impl.h
@@ -69,6 +69,11 @@ class WebPluginImpl : public WebKit::WebPlugin {
int identifier);
virtual void selectFindResult(bool forward);
virtual void stopFind();
+ virtual bool supportsPaginatedPrint();
+ virtual int printBegin(const WebKit::WebRect& printable_area,
+ int printer_dpi);
+ virtual bool printPage(int page_number, WebKit::WebCanvas* canvas);
+ virtual void printEnd();
struct InitData {
scoped_refptr<PluginModule> module;