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 /ppapi/api | |
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 'ppapi/api')
-rw-r--r-- | ppapi/api/dev/ppp_printing_dev.idl | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/ppapi/api/dev/ppp_printing_dev.idl b/ppapi/api/dev/ppp_printing_dev.idl index 62cc23e..74f5f6a 100644 --- a/ppapi/api/dev/ppp_printing_dev.idl +++ b/ppapi/api/dev/ppp_printing_dev.idl @@ -34,6 +34,7 @@ struct PP_PrintSettings_Dev { int32_t dpi; PP_PrintOrientation_Dev orientation; PP_Bool grayscale; + /** Note that Chrome currently only supports PDF printing. */ PP_PrintOutputFormat_Dev format; }; @@ -50,14 +51,14 @@ struct PP_PrintPageNumberRange_Dev { interface PPP_Printing_Dev { /** * Returns a bit field representing the supported print output formats. For - * example, if only Raster and PostScript are supported, + * example, if only PDF and PostScript are supported, * QuerySupportedFormats returns a value equivalent to: - * (PP_PRINTOUTPUTFORMAT_RASTER | PP_PRINTOUTPUTFORMAT_POSTSCRIPT) + * (PP_PRINTOUTPUTFORMAT_PDF | PP_PRINTOUTPUTFORMAT_POSTSCRIPT) */ uint32_t QuerySupportedFormats([in] PP_Instance instance); /** - * Begins a print session with the given print settings. Calls to PrintPage + * Begins a print session with the given print settings. Calls to PrintPages * can only be made after a successful call to Begin. Returns the number of * pages required for the print output at the given page size (0 indicates * a failure). @@ -67,16 +68,14 @@ interface PPP_Printing_Dev { /** * Prints the specified pages using the format specified in Begin. - * Returns a resource that represents the printed output. - * This is a PPB_ImageData resource if the output format is - * PP_PrintOutputFormat_Raster and a PPB_Buffer otherwise. Returns 0 on - * failure. + * Returns a PPB_Buffer resource that represents the printed output. Returns + * 0 on failure. */ PP_Resource PrintPages([in] PP_Instance instance, [in] PP_PrintPageNumberRange_Dev page_ranges, [in] uint32_t page_range_count); - /** Ends the print session. Further calls to PrintPage will fail. */ + /** Ends the print session. Further calls to PrintPages will fail. */ void End([in] PP_Instance instance); /** |