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

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

Issue 1125343004: Add a "Simplify Page" option to the print preview dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify version of the HiddenPrintPreview and solved issues pointed out by the last review Created 5 years, 6 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_ui.cc
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_ui.cc b/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
index 352eba5c1d5a92750fbad75a11975d6f83f5a9f3..454c85e3792e3e587a9336ff7f0b6e5c7e438073 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
+++ b/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
@@ -251,6 +251,8 @@ content::WebUIDataSource* CreatePrintPreviewUISource() {
source->AddLocalizedString("printPagesLabel",
IDS_PRINT_PREVIEW_PRINT_PAGES_LABEL);
source->AddLocalizedString("optionsLabel", IDS_PRINT_PREVIEW_OPTIONS_LABEL);
+ source->AddLocalizedString("optionPrintFriendly",
+ IDS_PRINT_PREVIEW_OPTION_PRINT_FRIENDLY);
source->AddLocalizedString("optionHeaderFooter",
IDS_PRINT_PREVIEW_OPTION_HEADER_FOOTER);
source->AddLocalizedString("optionFitToPage",

Powered by Google App Engine
This is Rietveld 408576698