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: 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, 4 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..9589da609063f0c1bd264e391524c0f6a119946f 100644
--- a/components/printing/browser/print_manager_utils.h
+++ b/components/printing/browser/print_manager_utils.h
@@ -7,10 +7,19 @@
struct PrintMsg_Print_Params;
+namespace content {
+class WebContents;
+}
+
namespace printing {
class PrintSettings;
+void SetOopifEnabled(bool enabled);
+bool IsOopifEnabled();
+
+void CreateCompositeClientIfNeeded(content::WebContents* web_contents);
Lei Zhang 2017/08/16 21:17:01 Add a comment to mention it's creating the client
Wei Li 2017/08/25 23:39:37 Done.
+
// Converts given settings to Print_Params and stores them in the output
// parameter |params|.
void RenderParamsFromPrintSettings(const PrintSettings& settings,

Powered by Google App Engine
This is Rietveld 408576698