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

Unified Diff: chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc

Issue 375253002: [Chrome] Support NumCopies print preset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/renderer/pepper/pepper_printing_renderer_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc
diff --git a/chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc b/chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc
index c0edcb42f186d9c20235575d7d03b826d7e35027..b71cbcc31ad528ca44f0c6eed066c1f9b676d9c7 100644
--- a/chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc
+++ b/chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc
@@ -10,6 +10,7 @@
#include "chrome/renderer/pepper/pepper_flash_fullscreen_host.h"
#include "chrome/renderer/pepper/pepper_flash_menu_host.h"
#include "chrome/renderer/pepper/pepper_flash_renderer_host.h"
+#include "chrome/renderer/pepper/pepper_printing_renderer_host.h"
#include "chrome/renderer/pepper/pepper_uma_host.h"
#include "components/pdf/renderer/pepper_pdf_host.h"
#include "content/public/renderer/renderer_ppapi_host.h"
@@ -92,6 +93,10 @@ scoped_ptr<ResourceHost> ChromeRendererPepperHostFactory::CreateResourceHost(
return scoped_ptr<ResourceHost>(
new pdf::PepperPDFHost(host_, instance, params.pp_resource()));
}
+ case PpapiHostMsg_PrintHost_Create::ID: {
+ return scoped_ptr<ResourceHost>(new PepperPrintingRendererHost(
+ host_, instance, params.pp_resource()));
+ }
}
}
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/renderer/pepper/pepper_printing_renderer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698