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

Unified Diff: components/printing/browser/print_manager_utils.h

Issue 2920013002: Use pdf compositor service for printing when OOPIF is enabled
Patch Set: rebase Created 3 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: components/printing/browser/print_manager_utils.h
diff --git a/components/printing/browser/print_manager_utils.h b/components/printing/browser/print_manager_utils.h
index 31e0daaad6bcf18875d0e688f08ce30be2c044ce..ecd4ac612e600a8f6a3ba5907cc544b1501a43a7 100644
--- a/components/printing/browser/print_manager_utils.h
+++ b/components/printing/browser/print_manager_utils.h
@@ -7,10 +7,21 @@
struct PrintMsg_Print_Params;
+namespace content {
+class WebContents;
+}
+
namespace printing {
class PrintSettings;
+void SetOopifEnabled(bool enabled);
+bool IsOopifEnabled();
+
+// Check on the current feature settings to decide whether we need to
+// create a PDF compositor client for this |web_contents|.
+void CreateCompositeClientIfNeeded(content::WebContents* web_contents);
+
// Converts given settings to Print_Params and stores them in the output
// parameter |params|.
void RenderParamsFromPrintSettings(const PrintSettings& settings,
« no previous file with comments | « components/printing/browser/print_composite_client.cc ('k') | components/printing/browser/print_manager_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698