| Index: third_party/WebKit/public/web/WebPrintParams.h
|
| diff --git a/third_party/WebKit/public/web/WebPrintParams.h b/third_party/WebKit/public/web/WebPrintParams.h
|
| index a28f836fd9ba7863f2a8a59a28e3093f170b76bc..70a99ce69d5113a731e690df29cf76199bcbffe7 100644
|
| --- a/third_party/WebKit/public/web/WebPrintParams.h
|
| +++ b/third_party/WebKit/public/web/WebPrintParams.h
|
| @@ -51,12 +51,16 @@ struct WebPrintParams {
|
| // Specifies user selected DPI for printing.
|
| int printerDPI;
|
|
|
| + // Specifies whether to print PDFs as image.
|
| + bool rasterizePDF;
|
| +
|
| // Specifies whether to reduce/enlarge/retain the print contents to fit the
|
| // printable area. (This is used only by plugin printing).
|
| WebPrintScalingOption printScalingOption;
|
|
|
| WebPrintParams()
|
| : printerDPI(72),
|
| + rasterizePDF(false),
|
| printScalingOption(WebPrintScalingOptionFitToPrintableArea) {}
|
|
|
| WebPrintParams(const WebSize& paperSize)
|
| @@ -64,6 +68,7 @@ struct WebPrintParams {
|
| printableArea(WebRect(0, 0, paperSize.width, paperSize.height)),
|
| paperSize(paperSize),
|
| printerDPI(72),
|
| + rasterizePDF(false),
|
| printScalingOption(WebPrintScalingOptionSourceSize) {}
|
|
|
| WebPrintParams(const WebRect& printContentArea,
|
| @@ -75,6 +80,7 @@ struct WebPrintParams {
|
| printableArea(printableArea),
|
| paperSize(paperSize),
|
| printerDPI(printerDPI),
|
| + rasterizePDF(false),
|
| printScalingOption(printScalingOption) {}
|
| };
|
|
|
|
|