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

Unified Diff: pdf/out_of_process_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/out_of_process_instance.cc
diff --git a/pdf/out_of_process_instance.cc b/pdf/out_of_process_instance.cc
index a08f8b053fd1cbe74273285136fb4bb59ea7c266..e1f471ae8b262489881b23f7e6e923499bcb2da0 100644
--- a/pdf/out_of_process_instance.cc
+++ b/pdf/out_of_process_instance.cc
@@ -602,6 +602,10 @@ bool OutOfProcessInstance::IsPrintScalingDisabled() {
return !engine_->GetPrintScaling();
}
+int32_t OutOfProcessInstance::GetNumCopies() {
+ return engine_->GetNumCopies();
+}
+
bool OutOfProcessInstance::StartFind(const std::string& text,
bool case_sensitive) {
engine_->StartFind(text.c_str(), case_sensitive);

Powered by Google App Engine
This is Rietveld 408576698