Chromium Code Reviews| Index: public/web/WebPlugin.h |
| diff --git a/public/web/WebPlugin.h b/public/web/WebPlugin.h |
| index 7738d1e4c065f70e5197ff177d18b0e0aadf906b..ed0dd9b1a5f26bf5cf90961306731a5a9b3fae81 100644 |
| --- a/public/web/WebPlugin.h |
| +++ b/public/web/WebPlugin.h |
| @@ -54,6 +54,7 @@ struct WebCompositionUnderline; |
| struct WebCursorInfo; |
| struct WebPluginParams; |
| struct WebPrintParams; |
| +struct WebPrintPresetOptions; |
| struct WebPoint; |
| struct WebRect; |
| struct WebTextInputInfo; |
| @@ -121,8 +122,8 @@ public: |
| // Returns true if the printed content should not be scaled to |
| // the printer's printable area. |
| virtual bool isPrintScalingDisabled() { return false; } |
|
raymes
2014/09/29 05:24:14
Can we delete this function too...? Is it providin
Nikhil
2014/10/09 08:43:56
I think it's not possible to remove this method. I
|
| - // Returns number of copies to be printed. |
| - virtual int getCopiesToPrint() { return 1; } |
| + // Returns true if print preset options are updated from document. |
|
raymes
2014/09/29 05:24:14
same here.
Nikhil
2014/10/09 08:43:56
Done.
|
| + virtual bool getPrintPresetOptionsFromDocument(WebPrintPresetOptions*) { return false; } |
| // Sets up printing with the specified printParams. Returns the number of |
| // pages to be printed at these settings. |