diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-19 05:03:45 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-19 05:03:45 +0000 |
commit | 0e6444691424c2d052a94e092c9c5f9b8ef71523 (patch) | |
tree | 6cb1232ded66a838c93872d993ef1434493af6b8 /webkit/plugins/ppapi/ppapi_plugin_instance.h | |
parent | 180ec26634a3970219fd5a6599c2b87851f231c7 (diff) | |
download | chromium_src-0e6444691424c2d052a94e092c9c5f9b8ef71523.zip chromium_src-0e6444691424c2d052a94e092c9c5f9b8ef71523.tar.gz chromium_src-0e6444691424c2d052a94e092c9c5f9b8ef71523.tar.bz2 |
Remove support for bitmap printing in pepper
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10096001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132954 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/ppapi_plugin_instance.h')
-rw-r--r-- | webkit/plugins/ppapi/ppapi_plugin_instance.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.h b/webkit/plugins/ppapi/ppapi_plugin_instance.h index dc430e71..932143b 100644 --- a/webkit/plugins/ppapi/ppapi_plugin_instance.h +++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h @@ -430,20 +430,9 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance : // Queries the plugin for supported print formats and sets |format| to the // best format to use. Returns false if the plugin does not support any - // print format that we can handle (we can handle raster and PDF). + // print format that we can handle (we can handle only PDF). bool GetPreferredPrintOutputFormat(PP_PrintOutputFormat_Dev* format); bool PrintPDFOutput(PP_Resource print_output, WebKit::WebCanvas* canvas); - bool PrintRasterOutput(PP_Resource print_output, WebKit::WebCanvas* canvas); -#if defined(OS_WIN) - bool DrawJPEGToPlatformDC(const SkBitmap& bitmap, - const gfx::Rect& printable_area, - WebKit::WebCanvas* canvas); -#elif defined(OS_MACOSX) && !defined(USE_SKIA) - // Draws the given kARGB_8888_Config bitmap to the specified canvas starting - // at the specified destination rect. - void DrawSkBitmapToCanvas(const SkBitmap& bitmap, WebKit::WebCanvas* canvas, - const gfx::Rect& dest_rect, int canvas_height); -#endif // OS_MACOSX // Get the bound graphics context as a concrete 2D graphics context or returns // null if the context is not 2D. |