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

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

Issue 7348010: Added Header and Footer support using Skia (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Custom length strings being printed Created 9 years, 5 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_data_source.cc
diff --git a/chrome/browser/ui/webui/print_preview_data_source.cc b/chrome/browser/ui/webui/print_preview_data_source.cc
index 8d01bbd03be7c8154ab1ac82142001ef24bae887..0a8d46006720dc3540b959c472542965c627d921 100644
--- a/chrome/browser/ui/webui/print_preview_data_source.cc
+++ b/chrome/browser/ui/webui/print_preview_data_source.cc
@@ -126,6 +126,10 @@ void SetLocalizedStrings(DictionaryValue* localized_strings) {
l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_DECREMENT_TITLE));
localized_strings->SetString(std::string("printPagesLabel"),
l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_PRINT_PAGES_LABEL));
+ localized_strings->SetString(std::string("optionsLabel"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_OPTIONS_LABEL));
+ localized_strings->SetString(std::string("optionHeaderFooter"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_OPTION_HEADER_FOOTER));
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698