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

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: Review feedback (comment, initialization) Created 6 years, 2 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 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 ----------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698