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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_data_source.cc

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: chrome/browser/ui/webui/print_preview/print_preview_data_source.cc
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_data_source.cc b/chrome/browser/ui/webui/print_preview/print_preview_data_source.cc
index 66a355c874374c1febade963a07508eb96879de7..aea6a35fdfafb0cb1da333fd88342720c68f79eb 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_data_source.cc
+++ b/chrome/browser/ui/webui/print_preview/print_preview_data_source.cc
@@ -124,6 +124,8 @@ void PrintPreviewDataSource::Init() {
IDS_PRINT_PREVIEW_OPTION_HEADER_FOOTER);
AddLocalizedString("optionFitToPage",
IDS_PRINT_PREVIEW_OPTION_FIT_TO_PAGE);
+ AddLocalizedString("optionBackgroundColorsAndImages",
+ IDS_PRINT_PREVIEW_OPTION_BACKGROUND_COLORS_AND_IMAGES);
AddLocalizedString("marginsLabel", IDS_PRINT_PREVIEW_MARGINS_LABEL);
AddLocalizedString("defaultMargins", IDS_PRINT_PREVIEW_DEFAULT_MARGINS);
AddLocalizedString("noMargins", IDS_PRINT_PREVIEW_NO_MARGINS);

Powered by Google App Engine
This is Rietveld 408576698