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

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: Added Headers and Footers support - New Snapshot Uploaded 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 bac8a8f151c2ddb851bae1e2545b415d4841a650..e8945f71aa8bf34571a18146cf1d2443d48dc021 100644
--- a/chrome/browser/ui/webui/print_preview_data_source.cc
+++ b/chrome/browser/ui/webui/print_preview_data_source.cc
@@ -112,6 +112,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