Index: Source/web/WebPluginContainerImpl.h |
diff --git a/Source/web/WebPluginContainerImpl.h b/Source/web/WebPluginContainerImpl.h |
index 5f390335640575b745605eefe4bba6c2d88cb172..4e5834276ef0cfeabc6f378bdc28a04981452b25 100644 |
--- a/Source/web/WebPluginContainerImpl.h |
+++ b/Source/web/WebPluginContainerImpl.h |
@@ -62,6 +62,7 @@ class WebExternalTextureLayer; |
class WheelEvent; |
class Widget; |
struct WebPrintParams; |
+struct WebPrintPresetOptions; |
class WebPluginContainerImpl final |
: public PluginView |
@@ -138,8 +139,8 @@ public: |
// If the plugin content should not be scaled to the printable area of |
// the page, then this method should return true. |
bool isPrintScalingDisabled() const; |
- // Returns number of copies to be printed. |
- int getCopiesToPrint() const; |
+ // Returns true on success and sets the out parameter to the print preset options for the document. |
+ bool getPrintPresetOptionsFromDocument(WebPrintPresetOptions*) const; |
// Sets up printing at the specified WebPrintParams. Returns the number of pages to be printed at these settings. |
int printBegin(const WebPrintParams&) const; |
// Prints the page specified by pageNumber (0-based index) into the supplied canvas. |