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

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

Issue 11194020: Creates GCP promo for ChromeOS users with no cloud printers. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge with trunk. Created 8 years, 2 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 0e2ea49339636872ae612e695565b30041d5a265..66a355c874374c1febade963a07508eb96879de7 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
@@ -162,6 +162,15 @@ void PrintPreviewDataSource::Init() {
AddLocalizedString("offline", IDS_PRINT_PREVIEW_OFFLINE);
AddLocalizedString("fedexTos", IDS_PRINT_PREVIEW_FEDEX_TOS);
AddLocalizedString("tosCheckboxLabel", IDS_PRINT_PREVIEW_TOS_CHECKBOX_LABEL);
+ AddLocalizedString("noDestsPromoTitle",
+ IDS_PRINT_PREVIEW_NO_DESTS_PROMO_TITLE);
+ AddLocalizedString("noDestsPromoBody", IDS_PRINT_PREVIEW_NO_DESTS_PROMO_BODY);
+ AddLocalizedString("noDestsPromoGcpDesc",
+ IDS_PRINT_PREVIEW_NO_DESTS_GCP_DESC);
+ AddLocalizedString("noDestsPromoAddPrinterButtonLabel",
+ IDS_PRINT_PREVIEW_NO_DESTS_PROMO_ADD_PRINTER_BUTTON_LABEL);
+ AddLocalizedString("noDestsPromoNotNowButtonLabel",
+ IDS_PRINT_PREVIEW_NO_DESTS_PROMO_NOT_NOW_BUTTON_LABEL);
set_json_path("strings.js");
add_resource_path("print_preview.js", IDR_PRINT_PREVIEW_JS);

Powered by Google App Engine
This is Rietveld 408576698