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

Unified Diff: public/web/WebPlugin.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/WebPlugin.h
diff --git a/public/web/WebPlugin.h b/public/web/WebPlugin.h
index 7738d1e4c065f70e5197ff177d18b0e0aadf906b..ed0dd9b1a5f26bf5cf90961306731a5a9b3fae81 100644
--- a/public/web/WebPlugin.h
+++ b/public/web/WebPlugin.h
@@ -54,6 +54,7 @@ struct WebCompositionUnderline;
struct WebCursorInfo;
struct WebPluginParams;
struct WebPrintParams;
+struct WebPrintPresetOptions;
struct WebPoint;
struct WebRect;
struct WebTextInputInfo;
@@ -121,8 +122,8 @@ public:
// Returns true if the printed content should not be scaled to
// the printer's printable area.
virtual bool isPrintScalingDisabled() { return false; }
raymes 2014/09/29 05:24:14 Can we delete this function too...? Is it providin
Nikhil 2014/10/09 08:43:56 I think it's not possible to remove this method. I
- // Returns number of copies to be printed.
- virtual int getCopiesToPrint() { return 1; }
+ // Returns true if print preset options are updated from document.
raymes 2014/09/29 05:24:14 same here.
Nikhil 2014/10/09 08:43:56 Done.
+ virtual bool getPrintPresetOptionsFromDocument(WebPrintPresetOptions*) { return false; }
// Sets up printing with the specified printParams. Returns the number of
// pages to be printed at these settings.

Powered by Google App Engine
This is Rietveld 408576698