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

Unified Diff: printing/print_settings.h

Issue 11818062: Adds option to enable CSS backgrounds for printing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Sets should-print-backgrounds setting via print job workers. Created 7 years, 11 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: printing/print_settings.h
diff --git a/printing/print_settings.h b/printing/print_settings.h
index 8026cbce6c96098528a01f3847494b23a5011212..3a55502ceb6171ce3a5c71a9abb2d6da901d3044 100644
--- a/printing/print_settings.h
+++ b/printing/print_settings.h
@@ -116,6 +116,9 @@ class PRINTING_EXPORT PrintSettings {
// True if the user wants headers and footers to be displayed.
bool display_header_footer;
+ // True if the user wants to print CSS backgrounds.
+ bool should_print_backgrounds;
+
private:
//////////////////////////////////////////////////////////////////////////////
// Settings that can't be changed without side-effects.

Powered by Google App Engine
This is Rietveld 408576698