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

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

Issue 7038028: Initial support for cloudprint in print preview (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Latest merge. Removed whitelist code.wq Created 9 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_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 351fbe88e9a7e8542e50a09b16dcae38a7fa0150..b1e9c906dc01177a49980346910daf027adc5903 100644
--- a/chrome/browser/ui/webui/print_preview_data_source.cc
+++ b/chrome/browser/ui/webui/print_preview_data_source.cc
@@ -104,6 +104,20 @@ void SetLocalizedStrings(DictionaryValue* localized_strings) {
l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_PAGE_RANGE_INSTRUCTION));
localized_strings->SetString(std::string("copiesInstruction"),
l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_COPIES_INSTRUCTION));
+ localized_strings->SetString(std::string("signIn"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_SIGN_IN));
+ localized_strings->SetString(std::string("morePrinters"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_MORE_PRINTERS));
+ localized_strings->SetString(std::string("addCloudPrinter"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_ADD_CLOUD_PRINTER));
+ localized_strings->SetString(std::string("cloudPrinters"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_CLOUD_PRINTERS));
+ localized_strings->SetString(std::string("localPrinters"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_LOCAL_PRINTERS));
+ localized_strings->SetString(std::string("manageCloudPrinters"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_MANAGE_CLOUD_PRINTERS));
+ localized_strings->SetString(std::string("manageLocalPrinters"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_MANAGE_LOCAL_PRINTERS));
localized_strings->SetString(std::string("managePrinters"),
l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_MANAGE_PRINTERS));
}

Powered by Google App Engine
This is Rietveld 408576698