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

Unified Diff: pdf/instance.h

Issue 375253002: [Chrome] Support NumCopies print preset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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
« no previous file with comments | « content/renderer/pepper/pepper_webplugin_impl.cc ('k') | pdf/instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/instance.h
diff --git a/pdf/instance.h b/pdf/instance.h
index f1997e8d5e427a85c39b770def3dad041418c51d..fe794723d1dc79aa465f04eabe4ed834529fc617 100644
--- a/pdf/instance.h
+++ b/pdf/instance.h
@@ -22,6 +22,7 @@
#include "pdf/thumbnail_control.h"
#include "ppapi/c/private/ppb_pdf.h"
+#include "ppapi/c/private/ppp_pdf.h"
#include "ppapi/cpp/dev/printing_dev.h"
#include "ppapi/cpp/dev/scriptable_object_deprecated.h"
#include "ppapi/cpp/dev/scrollbar_dev.h"
@@ -90,6 +91,8 @@ class Instance : public pp::InstancePrivate,
// pp::Private implementation.
virtual pp::Var GetLinkAtPosition(const pp::Point& point);
+ virtual void GetPrintPresetOptionsFromDocument(
+ PP_PdfPrintPresetOptions_Dev* options);
// PPP_Selection_Dev implementation.
virtual pp::Var GetSelectedText(bool html) override;
« no previous file with comments | « content/renderer/pepper/pepper_webplugin_impl.cc ('k') | pdf/instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698