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

Unified Diff: ppapi/c/dev/ppp_printing_dev.h

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/c/dev/ppp_printing_dev.h
diff --git a/ppapi/c/dev/ppp_printing_dev.h b/ppapi/c/dev/ppp_printing_dev.h
index 2af075e31cd44ad7b9054b6f6baa30be6de7ede7..00916256ea5dcc8663900dc1528183f669ff0c81 100644
--- a/ppapi/c/dev/ppp_printing_dev.h
+++ b/ppapi/c/dev/ppp_printing_dev.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From dev/ppp_printing_dev.idl modified Wed Feb 22 12:44:39 2012. */
+/* From dev/ppp_printing_dev.idl modified Wed Apr 11 22:18:13 2012. */
#ifndef PPAPI_C_DEV_PPP_PRINTING_DEV_H_
#define PPAPI_C_DEV_PPP_PRINTING_DEV_H_
@@ -39,7 +39,6 @@ typedef enum {
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_PrintOrientation_Dev, 4);
typedef enum {
- PP_PRINTOUTPUTFORMAT_RASTER = 1u << 0,
PP_PRINTOUTPUTFORMAT_PDF = 1u << 1,
PP_PRINTOUTPUTFORMAT_POSTSCRIPT = 1u << 2,
PP_PRINTOUTPUTFORMAT_EMF = 1u << 3
@@ -83,9 +82,9 @@ PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_PrintPageNumberRange_Dev, 8);
struct PPP_Printing_Dev_0_5 {
/**
* 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)(PP_Instance instance);
/**
@@ -98,10 +97,8 @@ struct PPP_Printing_Dev_0_5 {
const struct PP_PrintSettings_Dev* print_settings);
/**
* 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)(
PP_Instance instance,

Powered by Google App Engine
This is Rietveld 408576698