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

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: 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 b0b668070da8d72883c753a204f68330fe4546cd..199886406e1fef050f1ac5fda47932a6b2a7e5dd 100644
--- a/pdf/instance.cc
+++ b/pdf/instance.cc
@@ -735,6 +735,10 @@ bool Instance::IsPrintScalingDisabled() {
return !engine_->GetPrintScaling();
}
+int32_t Instance::GetNumCopies() {
+ return engine_->GetNumCopies();
+}
+
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