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

Unified Diff: chrome/service/service_utility_process_host.h

Issue 641923002: Change PDF scaling factor from double to float. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 6 years, 2 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
« no previous file with comments | « chrome/service/cloud_print/print_system_win.cc ('k') | chrome/service/service_utility_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_utility_process_host.h
diff --git a/chrome/service/service_utility_process_host.h b/chrome/service/service_utility_process_host.h
index f15bb01a872a6e6ae693c3b7fff7517164d3aab9..6b320aa9ec3f65d193ed70c089c911e54824a1c2 100644
--- a/chrome/service/service_utility_process_host.h
+++ b/chrome/service/service_utility_process_host.h
@@ -49,7 +49,7 @@ class ServiceUtilityProcessHost : public content::ChildProcessHostDelegate {
virtual void OnChildDied() {}
virtual void OnRenderPDFPagesToMetafilePageDone(
- double scale_factor,
+ float scale_factor,
const printing::MetafilePlayer& emf) {}
// Called when at all pages in the PDF has been rendered.
@@ -78,7 +78,7 @@ class ServiceUtilityProcessHost : public content::ChildProcessHostDelegate {
// Invoked when a metafile file is ready.
// Returns true if metafile successfully loaded from |file|.
- bool MetafileAvailable(double scale_factor, base::File file);
+ bool MetafileAvailable(float scale_factor, base::File file);
DISALLOW_COPY_AND_ASSIGN(Client);
};
@@ -131,7 +131,7 @@ class ServiceUtilityProcessHost : public content::ChildProcessHostDelegate {
// Messages handlers:
void OnRenderPDFPagesToMetafilesPageCount(int page_count);
- void OnRenderPDFPagesToMetafilesPageDone(bool success, double scale_factor);
+ void OnRenderPDFPagesToMetafilesPageDone(bool success, float scale_factor);
void OnGetPrinterCapsAndDefaultsSucceeded(
const std::string& printer_name,
const printing::PrinterCapsAndDefaults& caps_and_defaults);
« no previous file with comments | « chrome/service/cloud_print/print_system_win.cc ('k') | chrome/service/service_utility_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698