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

Unified Diff: pdf/instance.cc

Issue 375253002: [Chrome] Support NumCopies print preset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback (update method name) Created 6 years, 5 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: pdf/instance.cc
diff --git a/pdf/instance.cc b/pdf/instance.cc
index 04f9d251b72d2bf2c8967be120cfe91162d3bdd0..9da132a4d6624d16c5e6d97d7eaf29ca89ea730c 100644
--- a/pdf/instance.cc
+++ b/pdf/instance.cc
@@ -735,6 +735,10 @@ bool Instance::IsPrintScalingDisabled() {
return !engine_->GetPrintScaling();
}
+int32_t Instance::GetCopiesToPrint() {
+ return engine_->GetCopiesToPrint();
+}
+
bool Instance::StartFind(const std::string& text, bool case_sensitive) {
engine_->StartFind(text.c_str(), case_sensitive);
return true;

Powered by Google App Engine
This is Rietveld 408576698