Index: public/web/WebLocalFrame.h |
diff --git a/public/web/WebLocalFrame.h b/public/web/WebLocalFrame.h |
index 328e832e2c8bb2d0519f51513cffc0ef079bdb03..97bf5123260f799747c6c22009e42f4574b118b3 100644 |
--- a/public/web/WebLocalFrame.h |
+++ b/public/web/WebLocalFrame.h |
@@ -10,6 +10,7 @@ |
namespace blink { |
class WebScriptExecutionCallback; |
+struct WebPrintPresetOptions; |
// Interface for interacting with in process frames. This contains methods that |
// require interacting with a frame's document. |
@@ -68,6 +69,12 @@ public: |
virtual void sendOrientationChangeEvent() = 0; |
+ // Printing ------------------------------------------------------------ |
+ |
+ // Returns true on success and sets the out parameter to the print preset options for the document. |
+ virtual bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*) = 0; |
+ |
+ |
// Scripting -------------------------------------------------------------- |
// Executes script in the context of the current page and returns the value |
// that the script evaluated to with callback. Script execution can be |