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

Unified Diff: chrome/service/service_utility_process_host.h

Issue 568633002: Extracted MetafilePlayer interface from printing::MetafilePlayer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no_expose
Patch Set: Thu Sep 11 16:10:13 PDT 2014 Created 6 years, 3 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: 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 ac37bdb5540944b5b71ee24d5d367a7babdbf7b1..e12ab89081270cab43ce6e93478a43a6ad5df289 100644
--- a/chrome/service/service_utility_process_host.h
+++ b/chrome/service/service_utility_process_host.h
@@ -30,7 +30,7 @@ class ChildProcessHost;
}
namespace printing {
-class Emf;
+class MetafilePlayer;
struct PageRange;
struct PrinterCapsAndDefaults;
struct PrinterSemanticCapsAndDefaults;
@@ -54,7 +54,7 @@ class ServiceUtilityProcessHost : public content::ChildProcessHostDelegate {
// Called when at least one page in the specified PDF has been rendered
// successfully into |metafile|.
virtual void OnRenderPDFPagesToMetafileSucceeded(
- const printing::Emf& metafile,
+ const printing::MetafilePlayer& metafile,
int highest_rendered_page_number,
double scale_factor) {}
// Called when no page in the passed in PDF could be rendered.
@@ -140,8 +140,8 @@ class ServiceUtilityProcessHost : public content::ChildProcessHostDelegate {
// Messages handlers:
void OnRenderPDFPagesToMetafilesSucceeded(
- const std::vector<printing::PageRange>& page_ranges,
- double scale_factor);
+ const std::vector<printing::PageRange>& page_ranges,
Lei Zhang 2014/09/11 23:31:10 nit: 4 space indent
Vitaly Buka (NO REVIEWS) 2014/09/12 01:54:00 Done.
+ double scale_factor);
void OnRenderPDFPagesToMetafileFailed();
void OnGetPrinterCapsAndDefaultsSucceeded(
const std::string& printer_name,

Powered by Google App Engine
This is Rietveld 408576698