Chromium Code Reviews| Index: public/web/WebFrame.h |
| diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h |
| index 0250a19423b095f1649b85f50ec182784bb24d27..c883f5ed3b4b17a068468685cf3a6450ebbd3ffd 100644 |
| --- a/public/web/WebFrame.h |
| +++ b/public/web/WebFrame.h |
| @@ -85,6 +85,7 @@ struct WebFloatPoint; |
| struct WebFloatRect; |
| struct WebPoint; |
| struct WebPrintParams; |
| +struct WebPrintPresetOptions; |
| struct WebRect; |
| struct WebScriptSource; |
| struct WebSize; |
| @@ -494,8 +495,8 @@ public: |
| // return true, otherwise return false. |
| virtual bool isPrintScalingDisabledForPlugin(const WebNode& = WebNode()) = 0; |
| - // Returns the number of copies to be printed. |
| - virtual int getPrintCopiesForPlugin(const WebNode& = WebNode()) = 0; |
| + // Returns true on success and sets the out parameter to the print preset options for the document. |
| + virtual bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*) = 0; |
|
dcheng
2014/10/09 20:45:03
Actually it looks like this isn't even used yet. P
Nikhil
2014/10/20 10:04:23
Done! Yes, this method isn't yet used. It will be
|
| // CSS3 Paged Media ---------------------------------------------------- |