Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: public/web/WebFrame.h

Issue 591053002: Support print preset options for pdf document (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: out-params should be by pointer Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index 950dad8e023f6ad2e25a0f222b95800744b5e085..67fde107b986687845ba0735a5990758a7c83cac 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;
@@ -503,8 +504,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 if print preset options are updated from pdf document.
raymes 2014/09/29 05:24:14 Have a similar comment here. Also, don't mention P
Nikhil 2014/10/09 08:43:56 Done.
+ virtual bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*) = 0;
// CSS3 Paged Media ----------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698