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

Unified Diff: ppapi/api/dev/ppp_printing_dev.idl

Issue 10096001: Remove support for bitmap printing in pepper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
Index: ppapi/api/dev/ppp_printing_dev.idl
diff --git a/ppapi/api/dev/ppp_printing_dev.idl b/ppapi/api/dev/ppp_printing_dev.idl
index 62cc23e38582d70fc24991b159427c27f965191a..e824650e9a89d93a33948a1fa415ae956537d3c0 100644
--- a/ppapi/api/dev/ppp_printing_dev.idl
+++ b/ppapi/api/dev/ppp_printing_dev.idl
@@ -21,7 +21,6 @@ enum PP_PrintOrientation_Dev {
[assert_size(4)]
enum PP_PrintOutputFormat_Dev {
- PP_PRINTOUTPUTFORMAT_RASTER = 1u << 0,
viettrungluu 2012/04/16 04:53:53 There's no particular reason to remove it from her
PP_PRINTOUTPUTFORMAT_PDF = 1u << 1,
PP_PRINTOUTPUTFORMAT_POSTSCRIPT = 1u << 2,
PP_PRINTOUTPUTFORMAT_EMF = 1u << 3
@@ -50,9 +49,9 @@ 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);
@@ -67,10 +66,8 @@ 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
viettrungluu 2012/04/16 04:53:53 (Though I always wondered what it was supposed to
- * 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,

Powered by Google App Engine
This is Rietveld 408576698